diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php index ae11ca26b0..a26db9eba9 100644 --- a/wp-content/themes/twentyeleven/functions.php +++ b/wp-content/themes/twentyeleven/functions.php @@ -137,6 +137,9 @@ if ( ! function_exists( 'twentyeleven_setup' ) ) : // Grab Twenty Eleven's Ephemera widget. require get_template_directory() . '/inc/widgets.php'; + // Load block patterns. + require get_template_directory() . '/inc/block-patterns.php'; + // Add default posts and comments RSS feed links to . add_theme_support( 'automatic-feed-links' ); diff --git a/wp-content/themes/twentyeleven/images/patterns/pattern-flower.jpg b/wp-content/themes/twentyeleven/images/patterns/pattern-flower.jpg new file mode 100644 index 0000000000..54bdcc593d Binary files /dev/null and b/wp-content/themes/twentyeleven/images/patterns/pattern-flower.jpg differ diff --git a/wp-content/themes/twentyeleven/images/patterns/pattern-woman.jpg b/wp-content/themes/twentyeleven/images/patterns/pattern-woman.jpg new file mode 100644 index 0000000000..8af40f871a Binary files /dev/null and b/wp-content/themes/twentyeleven/images/patterns/pattern-woman.jpg differ diff --git a/wp-content/themes/twentyeleven/inc/block-patterns.php b/wp-content/themes/twentyeleven/inc/block-patterns.php new file mode 100644 index 0000000000..a1f7920fa9 --- /dev/null +++ b/wp-content/themes/twentyeleven/inc/block-patterns.php @@ -0,0 +1,160 @@ + esc_html__( 'Twenty Eleven', 'twentyeleven' ) ) + ); +} + +/** + * Register Block Patterns. + */ +if ( function_exists( 'register_block_pattern' ) ) { + + // Heading, and two columns featuring an image and dropcap. + register_block_pattern( + 'twentyeleven/large-text', + array( + 'title' => esc_html__( 'Image and Text Columns', 'twentyeleven' ), + 'categories' => array( 'twentyeleven' ), + 'viewportWidth' => 1000, + 'content' => ' +

' . esc_html__( 'A Bowl Full of Flowers', 'twentyeleven' ) . '

+ + +
+
+
' . esc_attr( 'A yellow flower against a dark background.', 'twentyeleven' ) . '
+ + +

' . esc_html__( 'This is just an example post to showcase the featured post section on the showcase page. Who doesn’t like flowers? I like flowers. Nullam hendrerit enim nunc. Vestibulum eget nulla magna! Fusce lobortis neque eu neque egestas tincidunt. Duis elementum consequat lorem, in eleifend justo mollis at. Nam quis adipiscing magna. Duis adipiscing est ac nibh feugiat rhoncus. Donec non lorem felis, eget commodo purus.', 'twentyeleven' ) . '

+
+ + +
+

' . esc_html__( 'Aenean euismod elementum nisi quis eleifend. Lectus quam id leo in vitae turpis. Etiam tempor orci eu lobortis elementum nibh. At quis risus sed vulputate odio ut enim blandit. Id ornare arcu odio ut. Blandit massa enim nec dui nunc mattis enim ut tellus. Fermentum iaculis eu non diam phasellus vestibulum. Magna fermentum iaculis eu non diam phasellus vestibulum lorem. Ullamcorper velit sed ullamcorper morbi tincidunt ornare massa. Cursus sit amet dictum sit amet justo donec. At tellus at urna condimentum mattis. Et ligula ullamcorper malesuada proin libero nunc. Ipsum dolor sit amet consectetur adipiscing elit duis tristique sollicitudin. Pellentesque diam volutpat commodo sed egestas. Mi proin sed libero enim sed faucibus.', 'twentyeleven' ) . '

+
+
+ ', + ) + ); + + // Two columns with a quote. + register_block_pattern( + 'twentyeleven/inline-quote', + array( + 'title' => esc_html__( 'Inline Quote', 'twentyeleven' ), + 'categories' => array( 'twentyeleven' ), + 'viewportWidth' => 1000, + 'content' => ' +
+
+

