query-short.php 923 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Title: Query Short
  4. * Slug: gwp/query-short
  5. * Categories: posts
  6. * Block Types: core/post-content, 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":false},"layout":{"type":"constrained"}} -->
  13. <div class="wp-block-query">
  14. <!-- wp:post-template -->
  15. <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"horizontal"}} -->
  16. <div class="wp-block-group">
  17. <!-- wp:post-title {"level":2,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontSize":"medium","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|tirtiary"}}}},"textColor":"tirtiary"} /-->
  18. </div>
  19. <!-- /wp:group -->
  20. <!-- /wp:post-template -->
  21. </div>
  22. <!-- /wp:query -->