Changeset 223031 for twentytwentytwo
- Timestamp:
- 04/02/2024 08:11:32 PM (20 months ago)
- Location:
- twentytwentytwo/1.7
- Files:
-
- 29 edited
- 1 copied
-
. (copied) (copied from twentytwentytwo/1.6)
-
assets/images/bird-on-black.jpg (modified) (previous)
-
assets/images/bird-on-gray.jpg (modified) (previous)
-
assets/images/bird-on-green.jpg (modified) (previous)
-
assets/images/bird-on-salmon.jpg (modified) (previous)
-
assets/images/ducks.jpg (modified) (previous)
-
assets/images/flight-path-on-gray-a.jpg (modified) (previous)
-
assets/images/flight-path-on-gray-b.jpg (modified) (previous)
-
assets/images/flight-path-on-gray-c.jpg (modified) (previous)
-
assets/images/flight-path-on-salmon.jpg (modified) (previous)
-
assets/images/icon-bird.jpg (modified) (previous)
-
inc/block-patterns.php (modified) (1 diff)
-
inc/patterns/page-about-large-image-and-buttons.php (modified) (1 diff)
-
inc/patterns/page-about-links-dark.php (modified) (1 diff)
-
inc/patterns/page-about-links.php (modified) (1 diff)
-
inc/patterns/page-about-media-left.php (modified) (1 diff)
-
inc/patterns/page-about-media-right.php (modified) (1 diff)
-
inc/patterns/page-about-simple-dark.php (modified) (1 diff)
-
inc/patterns/page-about-solid-color.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-layout-two-columns.php (modified) (1 diff)
-
inc/patterns/page-sidebar-blog-posts-right.php (modified) (1 diff)
-
inc/patterns/page-sidebar-blog-posts.php (modified) (1 diff)
-
inc/patterns/page-sidebar-grid-posts.php (modified) (1 diff)
-
inc/patterns/page-sidebar-poster.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
screenshot.png (modified) (previous)
-
style.css (modified) (1 diff)
-
theme.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
twentytwentytwo/1.7/inc/block-patterns.php
r168451 r223031 15 15 function twentytwentytwo_register_block_patterns() { 16 16 $block_pattern_categories = array( 17 'featured' => array( 'label' => __( 'Featured', 'twentytwentytwo' ) ),18 'footer' => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ),19 'header' => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ),20 'query' => array( 'label' => __( 'Query', 'twentytwentytwo' ) ),21 ' pages'=> array( 'label' => __( 'Pages', 'twentytwentytwo' ) ),17 'featured' => array( 'label' => __( 'Featured', 'twentytwentytwo' ) ), 18 'footer' => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ), 19 'header' => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ), 20 'query' => array( 'label' => __( 'Query', 'twentytwentytwo' ) ), 21 'twentytwentytwo_pages' => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ), 22 22 ); 23 23 -
twentytwentytwo/1.7/inc/patterns/page-about-large-image-and-buttons.php
r207578 r223031 5 5 return array( 6 6 'title' => __( 'About page with large image and buttons', 'twentytwentytwo' ), 7 'categories' => array( ' pages', 'buttons' ),7 'categories' => array( 'twentytwentytwo_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 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"} --> -
twentytwentytwo/1.7/inc/patterns/page-about-links-dark.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'About page links (dark)', 'twentytwentytwo' ), 7 'categories' => array( ' pages', 'buttons' ),7 'categories' => array( 'twentytwentytwo_pages', 'buttons' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"10rem","bottom":"10rem"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":false,"contentSize":"400px"}} --> 9 9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:10rem;padding-bottom:10rem;"><!-- wp:group --> -
twentytwentytwo/1.7/inc/patterns/page-about-links.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'About page links', 'twentytwentytwo' ), 7 'categories' => array( ' pages', 'buttons' ),7 'categories' => array( 'twentytwentytwo_pages', 'buttons' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"10rem","bottom":"10rem"}}},"layout":{"inherit":false,"contentSize":"400px"}} --> 9 9 <div class="wp-block-group alignfull" style="padding-top:10rem;padding-bottom:10rem;"><!-- wp:image {"align":"center","width":100,"height":100,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} --> -
twentytwentytwo/1.7/inc/patterns/page-about-media-left.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'About page with media on the left', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 8 8 'content' => '<!-- wp:media-text {"align":"full","mediaType":"image","imageFill":true,"focalPoint":{"x":"0.63","y":"0.16"},"backgroundColor":"foreground","className":"alignfull is-image-fill has-background-color has-text-color has-background has-link-color"} --> 9 9 <div class="wp-block-media-text alignfull is-stacked-on-mobile is-image-fill has-background-color has-text-color has-background has-link-color has-foreground-background-color has-background"><figure class="wp-block-media-text__media" style="background-image:url(' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg);background-position:63% 16%"><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><div class="wp-block-media-text__content"><!-- wp:spacer {"height":32} --> -
twentytwentytwo/1.7/inc/patterns/page-about-media-right.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'About page with media on the right', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 8 8 'content' => '<!-- wp:media-text {"align":"full","mediaPosition":"right","mediaLink":"' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-black.jpg","mediaType":"image","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background"} --> 9 9 <div class="wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile has-background-color has-foreground-background-color has-text-color has-background has-link-color"><figure class="wp-block-media-text__media"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-black.jpg" alt="' . esc_attr__( 'An image of a bird flying', 'twentytwentytwo' ) . '"/></figure><div class="wp-block-media-text__content"><!-- wp:spacer {"height":32} --> -
twentytwentytwo/1.7/inc/patterns/page-about-simple-dark.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'Simple dark about page', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 8 8 'content' => '<!-- wp:cover {"overlayColor":"foreground","minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 8vw)","right":"max(1.25rem, 8vw)","bottom":"max(1.25rem, 8vw)","left":"max(1.25rem, 8vw)"}}}} --> 9 9 <div class="wp-block-cover alignfull has-foreground-background-color has-background-dim" style="padding-top:max(1.25rem, 8vw);padding-right:max(1.25rem, 8vw);padding-bottom:max(1.25rem, 8vw);padding-left:max(1.25rem, 8vw);min-height:100vh"><div class="wp-block-cover__inner-container"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"},"overlayMenu":"always"} --> -
twentytwentytwo/1.7/inc/patterns/page-about-solid-color.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'About page on solid color background', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"1.25rem","right":"1.25rem","bottom":"1.25rem","left":"1.25rem"}}}} --> 9 9 <div class="wp-block-group alignfull" style="padding-top:1.25rem;padding-right:1.25rem;padding-bottom:1.25rem;padding-left:1.25rem"><!-- wp:cover {"overlayColor":"secondary","minHeight":80,"minHeightUnit":"vh","isDark":false,"align":"full"} --> -
twentytwentytwo/1.7/inc/patterns/page-layout-image-and-text.php
r207578 r223031 5 5 return array( 6 6 'title' => __( 'Page layout with image and text', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"2rem"}}},"layout":{"inherit":true}} --> 9 9 <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:2rem"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 8vw, 7.5rem)","lineHeight":"1.15","fontWeight":"300"}}} --> -
twentytwentytwo/1.7/inc/patterns/page-layout-image-text-and-video.php
r207578 r223031 5 5 return array( 6 6 'title' => __( 'Page layout with image, text and video', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"backgroundColor":"primary","textColor":"background"} --> 9 9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:group {"layout":{"inherit":true}} --> -
twentytwentytwo/1.7/inc/patterns/page-layout-two-columns.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'Page layout with two columns', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"inherit":true}} --> 9 9 <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem);"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 15vw, 12.5rem)","lineHeight":"1","fontWeight":"200"}}} --> -
twentytwentytwo/1.7/inc/patterns/page-sidebar-blog-posts-right.php
r207578 r223031 5 5 return array( 6 6 'title' => __( 'Blog posts with right sidebar', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 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 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:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"2rem","top":"0px","right":"0px","left":"0px"}}},"layout":{"type":"flex","justifyContent":"space-between"}} --> -
twentytwentytwo/1.7/inc/patterns/page-sidebar-blog-posts.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'Blog posts with left sidebar', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 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 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:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"5%"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary"} --> -
twentytwentytwo/1.7/inc/patterns/page-sidebar-grid-posts.php
r168451 r223031 5 5 return array( 6 6 'title' => __( 'Grid of posts with left sidebar', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 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 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:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} --> -
twentytwentytwo/1.7/inc/patterns/page-sidebar-poster.php
r207578 r223031 5 5 return array( 6 6 'title' => __( 'Poster with right sidebar', 'twentytwentytwo' ), 7 'categories' => array( ' pages' ),7 'categories' => array( 'twentytwentytwo_pages' ), 8 8 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> 9 9 <div class="wp-block-group alignfull"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":"5%"}}} --> -
twentytwentytwo/1.7/readme.txt
r207578 r223031 2 2 Contributors: wordpressdotorg 3 3 Requires at least: 5.9 4 Tested up to: 6. 44 Tested up to: 6.5 5 5 Requires PHP: 5.6 6 Stable tag: 1. 66 Stable tag: 1.7 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.7 = 21 * Released: April 2, 2024 22 23 https://wordpress.org/documentation/article/twenty-twenty-two-changelog/#Version_1.7 19 24 20 25 = 1.6 = … … 55 60 == Copyright == 56 61 57 Twenty Twenty-Two WordPress Theme, 2021-202 3WordPress.org62 Twenty Twenty-Two WordPress Theme, 2021-2024 WordPress.org 58 63 Twenty Twenty-Two is distributed under the terms of the GNU GPL. 59 64 -
twentytwentytwo/1.7/style.css
r207578 r223031 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. 48 Tested up to: 6.5 9 9 Requires PHP: 5.6 10 Version: 1. 610 Version: 1.7 11 11 License: GNU General Public License v2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
twentytwentytwo/1.7/theme.json
r168451 r223031 1 1 { 2 "$schema": "https://schemas.wp.org/trunk/theme.json", 2 3 "version": 2, 3 4 "customTemplates": [
Note: See TracChangeset
for help on using the changeset viewer.