' . esc_html__( 'This is just an example post to showcase the featured post section on the showcase page. Who doesn’t like flowers? I like flowers. Nullam hendrerit enim nunc. Vestibulum eget nulla magna! Fusce lobortis neque eu neque egestas tincidunt. Duis elementum consequat lorem, in eleifend justo mollis at. Nam quis adipiscing magna. Duis adipiscing est ac nibh feugiat rhoncus. Donec non lorem felis, eget commodo purus.', 'twentyeleven' ) . '

+
+ + +
+
+ + +

' . esc_html__( '"There are always flowers for those who want to see them."', 'twentyeleven' ) . '

' . esc_html__( 'Henri Matisse', 'twentyeleven' ) . '
+
+
+ ', + ) + ); + + // Cover block with a call-to-action to follow the blog. + register_block_pattern( + 'twentyeleven/follow', + array( + 'title' => esc_html__( 'Follow Blog', 'twentyeleven' ), + 'categories' => array( 'twentyeleven' ), + 'viewportWidth' => 1000, + 'content' => ' +
+

' . esc_html__( 'Get In Touch', 'twentyeleven' ) . '

+ + +

' . esc_html__( 'Click to subscribe to this blog and receive notifications of new posts by email.', 'twentyeleven' ) . '

+ + +

' . esc_html__( 'Join 1,729 other followers', 'twentyeleven' ) . '

+ + + +
+ ', + ) + ); + + // Heading, and two columns with an image and text. + register_block_pattern( + 'twentyeleven/about', + array( + 'title' => esc_html__( 'About Me', 'twentyeleven' ), + 'categories' => array( 'twentyeleven' ), + 'viewportWidth' => 1000, + 'content' => ' +

' . esc_html__( 'About Me', 'twentyeleven' ) . '

+ +
+
+
' . esc_attr( 'Photo of a woman.', 'twentyeleven' ) . '
+
+ + +
+

' . esc_html__( 'This is a paragraph to tell about yourself.', 'twentyeleven' ) . ' ' . esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Nulla porttitor massa id neque aliquam vestibulum morbi blandit cursus. Feugiat nisl pretium fusce id velit. Cursus risus at ultrices mi. Pellentesque nec nam aliquam sem et tortor consequat. Est lorem ipsum dolor sit amet consectetur adipiscing. Nisi porta lorem mollis aliquam. Aenean euismod elementum nisi quis eleifend quam adipiscing vitae proin. Malesuada bibendum arcu vitae elementum curabitur vitae nunc sed. Quis hendrerit dolor magna eget est lorem ipsum dolor sit. Viverra vitae congue eu consequat.', 'twentyeleven' ) . '

+
+
+ ', + ) + ); + + // Two columns with headings and lists. + register_block_pattern( + 'twentyeleven/lists', + array( + 'title' => esc_html__( 'Two Columns of Lists', 'twentyeleven' ), + 'categories' => array( 'twentyeleven' ), + 'viewportWidth' => 1000, + 'content' => ' +
+
+

' . esc_html__( 'Books', 'twentyeleven' ) . '

+ + + +
+ + +
+

' . esc_html__( 'Talks', 'twentyeleven' ) . '

+ + + +
+
+ ', + ) + ); + +} diff --git a/wp-content/themes/twentyeleven/readme.txt b/wp-content/themes/twentyeleven/readme.txt index 61bf8648f4..aa8b923fc7 100644 --- a/wp-content/themes/twentyeleven/readme.txt +++ b/wp-content/themes/twentyeleven/readme.txt @@ -5,7 +5,7 @@ Tested up to: 5.8 Stable tag: 3.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, block-patterns == Description == The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats. @@ -41,6 +41,10 @@ HTML5 Shiv v3.7.0, Copyright 2014 Alexander Farkas Licenses: MIT/GPL2 Source: https://github.com/aFarkas/html5shiv +Images +"Yellow Flower Photo" by Bernard Spragg. CC0. https://stocksnap.io/photo/yellow-flower-GWT9JVALSV +"People Woman Photo" by Brooke Cagle. CC0. https://stocksnap.io/photo/people-woman-MU7G67710S + == Changelog == = 3.7 = diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index 5f2c4f4d52..7711a33f67 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -8,7 +8,7 @@ Version: 3.7 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, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +Tags: blog, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, block-patterns Text Domain: twentyeleven */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 4c0a7b8953..e6ccf4ffc1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51102'; +$wp_version = '5.8-alpha-51103'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.