Changeset 13792 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/build/blocks/archive-page/render.php
- Timestamp:
- 06/10/2024 03:36:07 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/build/blocks/archive-page/render.php
r13691 r13792 10 10 } 11 11 12 $container_top_padding = '40';13 14 if ( 'favorites' == get_query_var( 'browse' ) ) {15 echo do_blocks( <<<BLOCKS16 <!-- wp:group {"align":"full","layout":{"type":"default"}} -->17 <div class="wp-block-group alignfull">18 <!-- wp:pattern {"slug":"wporg-plugins-2024/full-width-search"} /-->19 </div>20 <!-- /wp:group -->21 BLOCKS);22 23 $container_top_padding = '30';24 }25 26 12 // TODO: There's no block for this. 27 13 $archive_description = get_the_archive_description(); 28 14 29 15 echo do_blocks( <<<BLOCKS 30 <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing| $container_top_padding"}}},"layout":{"type":"default"}} -->31 <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing-- $container_top_padding)">16 <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"layout":{"type":"default"}} --> 17 <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40)"> 32 18 <!-- wp:template-part {"slug":"grid-controls"} /--> 33 19 <!-- wp:query-title {"type":"archive","fontFamily":"inter","style":{"typography":{"fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"bottom":"var:preset|spacing|10"}}},"fontSize":"heading-5"} /-->
Note: See TracChangeset
for help on using the changeset viewer.