This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace placeholder blockified templates with the right one (#9579)
* Add blockified templates * removed queryId
- Loading branch information
Showing
3 changed files
with
141 additions
and
18 deletions.
There are no files selected for viewing
53 changes: 47 additions & 6 deletions
53
templates/templates/blockified/taxonomy-product_attribute.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,49 @@ | ||
<!-- wp:template-part {"slug":"header"} /--> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:paragraph --> | ||
<p>Products by Attribute blockified</p> | ||
<!-- /wp:paragraph --></div> | ||
|
||
<!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:woocommerce/breadcrumbs /--> | ||
|
||
<!-- wp:query-title {"type":"archive","showPrefix":false,"align":"wide"} /--> | ||
|
||
<!-- wp:term-description {"align":"wide"} /--> | ||
|
||
<!-- wp:woocommerce/store-notices /--> | ||
|
||
<!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> | ||
<div class="wp-block-group alignwide"><!-- wp:woocommerce/product-results-count /--> | ||
|
||
<!-- wp:woocommerce/catalog-sorting /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:query {"query":{"perPage":9,"pages":0,"offset":0,"postType":"product","order":"asc","orderBy":"title","author":"","search":"","exclude":[],"sticky":"","inherit":true,"__woocommerceAttributes":[],"__woocommerceStockStatus":["instock","outofstock","onbackorder"]},"displayLayout":{"type":"flex","columns":3},"namespace":"woocommerce/product-query","align":"wide"} --> | ||
<div class="wp-block-query alignwide"> | ||
<!-- wp:post-template {"className":"products-block-post-template","__woocommerceNamespace":"woocommerce/product-query/product-template"} --> | ||
<!-- wp:woocommerce/product-image {"imageSizing":"thumbnail","isDescendentOfQueryLoop":true} /--> | ||
|
||
<!-- wp:post-title {"textAlign":"center","level":3,"isLink":true,"style":{"spacing":{"margin":{"bottom":"0.75rem","top":"0"}}},"fontSize":"medium","__woocommerceNamespace":"woocommerce/product-query/product-title"} /--> | ||
|
||
<!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"center","fontSize":"small"} /--> | ||
|
||
<!-- wp:woocommerce/product-button {"textAlign":"center","isDescendentOfQueryLoop":true,"fontSize":"small"} /--> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} --> | ||
<!-- 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></p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --> | ||
</div> | ||
<!-- /wp:query --> | ||
</div> | ||
<!-- /wp:group --> | ||
<!-- wp:template-part {"slug":"footer"} /--> | ||
|
||
<!-- wp:template-part {"slug":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,49 @@ | ||
<!-- wp:template-part {"slug":"header"} /--> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:paragraph --> | ||
<p>Products by Category blockified</p> | ||
<!-- /wp:paragraph --></div> | ||
|
||
<!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:woocommerce/breadcrumbs /--> | ||
|
||
<!-- wp:query-title {"type":"archive","showPrefix":false,"align":"wide"} /--> | ||
|
||
<!-- wp:term-description {"align":"wide"} /--> | ||
|
||
<!-- wp:woocommerce/store-notices /--> | ||
|
||
<!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> | ||
<div class="wp-block-group alignwide"><!-- wp:woocommerce/product-results-count /--> | ||
|
||
<!-- wp:woocommerce/catalog-sorting /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:query {"query":{"perPage":9,"pages":0,"offset":0,"postType":"product","order":"asc","orderBy":"title","author":"","search":"","exclude":[],"sticky":"","inherit":true,"__woocommerceAttributes":[],"__woocommerceStockStatus":["instock","outofstock","onbackorder"]},"displayLayout":{"type":"flex","columns":3},"namespace":"woocommerce/product-query","align":"wide"} --> | ||
<div class="wp-block-query alignwide"> | ||
<!-- wp:post-template {"className":"products-block-post-template","__woocommerceNamespace":"woocommerce/product-query/product-template"} --> | ||
<!-- wp:woocommerce/product-image {"imageSizing":"thumbnail","isDescendentOfQueryLoop":true} /--> | ||
|
||
<!-- wp:post-title {"textAlign":"center","level":3,"isLink":true,"style":{"spacing":{"margin":{"bottom":"0.75rem","top":"0"}}},"fontSize":"medium","__woocommerceNamespace":"woocommerce/product-query/product-title"} /--> | ||
|
||
<!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"center","fontSize":"small"} /--> | ||
|
||
<!-- wp:woocommerce/product-button {"textAlign":"center","isDescendentOfQueryLoop":true,"fontSize":"small"} /--> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} --> | ||
<!-- 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></p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --> | ||
</div> | ||
<!-- /wp:query --> | ||
</div> | ||
<!-- /wp:group --> | ||
<!-- wp:template-part {"slug":"footer"} /--> | ||
|
||
<!-- wp:template-part {"slug":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,49 @@ | ||
<!-- wp:template-part {"slug":"header"} /--> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:paragraph --> | ||
<p>Products by Tag blockified</p> | ||
<!-- /wp:paragraph --></div> | ||
|
||
<!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:woocommerce/breadcrumbs /--> | ||
|
||
<!-- wp:query-title {"type":"archive","showPrefix":false,"align":"wide"} /--> | ||
|
||
<!-- wp:term-description {"align":"wide"} /--> | ||
|
||
<!-- wp:woocommerce/store-notices /--> | ||
|
||
<!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> | ||
<div class="wp-block-group alignwide"><!-- wp:woocommerce/product-results-count /--> | ||
|
||
<!-- wp:woocommerce/catalog-sorting /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:query {"query":{"perPage":9,"pages":0,"offset":0,"postType":"product","order":"asc","orderBy":"title","author":"","search":"","exclude":[],"sticky":"","inherit":true,"__woocommerceAttributes":[],"__woocommerceStockStatus":["instock","outofstock","onbackorder"]},"displayLayout":{"type":"flex","columns":3},"namespace":"woocommerce/product-query","align":"wide"} --> | ||
<div class="wp-block-query alignwide"> | ||
<!-- wp:post-template {"className":"products-block-post-template","__woocommerceNamespace":"woocommerce/product-query/product-template"} --> | ||
<!-- wp:woocommerce/product-image {"imageSizing":"thumbnail","isDescendentOfQueryLoop":true} /--> | ||
|
||
<!-- wp:post-title {"textAlign":"center","level":3,"isLink":true,"style":{"spacing":{"margin":{"bottom":"0.75rem","top":"0"}}},"fontSize":"medium","__woocommerceNamespace":"woocommerce/product-query/product-title"} /--> | ||
|
||
<!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"center","fontSize":"small"} /--> | ||
|
||
<!-- wp:woocommerce/product-button {"textAlign":"center","isDescendentOfQueryLoop":true,"fontSize":"small"} /--> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"center"}} --> | ||
<!-- 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></p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --> | ||
</div> | ||
<!-- /wp:query --> | ||
</div> | ||
<!-- /wp:group --> | ||
<!-- wp:template-part {"slug":"footer"} /--> | ||
|
||
<!-- wp:template-part {"slug":"footer"} /--> |