mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 20:30:43 +01:00
244f676c59
Resyncing changes for TT4 into Core. Changes include: * Reformatted all the patterns for readability. * Bugfixes in the markup and improvements on the string translation functions. * Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates. Follow-up to [56813], [56764], [56716]. Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri. Fixes #59640. Built from https://develop.svn.wordpress.org/trunk@56951 git-svn-id: http://core.svn.wordpress.org/trunk@56462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
48 lines
1.6 KiB
PHP
48 lines
1.6 KiB
PHP
<?php
|
|
/**
|
|
* Title: Comments
|
|
* Slug: twentytwentyfour/hidden-comments
|
|
* Inserter: no
|
|
*/
|
|
?>
|
|
|
|
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
|
|
<div class="wp-block-comments wp-block-comments-query-loop">
|
|
<!-- wp:heading -->
|
|
<h2><?php esc_html_e( 'Comments', 'twentytwentyfour' ); ?></h2>
|
|
<!-- /wp:heading -->
|
|
<!-- wp:comments-title {"level":3} /-->
|
|
<!-- wp:comment-template -->
|
|
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|30"}}}} -->
|
|
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--30)">
|
|
<!-- 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:comment-date /-->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
<!-- wp:comment-content /-->
|
|
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
|
<div class="wp-block-group">
|
|
<!-- wp:comment-edit-link /-->
|
|
<!-- wp:comment-reply-link /-->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
<!-- /wp:comment-template -->
|
|
|
|
<!-- wp:comments-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
|
<!-- wp:comments-pagination-previous /-->
|
|
<!-- wp:comments-pagination-next /-->
|
|
<!-- /wp:comments-pagination -->
|
|
|
|
<!-- wp:post-comments-form {"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}}} /-->
|
|
</div>
|
|
<!-- /wp:comments -->
|