123456789101112131415161718192021222324252627282930 |
- <?php
- /**
- * Title: Query
- * Slug: fuf/query
- * Categories: posts
- * Block Types: core/post-conent, core/query, core/post-title
- *
- * @package fuf
- * @since 1.0.0
- */
- ?>
- <!-- wp:query {"query":{"perPage":5,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"type":"constrained"}} -->
- <div class="wp-block-query">
- <!-- wp:post-template -->
- <!-- wp:post-title {"level":2,"isLink":true} /-->
- <!-- wp:pattern {"slug":"fuf/hidden-post-meta"} /-->
- <!-- wp:post-excerpt {"moreText":"Read more"} /-->
- <!-- wp:spacer {"height":"1rem"} -->
- <div style="height:1rem" aria-hidden="true" class="wp-block-spacer"></div>
- <!-- /wp:spacer -->
- <!-- /wp:post-template -->
- <!-- wp:query-no-results -->
- <!-- wp:paragraph --><p><?php esc_html_e( 'No results found.', 'fuf'); ?></p><!-- /wp:paragraph -->
- <!-- /wp:query-no-results -->
- <!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
- <!-- wp:query-pagination-previous /-->
- <!-- wp:query-pagination-next /-->
- <!-- /wp:query-pagination -->
- </div>
- <!-- /wp:query -->
|