Bundled Themes: Import Twenty Twenty-Two, the new default theme for WordPress 5.9.
Twenty Twenty-Two arrives during an exciting time for WordPress themes. With the advent of Full Site Editing and Global Styles, themes are changing structurally and functionally to enable far more avenues for customization than users have come to expect in the past.
To take advantage of these new abilities, Twenty Twenty-Two has been designed to be the most flexible default theme ever created for WordPress.
Props sourav926, aristath, audrasjb, bgardner, briceduclos, poena, colorful-tones, dgwyer, dimadin, gregrickaby, ellenbauer, jffng, kafleg, karmatosed, kraftbj, kjellr, littlebigthing, onemaggie, matveb, mburridge, mtoensing, nickcernis, nielslange, williampatton, pgking, ribaricplusplus, scruffian, soean, utz119, youknowriad, desrosj, richtabor.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52081
git-svn-id: http://core.svn.wordpress.org/trunk@51673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-09 16:02:02 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Grid of posts with left sidebar block pattern
|
|
|
|
*/
|
|
|
|
return array(
|
|
|
|
'title' => __( 'Grid of posts with left sidebar', 'twentytwentytwo' ),
|
Twenty Twenty-Two: Sync updates from GitHub for Beta 3.
This commit syncs minor changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], [52164], [52222], [52283], and [52335]. The two main changes introduce global padding to site content while still allowing content to be full-width, and re-organize block patterns into Core's existing categories.
To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/da994d1fe50c016cd11ecf33da7de33f652184e4...88a8f2e3b4c6653e2deb5c29ae0b7e42b1f99433.
Props onemaggie, joen, youknowriad, scruffian, sabernhardt, kjellr.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52375
git-svn-id: http://core.svn.wordpress.org/trunk@51967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-12-14 12:11:01 -05:00
|
|
|
'categories' => array( 'pages' ),
|
Bundled Themes: Import Twenty Twenty-Two, the new default theme for WordPress 5.9.
Twenty Twenty-Two arrives during an exciting time for WordPress themes. With the advent of Full Site Editing and Global Styles, themes are changing structurally and functionally to enable far more avenues for customization than users have come to expect in the past.
To take advantage of these new abilities, Twenty Twenty-Two has been designed to be the most flexible default theme ever created for WordPress.
Props sourav926, aristath, audrasjb, bgardner, briceduclos, poena, colorful-tones, dgwyer, dimadin, gregrickaby, ellenbauer, jffng, kafleg, karmatosed, kraftbj, kjellr, littlebigthing, onemaggie, matveb, mburridge, mtoensing, nickcernis, nielslange, williampatton, pgking, ribaricplusplus, scruffian, soean, utz119, youknowriad, desrosj, richtabor.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52081
git-svn-id: http://core.svn.wordpress.org/trunk@51673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-09 16:02:02 -05:00
|
|
|
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)","bottom":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->
|
|
|
|
<div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
|
|
|
|
<div class="wp-block-columns alignwide" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"30%"} -->
|
|
|
|
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:site-title {"isLink":false,"style":{"spacing":{"margin":{"top":"0px","bottom":"1rem"}},"typography":{"fontStyle":"italic","fontWeight":"300","lineHeight":"1.1"}},"fontSize":"huge","fontFamily":"source-serif-pro"} /-->
|
|
|
|
|
|
|
|
<!-- wp:site-tagline {"fontSize":"small"} /-->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":32} -->
|
|
|
|
<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:separator {"color":"foreground","className":"is-style-wide"} -->
|
|
|
|
<hr class="wp-block-separator has-text-color has-background has-foreground-background-color has-foreground-color is-style-wide"/>
|
|
|
|
<!-- /wp:separator -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":16} -->
|
|
|
|
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:navigation {"orientation":"vertical"} -->
|
|
|
|
<!-- wp:page-list /-->
|
|
|
|
<!-- /wp:navigation -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":16} -->
|
|
|
|
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:separator {"color":"foreground","className":"is-style-wide"} -->
|
|
|
|
<hr class="wp-block-separator has-text-color has-background has-foreground-background-color has-foreground-color is-style-wide"/>
|
|
|
|
<!-- /wp:separator -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":16} -->
|
|
|
|
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":16} -->
|
|
|
|
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:site-logo {"width":60} /--></div>
|
|
|
|
<!-- /wp:column -->
|
|
|
|
|
|
|
|
<!-- wp:column {"width":"70%"} -->
|
|
|
|
<div class="wp-block-column" style="flex-basis:70%"><!-- wp:query {"query":{"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","sticky":"","inherit":false,"perPage":12},"displayLayout":{"type":"flex","columns":3},"layout":{"inherit":true}} -->
|
|
|
|
<div class="wp-block-query"><!-- wp:post-template -->
|
|
|
|
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"200px"} /-->
|
|
|
|
|
|
|
|
<!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
|
|
|
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small","fontFamily":"system-font"} /-->
|
|
|
|
|
|
|
|
<!-- wp:post-date {"format":"m.d.y","style":{"typography":{"fontStyle":"italic","fontWeight":"400"}},"fontSize":"small"} /--></div>
|
|
|
|
<!-- /wp:group -->
|
|
|
|
<!-- /wp:post-template -->
|
|
|
|
|
|
|
|
<!-- wp:separator {"className":"alignwide is-style-wide"} -->
|
|
|
|
<hr class="wp-block-separator alignwide is-style-wide"/>
|
|
|
|
<!-- /wp:separator -->
|
|
|
|
|
|
|
|
<!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
|
|
|
<!-- wp:query-pagination-previous {"fontSize":"small"} /-->
|
|
|
|
|
|
|
|
<!-- wp:query-pagination-numbers /-->
|
|
|
|
|
|
|
|
<!-- wp:query-pagination-next {"fontSize":"small"} /-->
|
|
|
|
<!-- /wp:query-pagination --></div>
|
|
|
|
<!-- /wp:query --></div>
|
|
|
|
<!-- /wp:column --></div>
|
|
|
|
<!-- /wp:columns --></div>
|
|
|
|
<!-- /wp:group -->',
|
|
|
|
);
|