blog-posts.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Blog posts.
  4. *
  5. * @package Skatepark
  6. */
  7. return array(
  8. 'title' => __( 'Blog posts', 'skatepark' ),
  9. 'categories' => array( 'skatepark' ),
  10. 'content' => '<!-- 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"} -->
  11. <div class="wp-block-query alignwide"><!-- wp:post-template -->
  12. <!-- wp:group {"style":{"spacing":{"padding":{"top":"30px"}}},"layout":{"inherit":false}} -->
  13. <div class="wp-block-group" style="padding-top:30px"><!-- wp:separator {"className":"is-style-wide"} -->
  14. <hr class="wp-block-separator is-style-wide"/>
  15. <!-- /wp:separator -->
  16. <!-- wp:post-featured-image {"isLink":true} /-->
  17. <!-- wp:post-title {"isLink":true,"fontSize":"normal"} /-->
  18. <!-- wp:post-excerpt {"moreText":"' . esc_html__( 'Continue reading', 'skatepark' ) . '"} /-->
  19. <!-- wp:post-date {"style":{"typography":{"fontSize":"16px","fontWeight":"500"}},"isLink":true} /--></div>
  20. <!-- /wp:group -->
  21. <!-- /wp:post-template -->
  22. <!-- wp:query-pagination -->
  23. <!-- wp:query-pagination-previous /-->
  24. <!-- wp:query-pagination-numbers /-->
  25. <!-- wp:query-pagination-next /-->
  26. <!-- /wp:query-pagination --></div>
  27. <!-- /wp:query -->',
  28. );