You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.3 KiB
27 lines
1.3 KiB
<?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 -->',
|
|
);
|