mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 07:20:01 +01:00
9759353922
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], and [52375]. It updates the theme's font size presets and fixes an issue with query padding.
To view the full set of changes, visit 623a4d7982...d6cb56cce4
.
Props schlessera, williampatton, hellofromtonya, kjellr.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52392
git-svn-id: http://core.svn.wordpress.org/trunk@51984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
66 lines
3.4 KiB
PHP
66 lines
3.4 KiB
PHP
<?php
|
|
/**
|
|
* Poster with right sidebar block pattern
|
|
*/
|
|
return array(
|
|
'title' => __( 'Poster with right sidebar', 'twentytwentytwo' ),
|
|
'categories' => array( 'pages' ),
|
|
'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"} -->
|
|
<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>
|
|
<!-- /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":"large"} -->
|
|
<h3 class="has-large-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":"large"} -->
|
|
<h3 class="has-large-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 -->',
|
|
);
|