[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> template-page-vertical-header-blog.php (source)

   1  <?php
   2  /**
   3   * Title: Page template for the right-aligned blog
   4   * Slug: twentytwentyfive/template-page-vertical-header-blog
   5   * Template Types: page
   6   * Viewport width: 1400
   7   *
   8   * @package WordPress
   9   * @subpackage Twenty_Twenty_Five
  10   * @since Twenty Twenty-Five 1.0
  11   */
  12  
  13  ?>
  14  <!-- wp:columns {"isStackedOnMobile":false,"style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"},"blockGap":{"left":"0"}}}} -->
  15  <div class="wp-block-columns is-not-stacked-on-mobile" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
  16      <!-- wp:column {"width":"8rem"} -->
  17      <div class="wp-block-column" style="flex-basis:8rem">
  18          <!-- wp:template-part {"slug":"vertical-header"} /-->
  19      </div>
  20      <!-- /wp:column -->
  21      <!-- wp:column {"width":"90%","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|50","left":"0","right":"0"}}},"layout":{"type":"default"}} -->
  22      <div class="wp-block-column" style="padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0;flex-basis:90%">
  23          <!-- wp:group {"tagName":"main","layout":{"type":"default"}} -->
  24          <main class="wp-block-group">
  25              <!-- wp:post-featured-image {"aspectRatio":"16/9","height":""} /-->
  26              <!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
  27              <div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
  28                  <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  29                  <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
  30                  <!-- /wp:spacer -->
  31                  <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
  32                  <div class="wp-block-group">
  33                      <!-- wp:post-title {"level":1,"style":{"layout":{"selfStretch":"fixed","flexSize":"70vw"}},"fontSize":"xx-large"} /-->
  34                  </div>
  35                  <!-- /wp:group -->
  36                  <!-- wp:spacer {"height":"var:preset|spacing|30"} -->
  37                  <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
  38                  <!-- /wp:spacer -->
  39  
  40                  <!-- wp:columns {"style":{"spacing":{"blockGap":{"left":"var:preset|spacing|70"}}}} -->
  41                  <div class="wp-block-columns">
  42                      <!-- wp:column {"width":"75%","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60"}}}} -->
  43                      <div class="wp-block-column" style="padding-bottom:var(--wp--preset--spacing--60);flex-basis:75%">
  44                          <!-- wp:post-content {"layout":{"type":"default"}} /-->
  45                      </div>
  46                      <!-- /wp:column -->
  47                      <!-- wp:column {"width":"25%"} -->
  48                      <div class="wp-block-column" style="flex-basis:25%">
  49                      <!-- wp:template-part {"slug":"sidebar"} /-->
  50                      </div>
  51                      <!-- /wp:column -->
  52                  </div>
  53                  <!-- /wp:columns -->
  54              </div>
  55              <!-- /wp:group -->
  56          </main>
  57          <!-- /wp:group -->
  58      </div>
  59      <!-- /wp:column -->
  60  </div>
  61  <!-- /wp:columns -->
  62  
  63  <!-- wp:template-part {"slug":"footer"} /-->


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