
* Fixmate: Add theme * Replace attr_html_e() with esc_attr_e() --------- Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
63 lines
No EOL
3.4 KiB
PHP
63 lines
No EOL
3.4 KiB
PHP
<?php
|
|
/**
|
|
* Title: search
|
|
* Slug: fixmate/search
|
|
* Categories: hidden
|
|
* Inserter: no
|
|
*/
|
|
?>
|
|
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group"><!-- wp:template-part {"slug":"header","area":"header","align":"wide"} /--></div>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}}} -->
|
|
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"style":{"spacing":{"blockGap":"4vh"}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group"><!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
|
|
<div class="wp-block-group alignwide"><!-- wp:search {"showLabel":false,"placeholder":"Search","width":100,"widthUnit":"%","buttonText":"","buttonUseIcon":true} /--></div>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:columns {"align":"wide"} -->
|
|
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"25%"} -->
|
|
<div class="wp-block-column" style="flex-basis:25%"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50","padding":{"right":"var:preset|spacing|50"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
|
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--50)"><!-- wp:query-title {"type":"search","showSearchTerm":false} /--></div>
|
|
<!-- /wp:group --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column {"width":"75%"} -->
|
|
<div class="wp-block-column" style="flex-basis:75%"><!-- wp:query {"queryId":151,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true}} -->
|
|
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
|
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/4"} /-->
|
|
|
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","margin":{"top":"2vh","bottom":"4vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
|
<div class="wp-block-group" style="margin-top:2vh;margin-bottom:4vh"><!-- wp:post-title {"isLink":true} /-->
|
|
|
|
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex"}} -->
|
|
<div class="wp-block-group alignwide"><!-- wp:post-terms {"term":"category"} /-->
|
|
|
|
<!-- wp:post-date {"format":"M j, Y","style":{"typography":{"textTransform":"uppercase"}}} /--></div>
|
|
<!-- /wp:group --></div>
|
|
<!-- /wp:group -->
|
|
<!-- /wp:post-template -->
|
|
|
|
<!-- wp:group {"style":{"spacing":{"margin":{"top":"4vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
|
<div class="wp-block-group" style="margin-top:4vh"><!-- wp:query-pagination -->
|
|
<!-- wp:query-pagination-previous /-->
|
|
|
|
<!-- wp:query-pagination-numbers /-->
|
|
|
|
<!-- wp:query-pagination-next /-->
|
|
<!-- /wp:query-pagination -->
|
|
|
|
<!-- wp:query-no-results -->
|
|
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
|
|
<p><?php esc_html_e('', 'fixmate');?></p>
|
|
<!-- /wp:paragraph -->
|
|
<!-- /wp:query-no-results --></div>
|
|
<!-- /wp:group --></div>
|
|
<!-- /wp:query --></div>
|
|
<!-- /wp:column --></div>
|
|
<!-- /wp:columns --></div>
|
|
<!-- /wp:group --></main>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:template-part {"slug":"footer-pages","area":"uncategorized"} /-->
|