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
|
|
|
|
/**
|
|
|
|
* Video with header and details block pattern
|
|
|
|
*/
|
|
|
|
return array(
|
|
|
|
'title' => __( 'Video with header and details', '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( 'featured', 'columns' ),
|
Twenty Twenty-Two: Sync updates from GitHub for RC 2.
This commit syncs changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], and [52430]. It includes fixes to the theme's spacing and adds a search template.
To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/8564fd281f453c52a1b5bf681e55bd720c0da709...f0346e1ad24b6dd5fe37b7d82bd88b0e9e3fdf22.
Props richtabor, kjellr, danieldudzic, scruffian.
Built from https://develop.svn.wordpress.org/trunk@52555
git-svn-id: http://core.svn.wordpress.org/trunk@52145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-11 10:58:02 -05:00
|
|
|
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"backgroundColor":"foreground","textColor":"secondary"} -->
|
|
|
|
<div class="wp-block-group alignfull has-secondary-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:group {"align":"full","layout":{"inherit":true}} -->
|
Twenty Twenty-Two: Sync updates from GitHub for RC 1.
This commit syncs changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], and [52392].
To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/2ce387178fd74986099db02cfe590daf53f80de8...8564fd281f453c52a1b5bf681e55bd720c0da709.
This changeset also deletes three unused files. These were removed from the dev repo, but never removed from core.
Props richtabor, kjellr.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52430
git-svn-id: http://core.svn.wordpress.org/trunk@52022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-01-03 15:26:04 -05:00
|
|
|
<div class="wp-block-group alignfull"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} -->
|
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
|
|
|
<h1 class="alignwide" id="warble-a-film-about-hobbyist-bird-watchers-1" style="font-size:clamp(3rem, 6vw, 4.5rem)">' . wp_kses_post( __( '<em>Warble</em>, a film about <br>hobbyist bird watchers.', 'twentytwentytwo' ) ) . '</h1>
|
|
|
|
<!-- /wp:heading -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":32} -->
|
|
|
|
<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:video {"align":"wide"} -->
|
|
|
|
<figure class="wp-block-video alignwide"><video controls src="' . esc_url( get_template_directory_uri() ) . '/assets/videos/birds.mp4"></video></figure>
|
|
|
|
<!-- /wp:video -->
|
|
|
|
|
|
|
|
<!-- wp:spacer {"height":32} -->
|
|
|
|
<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
|
|
|
|
<!-- /wp:spacer -->
|
|
|
|
|
|
|
|
<!-- wp:columns {"align":"wide"} -->
|
|
|
|
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"50%"} -->
|
|
|
|
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:paragraph -->
|
|
|
|
<p><strong>' . esc_html__( 'Featuring', 'twentytwentytwo' ) . '</strong></p>
|
|
|
|
<!-- /wp:paragraph --></div>
|
|
|
|
<!-- /wp:column -->
|
|
|
|
|
|
|
|
<!-- wp:column -->
|
|
|
|
<div class="wp-block-column"><!-- wp:paragraph -->
|
|
|
|
<p>' . wp_kses_post( __( 'Jesús Rodriguez<br>Doug Stilton<br>Emery Driscoll<br>Megan Perry<br>Rowan Price', 'twentytwentytwo' ) ) . '</p>
|
|
|
|
<!-- /wp:paragraph --></div>
|
|
|
|
<!-- /wp:column -->
|
|
|
|
|
|
|
|
<!-- wp:column -->
|
|
|
|
<div class="wp-block-column"><!-- wp:paragraph -->
|
|
|
|
<p>' . wp_kses_post( __( 'Angelo Tso<br>Edward Stilton<br>Amy Jensen<br>Boston Bell<br>Shay Ford', 'twentytwentytwo' ) ) . '</p>
|
|
|
|
<!-- /wp:paragraph --></div>
|
|
|
|
<!-- /wp:column --></div>
|
|
|
|
<!-- /wp:columns --></div>
|
|
|
|
<!-- /wp:group --></div>
|
|
|
|
<!-- /wp:group -->',
|
|
|
|
);
|