diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index c2830f6ad6..f39296b1ba 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -678,6 +678,9 @@ require get_template_directory() . '/inc/template-tags.php'; // Add Customizer functionality. require get_template_directory() . '/inc/customizer.php'; +// Add support for block patterns. +require get_template_directory() . '/inc/block-patterns.php'; + /* * Add Featured Content functionality. * diff --git a/wp-content/themes/twentyfourteen/images/bridge.jpg b/wp-content/themes/twentyfourteen/images/bridge.jpg new file mode 100644 index 0000000000..d172bb2818 Binary files /dev/null and b/wp-content/themes/twentyfourteen/images/bridge.jpg differ diff --git a/wp-content/themes/twentyfourteen/images/clouds.jpg b/wp-content/themes/twentyfourteen/images/clouds.jpg new file mode 100644 index 0000000000..f753465d6f Binary files /dev/null and b/wp-content/themes/twentyfourteen/images/clouds.jpg differ diff --git a/wp-content/themes/twentyfourteen/images/person.jpg b/wp-content/themes/twentyfourteen/images/person.jpg new file mode 100644 index 0000000000..8dbad50819 Binary files /dev/null and b/wp-content/themes/twentyfourteen/images/person.jpg differ diff --git a/wp-content/themes/twentyfourteen/images/street.jpg b/wp-content/themes/twentyfourteen/images/street.jpg new file mode 100644 index 0000000000..71735a04b6 Binary files /dev/null and b/wp-content/themes/twentyfourteen/images/street.jpg differ diff --git a/wp-content/themes/twentyfourteen/images/sunset.jpg b/wp-content/themes/twentyfourteen/images/sunset.jpg new file mode 100644 index 0000000000..8c1b379fba Binary files /dev/null and b/wp-content/themes/twentyfourteen/images/sunset.jpg differ diff --git a/wp-content/themes/twentyfourteen/inc/block-patterns.php b/wp-content/themes/twentyfourteen/inc/block-patterns.php new file mode 100644 index 0000000000..13232e77da --- /dev/null +++ b/wp-content/themes/twentyfourteen/inc/block-patterns.php @@ -0,0 +1,73 @@ + esc_html__( 'Twenty Fourteen', 'twentyfourteen' ) ) + ); +} + +/** + * Register Block Patterns. + */ +if ( function_exists( 'register_block_pattern' ) ) { + + // Description + register_block_pattern( + 'twentyfourteen/about', + array( + 'title' => esc_html__( 'About', 'twentyfourteen' ), + 'categories' => array( 'twentyfourteen' ), + 'viewportWidth' => 1000, + 'content' => '
' . esc_attr__( 'A person standing in front of a lake', 'twentyfourteen' ) . '

' . esc_html__( 'Hello, my name is Joan. I am passionate about writing, travel, and photography.', 'twentyfourteen' ) . '

' . esc_html__( 'I’ve traveled to over 60 countries, and have made many friends along the way. I created this website to keep track of the memories I’ve made in my years of traveling.', 'twentyfourteen' ) . '

', + ) + ); + + // Description + register_block_pattern( + 'twentyfourteen/list', + array( + 'title' => esc_html__( 'List', 'twentyfourteen' ), + 'categories' => array( 'twentyfourteen' ), + 'viewportWidth' => 1000, + 'content' => '

' . esc_html__( '2001', 'twentyfourteen' ) . '

' . esc_html__( 'My first year of traveling. I visited China, Thailand, Japan, and India.', 'twentyfourteen' ) . '


' . esc_html__( '2012', 'twentyfourteen' ) . '

' . esc_html__( 'In 2012, I expanded my travels to Europe. I spent time in Poland, Germany, Italy, France, and Spain. ', 'twentyfourteen' ) . '


' . esc_html__( '2016', 'twentyfourteen' ) . '

' . esc_html__( 'This year was devoted entirely to the western hemisphere. I went on a month-long road trip through the U.S.A. and Canada, and also visited Mexico, Brazil, and Colombia.', 'twentyfourteen' ) . '

', + ) + ); + + // Heading and paragraph with four images. + register_block_pattern( + 'twentyfourteen/summary', + array( + 'title' => esc_html__( 'Summary', 'twentyfourteen' ), + 'categories' => array( 'twentyfourteen' ), + 'viewportWidth' => 1000, + 'content' => '

' . esc_html__( 'Traveling Nostalgia', 'twentyfourteen' ) . '

' . esc_html__( 'Here are some photos from my all-time favorite destinations.', 'twentyfourteen' ) . '

' . esc_html__( 'Photo of a sunset', 'twentyfourteen' ) . '
' . esc_html__( 'Sunset', 'twentyfourteen' ) . '
' . esc_attr__( 'Photo of a bridge', 'twentyfourteen' ) . '
' . esc_html__( 'Bridge', 'twentyfourteen' ) . '
' . esc_attr__( 'Photo of a streetscape', 'twentyfourteen' ) . '
' . esc_html__( 'Streetscape', 'twentyfourteen' ) . '
' . esc_attr__( 'Photo of a cloudy mountain', 'twentyfourteen' ) . '
' . esc_html__( 'Clouds', 'twentyfourteen' ) . '
', + ) + ); + + // Cover block with contact message. + register_block_pattern( + 'twentyfourteen/contact', + array( + 'title' => esc_html__( 'Contact', 'twentyfourteen' ), + 'categories' => array( 'twentyfourteen' ), + 'viewportWidth' => 1000, + 'content' => '

' . esc_html__( 'GOT A QUESTION?', 'twentyfourteen' ) . '

' . esc_html__( 'Don’t hesitate to reach out.', 'twentyfourteen' ) . '

', + ) + ); + +} diff --git a/wp-content/themes/twentyfourteen/readme.txt b/wp-content/themes/twentyfourteen/readme.txt index 67d6f8147d..35f090401d 100644 --- a/wp-content/themes/twentyfourteen/readme.txt +++ b/wp-content/themes/twentyfourteen/readme.txt @@ -5,7 +5,7 @@ Tested up to: 5.8 Stable tag: 3.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready +Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready, block-patterns == Description == In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier. @@ -48,6 +48,14 @@ Genericons icon font, Copyright 2013-2017 Automattic.com License: GNU GPL, Version 2 (or later) Source: http://www.genericons.com +Photos from Stocksnap, used in block patterns. +License: CC0 +Source: https://stocksnap.io/photo/fog-mountain-ZKN6UKFKEO + https://stocksnap.io/photo/ocean-beach-AEZJXB5LL5 + https://stocksnap.io/photo/architecture-building-BIL5D73PRC + https://stocksnap.io/photo/sea-ocean-G5GBM522C6 + https://stocksnap.io/photo/guy-man-7CFLDIWXK5 + == Changelog == = 3.1 = diff --git a/wp-content/themes/twentyfourteen/style.css b/wp-content/themes/twentyfourteen/style.css index fb71485765..890e8d3c26 100644 --- a/wp-content/themes/twentyfourteen/style.css +++ b/wp-content/themes/twentyfourteen/style.css @@ -8,7 +8,7 @@ Version: 3.1 Requires PHP: 5.2.4 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready +Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready, block-patterns Text Domain: twentyfourteen This theme, like WordPress, is licensed under the GPL. diff --git a/wp-includes/version.php b/wp-includes/version.php index 084d94b648..ecd7551e36 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51044'; +$wp_version = '5.8-alpha-51045'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.