archive.php 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. /**
  3. * Title: archive
  4. * Slug: bark/archive
  5. * Categories: hidden
  6. * Inserter: no
  7. */
  8. ?>
  9. <!-- wp:template-part {"slug":"header-inner-pages"} /-->
  10. <!-- wp:group {"tagName":"main","metadata":{"name":"Main"},"align":"full","layout":{"type":"constrained"}} -->
  11. <main class="wp-block-group alignfull"><!-- wp:spacer {"height":"var:preset|spacing|20"} -->
  12. <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div>
  13. <!-- /wp:spacer -->
  14. <!-- wp:query-title {"type":"archive","textAlign":"center","showPrefix":false,"align":"wide","style":{"typography":{"lineHeight":"1"}},"fontSize":"large"} /-->
  15. <!-- wp:spacer {"height":"var:preset|spacing|20"} -->
  16. <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div>
  17. <!-- /wp:spacer -->
  18. <!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":"0","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide","layout":{"type":"default"}} -->
  19. <div class="wp-block-query alignwide"><!-- wp:query-no-results -->
  20. <!-- wp:paragraph {"align":"center"} -->
  21. <p class="has-text-align-center"><?php echo __('No search results..', 'bark');?></p>
  22. <!-- /wp:paragraph -->
  23. <!-- /wp:query-no-results -->
  24. <!-- wp:group {"layout":{"type":"default"}} -->
  25. <div class="wp-block-group"><!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"grid","columnCount":3}} -->
  26. <!-- wp:group {"style":{"border":{"radius":"20px"},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20","right":"var:preset|spacing|20"}}},"backgroundColor":"theme-1","layout":{"type":"constrained"}} -->
  27. <div class="wp-block-group has-theme-1-background-color has-background" style="border-radius:20px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}},"border":{"radius":"10px"}}} /-->
  28. <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","flexWrap":"nowrap"}} -->
  29. <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"className":"no-underline","fontSize":"medium"} /-->
  30. <!-- wp:post-excerpt {"excerptLength":16,"style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}},"textColor":"contrast-2","fontSize":"small"} /-->
  31. <!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"min(2.5rem, 3vw)","selfStretch":"fixed"}}} -->
  32. <div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
  33. <!-- /wp:spacer --></div>
  34. <!-- /wp:group --></div>
  35. <!-- /wp:group -->
  36. <!-- /wp:post-template -->
  37. <!-- wp:spacer {"height":"var:preset|spacing|40","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
  38. <div style="margin-top:0;margin-bottom:0;height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
  39. <!-- /wp:spacer -->
  40. <!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
  41. <!-- wp:query-pagination-previous /-->
  42. <!-- wp:query-pagination-next /-->
  43. <!-- /wp:query-pagination --></div>
  44. <!-- /wp:group --></div>
  45. <!-- /wp:query --></main>
  46. <!-- /wp:group -->
  47. <!-- wp:template-part {"slug":"footer","area":"footer"} /-->