mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-29 23:09:44 +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
27 lines
1.3 KiB
PHP
27 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* Large post titles block pattern
|
|
*/
|
|
return array(
|
|
'title' => __( 'Large post titles', 'twentytwentytwo' ),
|
|
'categories' => array( 'query' ),
|
|
'blockTypes' => array( 'core/query' ),
|
|
'content' => '<!-- wp:query {"query":{"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"perPage":8},"align":"wide"} -->
|
|
<div class="wp-block-query alignwide"><!-- wp:post-template -->
|
|
<!-- wp:columns -->
|
|
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"top","width":"4em"} -->
|
|
<div class="wp-block-column is-vertically-aligned-top" style="flex-basis:4em"><!-- wp:post-date {"format":"M j","fontSize":"small"} /--></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column {"verticalAlignment":"center","width":""} -->
|
|
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontSize":"clamp(2.75rem, 6vw, 3.25rem)"}}} /--></div>
|
|
<!-- /wp:column --></div>
|
|
<!-- /wp:columns -->
|
|
|
|
<!-- wp:separator {"className":"is-style-wide"} -->
|
|
<hr class="wp-block-separator is-style-wide"/>
|
|
<!-- /wp:separator -->
|
|
<!-- /wp:post-template --></div>
|
|
<!-- /wp:query -->',
|
|
);
|