[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Hidden Comments
   4   * Slug: twentytwentythree/hidden-comments
   5   * Inserter: no
   6   */
   7  ?>
   8  <!-- wp:group {"layout":{"type":"constrained"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
   9  <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
  10      <!-- wp:comments -->
  11      <div class="wp-block-comments">
  12          <!-- wp:heading {"level":2} -->
  13          <h2><?php echo esc_html_x( 'Comments', 'Title of comments section', 'twentytwentythree' ); ?></h2>
  14          <!-- /wp:heading -->
  15  
  16          <!-- wp:comments-title {"level":3} /-->
  17  
  18          <!-- wp:comment-template -->
  19              <!-- wp:columns {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
  20              <div class="wp-block-columns" style="margin-bottom:var(--wp--preset--spacing--40)">
  21                  <!-- wp:column {"width":"40px"} -->
  22                  <div class="wp-block-column" style="flex-basis:40px">
  23                      <!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"}}} /-->
  24                  </div>
  25                  <!-- /wp:column -->
  26  
  27                  <!-- wp:column -->
  28                  <div class="wp-block-column">
  29                      <!-- wp:comment-author-name /-->
  30  
  31                      <!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex"}} -->
  32                      <div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
  33                          <!-- wp:comment-date /-->
  34                          <!-- wp:comment-edit-link /-->
  35                      </div>
  36                      <!-- /wp:group -->
  37  
  38                      <!-- wp:comment-content /-->
  39  
  40                      <!-- wp:comment-reply-link /-->
  41                  </div>
  42                  <!-- /wp:column -->
  43              </div>
  44              <!-- /wp:columns -->
  45          <!-- /wp:comment-template -->
  46  
  47          <!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
  48              <!-- wp:comments-pagination-previous /-->
  49              <!-- wp:comments-pagination-numbers /-->
  50              <!-- wp:comments-pagination-next /-->
  51          <!-- /wp:comments-pagination -->
  52  
  53      <!-- wp:post-comments-form /-->
  54      </div>
  55      <!-- /wp:comments -->
  56  </div>
  57  <!-- /wp:group -->


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