Changeset 13310 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/render.php
- Timestamp:
- 03/12/2024 05:27:53 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/render.php
r13303 r13310 23 23 24 24 <?php 25 while ( have_posts() ) { 26 the_post(); 27 28 get_template_part( 'template-parts/plugin', 'index' ); 29 } 25 // NOTE: wp-block-group-is-layout-grid is here as `wp-block-query-is-layout-grid` is not supported yet by `wporg/link-wrapper`. 26 echo do_blocks( <<<BLOCKS 27 <!-- wp:query {"tagName":"div","className":"plugin-cards"} --> 28 <div class="wp-block-query plugin-cards"> 29 <!-- wp:post-template {"className":"is-style-cards-grid wp-block-group-is-layout-grid","layout":{"type":"grid","minimumColumnWidth":"48%"}} --> 30 <!-- wp:wporg/plugin-card /--> 31 <!-- /wp:post-template --> 32 </div> 33 <!-- /wp:query --> 34 BLOCKS 35 ); 30 36 31 37 if ( ! have_posts() ) {
Note: See TracChangeset
for help on using the changeset viewer.