diff --git a/wp-content/themes/twentyseventeen/assets/images/direct-light.jpg b/wp-content/themes/twentyseventeen/assets/images/direct-light.jpg new file mode 100644 index 0000000000..a3255791e7 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/images/direct-light.jpg differ diff --git a/wp-content/themes/twentyseventeen/assets/images/stripes.jpg b/wp-content/themes/twentyseventeen/assets/images/stripes.jpg new file mode 100644 index 0000000000..26e3b6d10c Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/images/stripes.jpg differ diff --git a/wp-content/themes/twentyseventeen/assets/images/white-border.jpg b/wp-content/themes/twentyseventeen/assets/images/white-border.jpg new file mode 100644 index 0000000000..a1b11d77cd Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/images/white-border.jpg differ diff --git a/wp-content/themes/twentyseventeen/functions.php b/wp-content/themes/twentyseventeen/functions.php index 16c318d183..ae293774ec 100644 --- a/wp-content/themes/twentyseventeen/functions.php +++ b/wp-content/themes/twentyseventeen/functions.php @@ -44,6 +44,11 @@ function twentyseventeen_setup() { */ add_theme_support( 'title-tag' ); + /* + * Enables custom line height for blocks + */ + add_theme_support( 'custom-line-height' ); + /* * Enable support for Post Thumbnails on posts and pages. * @@ -664,3 +669,8 @@ require get_parent_theme_file_path( '/inc/customizer.php' ); * SVG icons functions and filters. */ require get_parent_theme_file_path( '/inc/icon-functions.php' ); + +/** + * Block Patterns. + */ +require get_template_directory() . '/inc/block-patterns.php'; diff --git a/wp-content/themes/twentyseventeen/inc/block-patterns.php b/wp-content/themes/twentyseventeen/inc/block-patterns.php new file mode 100644 index 0000000000..b86c10eef0 --- /dev/null +++ b/wp-content/themes/twentyseventeen/inc/block-patterns.php @@ -0,0 +1,199 @@ + __( 'Twenty Seventeen', 'twentyseventeen' ) ) + ); +} + +/** + * Register Block Patterns. + */ +if ( function_exists( 'register_block_pattern' ) ) { + register_block_pattern( + 'twentyseventeen/large-heading-with-button', + array( + 'title' => __( 'Large Heading with Button', 'twentyseventeen' ), + 'categories' => array( 'twentyseventeen' ), + 'content' => ' +

' . __( 'Attract Leads with Marketing Campaigns that Work', 'twentyseventeen' ) . '

+ + + +
+
' . __( 'Our Services', 'twentyseventeen' ) . '
+
+ ', + ) + ); + + register_block_pattern( + 'twentyseventeen/images-with-text-and-link', + array( + 'title' => __( 'Images with Text and Link', 'twentyseventeen' ), + 'categories' => array( 'twentyseventeen' ), + 'content' => ' + + + +
+
+ +
' . __( 'Black Stripes', 'twentyseventeen' ) . '
+ + +

' . __( 'Branding', 'twentyseventeen' ) . '

+ + +

' . __( 'Communicate your purpose and goals with a beautiful logo that encapsulates your business.', 'twentyseventeen' ) . '

+ + +

' . __( 'See Case Study', 'twentyseventeen' ) . ' →

+
+ + +
+ + + +
' . __( 'White border', 'twentyseventeen' ) . '
+ + +

' . __( 'Web Design', 'twentyseventeen' ) . '

+ + +

' . __( 'Need a website? We've got you covered. Our design team will create a stunning design to transform your brand.', 'twentyseventeen' ) . '

+ + +

' . __( 'See Case Study', 'twentyseventeen' ) . ' →

+
+
+ ', + ) + ); + + register_block_pattern( + 'twentyseventeen/images-with-link', + array( + 'title' => __( 'Images with Link', 'twentyseventeen' ), + 'categories' => array( 'twentyseventeen' ), + 'content' => ' + + + +
+
+
+ +
' . __( 'Black Stripes', 'twentyseventeen' ) . '
+ + +

' . __( 'Branding', 'twentyseventeen' ) . '

+ + +

' . __( 'See Case Study', 'twentyseventeen' ) . ' →

+
+
+ + +
+
+ +
' . __( 'White border', 'twentyseventeen' ) . '
+ + +

' . __( 'Design', 'twentyseventeen' ) . '

+ + +

' . __( 'See Case Study', 'twentyseventeen' ) . ' →

+
+
+ + +
+
+ +
' . __( 'Direct Light', 'twentyseventeen' ) . '
+ + +

' . __( 'Strategy', 'twentyseventeen' ) . '

+ + +

' . __( 'See Case Study' ) . ' →

+
+
+
+ + + + ', + ) + ); + + register_block_pattern( + 'twentyseventeen/services', + array( + 'title' => __( 'Services', 'twentyseventeen' ), + 'categories' => array( 'twentyseventeen' ), + 'content' => ' + + + + +

' . __( 'Our Services', 'twentyseventeen' ) . '

+ + + +
+
+ +

' . __( 'Branding', 'twentyseventeen' ) . ' →
' . __( 'Web Design', 'twentyseventeen' ) . ' →
' . __( 'Web Development', 'twentyseventeen' ) . ' →

+ +
+ + + +
+ +

' . __( 'Content Strategy', 'twentyseventeen' ) . ' →
' . __( 'Marketing & SEO', 'twentyseventeen' ) . ' →
' . __( 'Video Production', 'twentyseventeen' ) . ' →

+
+
+ + + + + ', + ) + ); + + register_block_pattern( + 'twentyseventeen/contact-us', + array( + 'title' => __( 'Contact Us', 'twentyseventeen' ), + 'categories' => array( 'twentyseventeen' ), + 'content' => ' +
+

' . __( 'We are proud to serve outstanding clients.', 'twentyseventeen' ) . '

+ + + + +
+ ', + ) + ); +} diff --git a/wp-content/themes/twentyseventeen/readme.txt b/wp-content/themes/twentyseventeen/readme.txt index 99ccec53a9..2f5ae4adb3 100644 --- a/wp-content/themes/twentyseventeen/readme.txt +++ b/wp-content/themes/twentyseventeen/readme.txt @@ -4,7 +4,7 @@ Tested up to: 5.6 Version: 2.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready +Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns == Description == @@ -57,6 +57,15 @@ Bundled header image, Copyright Alvin Engler License: CC0 1.0 Universal (CC0 1.0) Source: https://unsplash.com/@englr?photo=bIhpiQA009k +Bundled block pattern images, Copyright Solo Shutter +License: CC0 1.0 Universal (CC0 1.0) +Source: https://stocksnap.io/photo/striped-lines-BTNYMDDCBW + https://stocksnap.io/photo/striped-lines-5XWOPSWPWX + +Bundled block pattern image, Copyright Seacoast Sage +License: CC0 1.0 Universal (CC0 1.0) +Source: https://stocksnap.io/photo/striped-fabric-9CBVWF2CDU + == Changelog == = 2.4 = diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index 6c379b5c04..0482164b32 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -10,7 +10,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 Text Domain: twentyseventeen -Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready +Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. diff --git a/wp-includes/version.php b/wp-includes/version.php index 073033b85d..8a658e265b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta3-49583'; +$wp_version = '5.6-beta3-49584'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.