[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/patterns/ -> hidden-comments.php (source)

   1  <?php
   2  /**
   3   * Title: Comments
   4   * Slug: twentytwentyfour/hidden-comments
   5   * Inserter: no
   6   */
   7  ?>
   8  
   9  <!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
  10  <div class="wp-block-comments wp-block-comments-query-loop">
  11      <!-- wp:heading -->
  12      <h2><?php esc_html_e( 'Comments', 'twentytwentyfour' ); ?></h2>
  13      <!-- /wp:heading -->
  14      <!-- wp:comments-title {"level":3} /-->
  15      <!-- wp:comment-template -->
  16      <!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|30"}}}} -->
  17      <div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--30)">
  18          <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"0.5em"}}} -->
  19          <div class="wp-block-group">
  20              <!-- wp:avatar {"size":40} /-->
  21              <!-- wp:group -->
  22              <div class="wp-block-group">
  23                  <!-- wp:comment-author-name /-->
  24                  <!-- wp:comment-date /-->
  25              </div>
  26              <!-- /wp:group -->
  27          </div>
  28          <!-- /wp:group -->
  29          <!-- wp:comment-content /-->
  30          <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
  31          <div class="wp-block-group">
  32              <!-- wp:comment-edit-link /-->
  33              <!-- wp:comment-reply-link /-->
  34          </div>
  35          <!-- /wp:group -->
  36      </div>
  37      <!-- /wp:group -->
  38      <!-- /wp:comment-template -->
  39  
  40      <!-- wp:comments-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
  41      <!-- wp:comments-pagination-previous /-->
  42      <!-- wp:comments-pagination-next /-->
  43      <!-- /wp:comments-pagination -->
  44  
  45      <!-- wp:post-comments-form {"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}}} /-->
  46  </div>
  47  <!-- /wp:comments -->


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref