Changeset 207578 for twentytwentytwo
- Timestamp:
- 11/07/2023 11:51:19 PM (2 years ago)
- Location:
- twentytwentytwo/1.6
- Files:
-
- 17 edited
- 1 copied
-
. (copied) (copied from twentytwentytwo/1.5)
-
functions.php (modified) (2 diffs)
-
inc/patterns/general-divider-dark.php (modified) (1 diff)
-
inc/patterns/general-divider-light.php (modified) (1 diff)
-
inc/patterns/general-two-images-text.php (modified) (1 diff)
-
inc/patterns/general-wide-image-intro-buttons.php (modified) (1 diff)
-
inc/patterns/header-large-dark.php (modified) (1 diff)
-
inc/patterns/header-small-dark.php (modified) (1 diff)
-
inc/patterns/hidden-bird.php (modified) (1 diff)
-
inc/patterns/hidden-heading-and-bird.php (modified) (1 diff)
-
inc/patterns/page-about-large-image-and-buttons.php (modified) (1 diff)
-
inc/patterns/page-layout-image-and-text.php (modified) (1 diff)
-
inc/patterns/page-layout-image-text-and-video.php (modified) (1 diff)
-
inc/patterns/page-sidebar-blog-posts-right.php (modified) (1 diff)
-
inc/patterns/page-sidebar-poster.php (modified) (1 diff)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
twentytwentytwo/1.6/functions.php
r168451 r207578 27 27 // Enqueue editor styles. 28 28 add_editor_style( 'style.css' ); 29 30 29 } 31 30 … … 57 56 // Enqueue theme stylesheet. 58 57 wp_enqueue_style( 'twentytwentytwo-style' ); 59 60 58 } 61 59 -
twentytwentytwo/1.6/inc/patterns/general-divider-dark.php
r168451 r207578 7 7 'categories' => array( 'featured' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"1rem","right":"0px","bottom":"1rem","left":"0px"}}},"backgroundColor":"primary"} --> 9 <div class="wp-block-group alignfull has-primary-background-color has-background" style="padding-top:1rem;padding-right:0px;padding-bottom:1rem;padding-left:0px"><!-- wp:image {"id":473," sizeSlug":"full","linkDestination":"none"} -->10 <figure class="wp-block-image size-full "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/divider-white.png" alt="" class="wp-image-473"/></figure>9 <div class="wp-block-group alignfull has-primary-background-color has-background" style="padding-top:1rem;padding-right:0px;padding-bottom:1rem;padding-left:0px"><!-- wp:image {"id":473,"width":3001,"height":246,"sizeSlug":"full","linkDestination":"none"} --> 10 <figure class="wp-block-image size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/divider-white.png" alt="" class="wp-image-473" width="3001" height="246"/></figure> 11 11 <!-- /wp:image --></div> 12 12 <!-- /wp:group -->', -
twentytwentytwo/1.6/inc/patterns/general-divider-light.php
r168451 r207578 7 7 'categories' => array( 'featured' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"1rem","right":"0px","bottom":"1rem","left":"0px"}}},"backgroundColor":"secondary"} --> 9 <div class="wp-block-group alignfull has-secondary-background-color has-background" style="padding-top:1rem;padding-right:0px;padding-bottom:1rem;padding-left:0px"><!-- wp:image {"id":473," sizeSlug":"full","linkDestination":"none"} -->10 <figure class="wp-block-image size-full "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/divider-black.png" alt="" class="wp-image-473"/></figure>9 <div class="wp-block-group alignfull has-secondary-background-color has-background" style="padding-top:1rem;padding-right:0px;padding-bottom:1rem;padding-left:0px"><!-- wp:image {"id":473,"width":3001,"height":246,"sizeSlug":"full","linkDestination":"none"} --> 10 <figure class="wp-block-image size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/divider-black.png" alt="" class="wp-image-473" width="3001" height="246"/></figure> 11 11 <!-- /wp:image --></div> 12 12 <!-- /wp:group -->', -
twentytwentytwo/1.6/inc/patterns/general-two-images-text.php
r168451 r207578 8 8 'content' => '<!-- wp:columns {"align":"wide"} --> 9 9 <div class="wp-block-columns alignwide"><!-- wp:column {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}}} --> 10 <div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {" sizeSlug":"large"} -->11 <figure class="wp-block-image size-large "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Illustration of a bird sitting on a branch.', 'twentytwentytwo' ) . '"/></figure>10 <div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {"width":984,"height":1426,"sizeSlug":"large"} --> 11 <figure class="wp-block-image size-large is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Illustration of a bird sitting on a branch.', 'twentytwentytwo' ) . '" width="984" height="1426"/></figure> 12 12 <!-- /wp:image --></div> 13 13 <!-- /wp:column --> 14 14 15 15 <!-- wp:column {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}}} --> 16 <div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {" sizeSlug":"large"} -->17 <figure class="wp-block-image size-large "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-green.jpg" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>16 <div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {"width":984,"height":1426,"sizeSlug":"large"} --> 17 <figure class="wp-block-image size-large is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-green.jpg" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '" width="984" height="1426"/></figure> 18 18 <!-- /wp:image --> 19 19 -
twentytwentytwo/1.6/inc/patterns/general-wide-image-intro-buttons.php
r168451 r207578 7 7 'categories' => array( 'featured', 'columns' ), 8 8 'content' => '<!-- wp:group {"align":"wide"} --> 9 <div class="wp-block-group alignwide"><!-- wp:image {" sizeSlug":"large"} -->10 <figure class="wp-block-image size-large "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-a.jpg" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>9 <div class="wp-block-group alignwide"><!-- wp:image {"width":2100,"height":994,"sizeSlug":"large"} --> 10 <figure class="wp-block-image size-large is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-a.jpg" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '" width="2100" height="994"/></figure> 11 11 <!-- /wp:image --> 12 12 -
twentytwentytwo/1.6/inc/patterns/header-large-dark.php
r168451 r207578 26 26 <!-- /wp:group --> 27 27 28 <!-- wp:image {"align":"full"," sizeSlug":"full","linkDestination":"none"} -->29 <figure class="wp-block-image alignfull size-full "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-c.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>28 <!-- wp:image {"align":"full","width":2400,"height":1020,"sizeSlug":"full","linkDestination":"none"} --> 29 <figure class="wp-block-image alignfull size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-c.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '" width="2400" height="1020"/></figure> 30 30 <!-- /wp:image --></div> 31 31 <!-- /wp:group --><!-- wp:spacer {"height":66} --> -
twentytwentytwo/1.6/inc/patterns/header-small-dark.php
r168451 r207578 22 22 <!-- /wp:group --> 23 23 24 <!-- wp:image {"align":"wide"," sizeSlug":"full","linkDestination":"none"} -->25 <figure class="wp-block-image alignwide size-full "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>24 <!-- wp:image {"align":"wide","width":2000,"height":474,"sizeSlug":"full","linkDestination":"none"} --> 25 <figure class="wp-block-image alignwide size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '" width="2000" height="474"/></figure> 26 26 <!-- /wp:image --></div> 27 27 <!-- /wp:group --> -
twentytwentytwo/1.6/inc/patterns/hidden-bird.php
r168451 r207578 9 9 'title' => __( 'Heading and bird image', 'twentytwentytwo' ), 10 10 'inserter' => false, 11 'content' => '<!-- wp:image {"align":"wide"," sizeSlug":"full","linkDestination":"none"} -->12 <figure class="wp-block-image alignwide size-full "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>11 'content' => '<!-- wp:image {"align":"wide","width":2000,"height":474,"sizeSlug":"full","linkDestination":"none"} --> 12 <figure class="wp-block-image alignwide size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '" width="2000" height="474"/></figure> 13 13 <!-- /wp:image -->', 14 14 ); -
twentytwentytwo/1.6/inc/patterns/hidden-heading-and-bird.php
r168451 r207578 16 16 <!-- /wp:group --> 17 17 18 <!-- wp:image {"align":"full"," sizeSlug":"full","linkDestination":"none"} -->19 <figure class="wp-block-image alignfull size-full "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-c.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>18 <!-- wp:image {"align":"full","width":2400,"height":1020,"sizeSlug":"full","linkDestination":"none"} --> 19 <figure class="wp-block-image alignfull size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-c.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '" width="2400" height="1020"/></figure> 20 20 <!-- /wp:image -->', 21 21 ); -
twentytwentytwo/1.6/inc/patterns/page-about-large-image-and-buttons.php
r168451 r207578 7 7 'categories' => array( 'pages', 'buttons' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"layout":{"inherit":true}} --> 9 <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:image {"align":"wide"," sizeSlug":"full","linkDestination":"none"} -->10 <figure class="wp-block-image alignwide size-full "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-b.jpg" alt=""/></figure>9 <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:image {"align":"wide","width":2100,"height":1260,"sizeSlug":"full","linkDestination":"none"} --> 10 <figure class="wp-block-image alignwide size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-gray-b.jpg" alt="" width="2100" height="1260"/></figure> 11 11 <!-- /wp:image --> 12 12 -
twentytwentytwo/1.6/inc/patterns/page-layout-image-and-text.php
r168451 r207578 12 12 <!-- /wp:group --> 13 13 14 <!-- wp:image {"align":"full"," style":{"color":{}}} -->15 <figure class="wp-block-image alignfull "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-b.png" alt="' . esc_attr_x( 'TBD', 'Short for to be determined', 'twentytwentytwo' ) . '"/></figure>14 <!-- wp:image {"align":"full","width":2400,"height":1800,"style":{"color":{}}} --> 15 <figure class="wp-block-image alignfull is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-b.png" alt="' . esc_attr_x( 'TBD', 'Short for to be determined', 'twentytwentytwo' ) . '" width="2400" height="1800"/></figure> 16 16 <!-- /wp:image --> 17 17 -
twentytwentytwo/1.6/inc/patterns/page-layout-image-text-and-video.php
r168451 r207578 39 39 <!-- /wp:group --> 40 40 41 <!-- wp:image {"align":"full"," style":{"color":{}}} -->42 <figure class="wp-block-image alignfull "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-a.png" alt="' . esc_attr__( 'An illustration of a bird in flight', 'twentytwentytwo' ) . '"/></figure>41 <!-- wp:image {"align":"full","width":2400,"height":1178,"style":{"color":{}}} --> 42 <figure class="wp-block-image alignfull is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-a.png" alt="' . esc_attr__( 'An illustration of a bird in flight', 'twentytwentytwo' ) . '" width="2400" height="1178"/></figure> 43 43 <!-- /wp:image --> 44 44 -
twentytwentytwo/1.6/inc/patterns/page-sidebar-blog-posts-right.php
r168451 r207578 55 55 56 56 <!-- wp:column {"width":"33.33%"} --> 57 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:image {" sizeSlug":"large","linkDestination":"none"} -->58 <figure class="wp-block-image size-large "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-salmon.jpg" alt="' . esc_attr__( 'Illustration of a flying bird.', 'twentytwentytwo' ) . '"/></figure>57 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:image {"width":768,"height":1160,"sizeSlug":"large","linkDestination":"none"} --> 58 <figure class="wp-block-image size-large is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-salmon.jpg" alt="' . esc_attr__( 'Illustration of a flying bird.', 'twentytwentytwo' ) . '" width="768" height="1160"/></figure> 59 59 <!-- /wp:image --> 60 60 -
twentytwentytwo/1.6/inc/patterns/page-sidebar-poster.php
r168451 r207578 23 23 <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":"5%"}}} --> 24 24 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%","style":{"spacing":{"padding":{"bottom":"32px"}}}} --> 25 <div class="wp-block-column" style="padding-bottom:32px;flex-basis:70%"><!-- wp:image {" sizeSlug":"full","linkDestination":"none"} -->26 <figure class="wp-block-image size-full "><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Image of a bird on a branch', 'twentytwentytwo' ) . '"/></figure>25 <div class="wp-block-column" style="padding-bottom:32px;flex-basis:70%"><!-- wp:image {"width":984,"height":1426,"sizeSlug":"full","linkDestination":"none"} --> 26 <figure class="wp-block-image size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Image of a bird on a branch', 'twentytwentytwo' ) . '" width="984" height="1426"/></figure> 27 27 <!-- /wp:image --></div> 28 28 <!-- /wp:column --> -
twentytwentytwo/1.6/index.php
r168451 r207578 3 3 // There is a core ticket discussing removing this requirement for block themes: 4 4 // https://core.trac.wordpress.org/ticket/54272. 5 -
twentytwentytwo/1.6/readme.txt
r206171 r207578 2 2 Contributors: wordpressdotorg 3 3 Requires at least: 5.9 4 Tested up to: 6. 34 Tested up to: 6.4 5 5 Requires PHP: 5.6 6 Stable tag: 1. 56 Stable tag: 1.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 17 17 18 18 == Changelog == 19 20 = 1.6 = 21 * Released: November 7, 2023 22 23 https://wordpress.org/documentation/article/twenty-twenty-two-changelog/#Version_1.6 19 24 20 25 = 1.5 = -
twentytwentytwo/1.6/style.css
r206171 r207578 6 6 Description: Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Site Editor features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours. 7 7 Requires at least: 5.9 8 Tested up to: 6. 38 Tested up to: 6.4 9 9 Requires PHP: 5.6 10 Version: 1. 510 Version: 1.6 11 11 License: GNU General Public License v2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.