themes-wordpress/kiosko/patterns/comments.php
Jeff Ong efc0be97cb
Kiosko: add theme (#6905)
* Initial commit.

* Removed theme reference from template part blocks

* updated wordpress tested version

* Removed table styles (fixed in gutenberg)

* Update theme patterns

Adding the strict types declaration, plus two additional store-related patterns.

* Removing templates

Removing these store templates as there's no difference between this and the fallback store archive template.

* Update WooCommerce-specific templates

Replacing legacy template with specific WooCommerce blocks.

* Update readme.txt

---------

Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: alaczek <ola@bodera.com>
2024-04-18 16:30:25 +10:00

53 lines
1.6 KiB
PHP

<?php
/**
* Title: Comments
* Slug: kiosko/comments
* Categories: text
*/
declare( strict_types = 1 );
?>
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop">
<!-- wp:comments-title {"level":3} /-->
<!-- wp:comment-template -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"0.5em"}}} -->
<div class="wp-block-group">
<!-- wp:avatar {"size":40} /-->
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:comment-author-name /-->
<!-- wp:group {"layout":{"type":"flex"},"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.875rem"}}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
<!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
<!-- wp:comment-edit-link /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}}} /-->
</div>
<!-- /wp:comments -->