query-short.php 572 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Title: Query Short
  4. * Slug: gwp/query-short
  5. * Categories: posts
  6. * Block Types: core/post-conent, core/query, core/post-title
  7. *
  8. * @package gwp
  9. * @since 1.0.0
  10. */
  11. ?>
  12. <!-- wp:query {"query":{"perPage":5,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"type":"constrained"}} -->
  13. <div class="wp-block-query">
  14. <!-- wp:post-template -->
  15. <!-- wp:post-title {"level":1,"isLink":true,"fontSize":"small"} /-->
  16. <!-- /wp:post-template -->
  17. </div>
  18. <!-- /wp:query -->