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
|
|
|
|
/**
|
|
|
|
* Two images with text block pattern
|
|
|
|
*/
|
|
|
|
return array(
|
|
|
|
'title' => __( 'Two images with text', 'twentytwentytwo' ),
|
|
|
|
'categories' => array( 'twentytwentytwo-general' ),
|
|
|
|
'content' => '<!-- wp:columns {"align":"wide"} -->
|
|
|
|
<div class="wp-block-columns alignwide"><!-- wp:column {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}}} -->
|
|
|
|
<div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {"sizeSlug":"large"} -->
|
Twenty Twenty-Two: Sync updates from GitHub.
This commit syncs several changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], and [52164]. It includes improvements to the home page template, adding a filter for block patterns, pre-loading the web font, improvements and bug fixes to block patterns, and more. For a full list of changes, visit https://github.com/WordPress/twentytwentytwo/compare/e4f69d0b7ed93f73b33c5991430618d01b0e3cac...25d74deaa57ba49b5a64a8569e6dd9ebadbfb23c.
Props jeffpaul, richtabor, netweb, luminuu, melchoyce, beafealho, clucasrowlands, desrosj, flixos90, joen, otto42, saju4wordpress, westonruter, kjellr, poena.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52222
git-svn-id: http://core.svn.wordpress.org/trunk@51814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-19 15:13:59 -05:00
|
|
|
<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>
|
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
|
|
|
<!-- /wp:image --></div>
|
|
|
|
<!-- /wp:column -->
|
|
|
|
|
|
|
|
<!-- wp:column {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}}} -->
|
|
|
|
<div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {"sizeSlug":"large"} -->
|
|
|
|
<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>
|
|
|
|
<!-- /wp:image -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":30} -->
|
|
|
|
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:heading {"fontSize":"large"} -->
|
|
|
|
<h2 class="has-large-font-size" id="screening">' . esc_html__( 'SCREENING', 'twentytwentytwo' ) . '</h2>
|
|
|
|
<!-- /wp:heading -->
|
|
|
|
|
|
|
|
<!-- wp:paragraph -->
|
|
|
|
<p>' . wp_kses_post( __( 'May 14th, 2022 @ 7:00PM<br>The Vintagé Theater,<br>245 Arden Rd.<br>Gardenville, NH', 'twentytwentytwo' ) ) . '</p>
|
|
|
|
<!-- /wp:paragraph -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":8} -->
|
|
|
|
<div style="height:8px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":10} -->
|
|
|
|
<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:buttons -->
|
|
|
|
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"foreground"} -->
|
|
|
|
<div class="wp-block-button"><a class="wp-block-button__link has-foreground-background-color has-background">' . esc_html__( 'Buy Tickets', 'twentytwentytwo' ) . '</a></div>
|
|
|
|
<!-- /wp:button --></div>
|
|
|
|
<!-- /wp:buttons --></div>
|
|
|
|
<!-- /wp:column --></div>
|
|
|
|
<!-- /wp:columns -->',
|
|
|
|
);
|