posts-list.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Title: Posts list
  4. * Slug: vivre/posts-list
  5. * Inserter: no
  6. */
  7. ?>
  8. <!-- wp:group {"align":"wide"} -->
  9. <div class="wp-block-group alignwide">
  10. <!-- wp:query {"query":{"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"perPage":3}} -->
  11. <div class="wp-block-query"><!-- wp:post-template -->
  12. <!-- wp:group {"style":{"border":{"bottom":{"width":"1px"}}}} -->
  13. <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
  14. <div class="wp-block-group"><!-- wp:post-date {"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small"} /-->
  15. <!-- wp:post-terms {"term":"category"} /--></div>
  16. <!-- /wp:group -->
  17. <!-- wp:post-title {"level":1,"isLink":true,"style":{"typography":{"lineHeight":1},"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} /-->
  18. <!-- wp:separator {"className":"alignfull"} -->
  19. <hr class="wp-block-separator has-alpha-channel-opacity alignfull"/>
  20. <!-- /wp:separator --></div>
  21. <!-- /wp:group -->
  22. <!-- /wp:post-template -->
  23. <!-- wp:group {"style":{"spacing":{"padding":{"top":"1rem"}}}} -->
  24. <div class="wp-block-group" style="padding-top:1rem"><!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between","flexWrap":"nowrap"}} -->
  25. <!-- wp:query-pagination-numbers /-->
  26. <!-- wp:group {"style":{"spacing":{"blockGap":"2rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
  27. <div class="wp-block-group"><!-- wp:query-pagination-previous /-->
  28. <!-- wp:query-pagination-next /--></div>
  29. <!-- /wp:group -->
  30. <!-- /wp:query-pagination --></div>
  31. <!-- /wp:group --></div>
  32. <!-- /wp:query --></div>
  33. <!-- /wp:group -->