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 22:02:02 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Poster with right sidebar block pattern
|
|
|
|
*/
|
|
|
|
return array(
|
|
|
|
'title' => __( 'Poster with right 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 18:11:01 +01: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 22:02:02 +01:00
|
|
|
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} -->
|
|
|
|
<div class="wp-block-group alignfull" style="padding-right:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":"5%"}}} -->
|
|
|
|
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%"} -->
|
|
|
|
<div class="wp-block-column" style="flex-basis:70%">
|
|
|
|
|
|
|
|
<!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"},"spacing":{"margin":{"bottom":"0px"}}}} -->
|
|
|
|
<h1 class="alignwide" style="font-size:clamp(3rem, 6vw, 4.5rem);margin-bottom:0px">' . wp_kses_post( __( '<em>Flutter</em>, a collection of bird-related ephemera', 'twentytwentytwo' ) ) . '</h1>
|
|
|
|
<!-- /wp:heading --></div>
|
|
|
|
<!-- /wp:column -->
|
|
|
|
|
|
|
|
<!-- wp:column {"width":""} -->
|
|
|
|
<div class="wp-block-column"></div>
|
|
|
|
<!-- /wp:column --></div>
|
|
|
|
<!-- /wp:columns -->
|
|
|
|
|
|
|
|
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":"5%"}}} -->
|
|
|
|
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"70%","style":{"spacing":{"padding":{"bottom":"32px"}}}} -->
|
|
|
|
<div class="wp-block-column" style="padding-bottom:32px;flex-basis:70%"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
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 18:11:01 +01:00
|
|
|
<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>
|
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 22:02:02 +01:00
|
|
|
<!-- /wp:image --></div>
|
|
|
|
<!-- /wp:column -->
|
|
|
|
|
|
|
|
<!-- wp:column {"width":""} -->
|
|
|
|
<div class="wp-block-column"><!-- wp:image {"width":100,"height":47,"sizeSlug":"full","linkDestination":"none"} -->
|
|
|
|
<figure class="wp-block-image size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/icon-binoculars.png" alt="' . esc_attr__( 'An icon representing binoculars.', 'twentytwentytwo' ) . '" width="100" height="47"/></figure>
|
|
|
|
<!-- /wp:image -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":16} -->
|
|
|
|
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
|
|
|
<h3 class="has-medium-font-size"><em>' . esc_html__( 'Date', 'twentytwentytwo' ) . '</em></h3>
|
|
|
|
<!-- /wp:heading -->
|
|
|
|
|
|
|
|
<!-- wp:paragraph -->
|
|
|
|
<p>' . esc_html__( 'February, 12 2021', 'twentytwentytwo' ) . '</p>
|
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":16} -->
|
|
|
|
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
|
|
|
<h3 class="has-medium-font-size"><em>' . esc_html__( 'Location', 'twentytwentytwo' ) . '</em></h3>
|
|
|
|
<!-- /wp:heading -->
|
|
|
|
|
|
|
|
<!-- wp:paragraph -->
|
|
|
|
<p>' . wp_kses_post( __( 'The Grand Theater<br>154 Eastern Avenue<br>Maryland NY, 12345', 'twentytwentytwo' ) ) . '</p>
|
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":16} -->
|
|
|
|
<div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer --></div>
|
|
|
|
<!-- /wp:column --></div>
|
|
|
|
<!-- /wp:columns --></div>
|
|
|
|
<!-- /wp:group -->',
|
|
|
|
);
|