blog-posts.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Title: Blog posts
  4. * Slug: skatepark/blog-posts
  5. * Categories: featured, query
  6. */
  7. ?>
  8. <!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} -->
  9. <div class="wp-block-query alignwide"><!-- wp:post-template -->
  10. <!-- wp:group {"style":{"spacing":{"padding":{"top":"30px"}}},"layout":{"inherit":false}} -->
  11. <div class="wp-block-group" style="padding-top:30px">
  12. <!-- wp:group {"style":{"spacing":{"padding":{"bottom":"var( --wp--style--block-gap )"}}}} -->
  13. <div class="wp-block-group" style="padding-bottom:var( --wp--style--block-gap )"><!-- wp:separator {"className":"is-style-wide"} -->
  14. <hr class="wp-block-separator is-style-wide"/>
  15. <!-- /wp:separator --></div>
  16. <!-- /wp:group -->
  17. <!-- wp:post-featured-image {"isLink":true,"style":{"color":{"duotone":["#000","#B9FB9C"]}}} /-->
  18. <!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--normal)"},"spacing":{"margin":{"bottom":"calc( 0.5 * var(--wp--custom--gap--vertical) )"}}}} /-->
  19. <!-- wp:post-excerpt {"moreText":"<?php echo esc_html__( 'Continue reading', 'skatepark' ); ?>","style":{"spacing":{"margin":{"top":"calc( 0.5 * var(--wp--custom--gap--vertical) )","bottom":"calc( 0.5 * var(--wp--custom--gap--vertical) )"}}}} /-->
  20. <!-- wp:post-date {"style":{"typography":{"fontSize":"16px","fontWeight":"500"}},"isLink":true} /--></div>
  21. <!-- /wp:group -->
  22. <!-- /wp:post-template -->
  23. <!-- wp:query-pagination -->
  24. <!-- wp:query-pagination-previous /-->
  25. <!-- wp:query-pagination-next /-->
  26. <!-- /wp:query-pagination --></div>
  27. <!-- /wp:query -->