[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref