[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> header.php (source)

   1  <?php
   2  /**
   3   * Title: Header
   4   * Slug: twentytwentyfive/header
   5   * Categories: header
   6   * Block Types: core/template-part/header
   7   * Description: Header with site title and navigation.
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Five
  11   * @since Twenty Twenty-Five 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:group {"align":"full","layout":{"type":"default"}} -->
  16  <div class="wp-block-group alignfull">
  17      <!-- wp:group {"layout":{"type":"constrained"}} -->
  18      <div class="wp-block-group">
  19          <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
  20          <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)">
  21              <!-- wp:site-title {"level":0} /-->
  22              <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
  23              <div class="wp-block-group">
  24                  <!-- wp:navigation {"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","justifyContent":"right","flexWrap":"wrap"}} /-->
  25              </div>
  26              <!-- /wp:group -->
  27          </div>
  28          <!-- /wp:group -->
  29      </div>
  30      <!-- /wp:group -->
  31  </div>
  32  <!-- /wp:group -->


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