[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> template-single-text-blog.php (source)

   1  <?php
   2  /**
   3   * Title: Text-only blog, single post
   4   * Slug: twentytwentyfive/template-single-text-blog
   5   * Template Types: posts, single
   6   * Viewport width: 1400
   7   * Inserter: no
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Five
  11   * @since Twenty Twenty-Five 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:template-part {"slug":"header"} /-->
  16  
  17  <!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
  18  <main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60)">
  19      <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
  20      <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);">
  21          <!-- wp:post-title {"level":1} /-->
  22          <!-- wp:post-terms {"term":"category","style":{"typography":{"fontStyle":"normal","fontWeight":"400"}}} /-->
  23          <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  24          <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
  25          <!-- /wp:spacer -->
  26          <!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /-->
  27  
  28          <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
  29          <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
  30          <!-- wp:post-terms {"term":"post_tag","separator":"  ","className":"is-style-post-terms-1"} /-->
  31          </div>
  32          <!-- /wp:group -->
  33  
  34          <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50"},"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
  35          <div class="wp-block-group alignfull" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
  36              <!-- wp:group {"ariaLabel":"<?php esc_attr_e( 'Post navigation', 'twentytwentyfive' ); ?>","tagName":"nav","align":"wide","style":{"border":{"top":{"color":"var:preset|color|accent-6","width":"1px"},"right":[],"bottom":[],"left":[]},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
  37              <nav class="wp-block-group alignwide" aria-label="<?php esc_attr_e( 'Post navigation', 'twentytwentyfive' ); ?>" style="border-top-color:var(--wp--preset--color--accent-6);border-top-width:1px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
  38                  <!-- wp:post-navigation-link {"type":"previous","showTitle":true,"arrow":"arrow"} /-->
  39                  <!-- wp:post-navigation-link {"showTitle":true,"arrow":"arrow"} /-->
  40              </nav>
  41              <!-- /wp:group -->
  42          </div>
  43          <!-- /wp:group -->
  44          <!-- wp:pattern {"slug":"twentytwentyfive/comments"} /-->
  45      </div>
  46      <!-- /wp:group -->
  47  </main>
  48  <!-- /wp:group -->
  49  <!-- wp:template-part {"slug":"footer"} /-->


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