cmt-engineering-theme/parts/product-list-generator.html

21 lines
1.9 KiB
HTML
Raw Normal View History

2024-04-25 08:14:53 +00:00
<!-- wp:query {"queryId":16,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"layout":{"type":"default"}} -->
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
<!-- wp:post-title {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"color":{"background":"#12326e"},"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"none"}},"textColor":"base-2","fontSize":"medium"} /-->
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"160px","height":"150px","linkTarget":"_blank","style":{"border":{"radius":"0px","width":"0px","style":"none"},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"0","left":"var:preset|spacing|50"}}}} /-->
<!-- wp:read-more {"content":"View Product","style":{"color":{"background":"#12326e"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}},"typography":{"fontSize":"20px"},"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"0","bottom":"0","left":"35%","right":"35%"}}},"textColor":"base-2"} /-->
<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"textColor":"base-2","width":100,"style":{"color":{"background":"#2e4a7f"},"elements":{"link":{"color":{"text":"var:preset|color|base-2"}}}}} -->
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-base-2-color has-text-color has-background has-link-color wp-element-button" style="background-color:#2e4a7f" rel="">View Product</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->
<!-- /wp:post-template -->
<!-- wp:query-no-results -->
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
<p></p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results --></div>
<!-- /wp:query -->