[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Text-only blog, posts 4 * Slug: twentytwentyfive/template-query-loop-text-blog 5 * Inserter: no 6 * 7 * @package WordPress 8 * @subpackage Twenty_Twenty_Five 9 * @since Twenty Twenty-Five 1.0 10 */ 11 12 ?> 13 <!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"align":"wide","layout":{"type":"default"}} --> 14 <div class="wp-block-query alignwide"> 15 <!-- wp:group {"layout":{"type":"constrained"}} --> 16 <div class="wp-block-group"> 17 <!-- wp:query-no-results {"align":"wide","fontSize":"medium"} --> 18 <!-- wp:paragraph --> 19 <p><?php echo esc_html_x( 'Sorry, but nothing was found. Please try a search with different keywords.', 'Message explaining that there are no results returned from a search.', 'twentytwentyfive' ); ?></p> 20 <!-- /wp:paragraph --> 21 <!-- /wp:query-no-results --> 22 </div> 23 <!-- /wp:group --> 24 <!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} --> 25 <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}},"border":{"bottom":{"color":"var:preset|color|accent-6","width":"1px"},"top":{},"right":{},"left":{}}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center","justifyContent":"space-between"}} --> 26 <div class="wp-block-group alignfull" style="border-bottom-color:var(--wp--preset--color--accent-6);border-bottom-width:1px;padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"> 27 <!-- wp:post-title {"isLink":true,"fontSize":"large"} /--> 28 <!-- wp:post-date {"textAlign":"right","isLink":true,"fontSize":"small"} /--> 29 </div> 30 <!-- /wp:group --> 31 <!-- /wp:post-template --> 32 33 <!-- wp:spacer {"height":"var:preset|spacing|30"} --> 34 <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div> 35 <!-- /wp:spacer --> 36 37 <!-- wp:group {"align":"full","style":{"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} --> 38 <div class="wp-block-group alignfull" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);"> 39 <!-- wp:query-pagination {"align":"full","style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap"}} --> 40 <!-- wp:query-pagination-previous /--> 41 <!-- wp:query-pagination-numbers /--> 42 <!-- wp:query-pagination-next /--> 43 <!-- /wp:query-pagination --> 44 </div> 45 <!-- /wp:group --> 46 </div> 47 <!-- /wp:query -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |