[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentythree/patterns/ -> post-meta.php (source)

   1  <?php
   2  /**
   3   * Title: Post Meta
   4   * Slug: twentytwentythree/post-meta
   5   * Categories: query
   6   * Keywords: post meta
   7   * Block Types: core/template-part/post-meta
   8   * Description: Post meta information with separator on the top.
   9   */
  10  ?>
  11  <!-- wp:spacer {"height":"0"} -->
  12  <div style="height:0" aria-hidden="true" class="wp-block-spacer"></div>
  13  <!-- /wp:spacer -->
  14  
  15  <!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
  16  <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70)">
  17      <!-- wp:separator {"opacity":"css","align":"wide","className":"is-style-wide"} -->
  18      <hr class="wp-block-separator alignwide has-css-opacity is-style-wide"/>
  19      <!-- /wp:separator -->
  20  
  21      <!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"},"blockGap":"var:preset|spacing|30"}},"fontSize":"small"} -->
  22      <div class="wp-block-columns alignwide has-small-font-size" style="margin-top:var(--wp--preset--spacing--30)">
  23          <!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
  24          <div class="wp-block-column">
  25              <!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex"}} -->
  26              <div class="wp-block-group">
  27                  <!-- wp:paragraph -->
  28                  <p>
  29                      <?php echo esc_html_x( 'Posted', 'Verb to explain the publication status of a post', 'twentytwentythree' ); ?>
  30                  </p>
  31                  <!-- /wp:paragraph -->
  32  
  33                  <!-- wp:post-date /-->
  34  
  35                  <!-- wp:paragraph -->
  36                  <p>
  37                      <?php echo esc_html_x( 'in', 'Preposition to show the relationship between the post and its categories', 'twentytwentythree' ); ?>
  38                  </p>
  39                  <!-- /wp:paragraph -->
  40  
  41                  <!-- wp:post-terms {"term":"category"} /-->
  42              </div>
  43              <!-- /wp:group -->
  44  
  45              <!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex"}} -->
  46              <div class="wp-block-group">
  47                  <!-- wp:paragraph -->
  48                  <p>
  49                      <?php echo esc_html_x( 'by', 'Preposition to show the relationship between the post and its author', 'twentytwentythree' ); ?>
  50                  </p>
  51                  <!-- /wp:paragraph -->
  52  
  53                  <!-- wp:post-author {"showAvatar":false} /-->
  54              </div>
  55              <!-- /wp:group -->
  56          </div>
  57          <!-- /wp:column -->
  58  
  59          <!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
  60          <div class="wp-block-column">
  61              <!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex","orientation":"vertical"}} -->
  62              <div class="wp-block-group">
  63                  <!-- wp:paragraph -->
  64                  <p>
  65                      <?php echo esc_html_x( 'Tags:', 'Label for a list of post tags', 'twentytwentythree' ); ?>
  66                  </p>
  67                  <!-- /wp:paragraph -->
  68  
  69                  <!-- wp:post-terms {"term":"post_tag"} /-->
  70              </div>
  71              <!-- /wp:group -->
  72          </div>
  73          <!-- /wp:column -->
  74      </div>
  75      <!-- /wp:columns -->
  76  </div>
  77  <!-- /wp:group -->


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