[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> page-layout-two-columns.php (source)

   1  <?php
   2  /**
   3   * Page layout with two columns.
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Twenty_Two
   7   * @since Twenty Twenty-Two 1.0
   8   */
   9  
  10  return array(
  11      'title'      => __( 'Page layout with two columns', 'twentytwentytwo' ),
  12      'categories' => array( 'twentytwentytwo_pages' ),
  13      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"inherit":true}} -->
  14                      <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem);"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 15vw, 12.5rem)","lineHeight":"1","fontWeight":"200"}}} -->
  15                      <h1 class="alignwide" style="font-size:clamp(4rem, 15vw, 12.5rem);font-weight:200;line-height:1">' . wp_kses_post( __( '<em>Goldfinch </em><br><em>&amp; Sparrow</em>', 'twentytwentytwo' ) ) . '</h1>
  16                      <!-- /wp:heading -->
  17  
  18                      <!-- wp:spacer {"height":50} -->
  19                      <div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
  20                      <!-- /wp:spacer -->
  21  
  22                      <!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
  23                      <div class="wp-block-group alignwide"><!-- wp:columns -->
  24                      <div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
  25                      <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%"><!-- wp:paragraph -->
  26                      <p>' . esc_html__( 'WELCOME', 'twentytwentytwo' ) . '</p>
  27                      <!-- /wp:paragraph --></div>
  28                      <!-- /wp:column -->
  29  
  30                      <!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
  31                      <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:separator {"className":"is-style-wide"} -->
  32                      <hr class="wp-block-separator is-style-wide"/>
  33                      <!-- /wp:separator --></div>
  34                      <!-- /wp:column --></div>
  35                      <!-- /wp:columns --></div>
  36                      <!-- /wp:group -->
  37  
  38                      <!-- wp:columns {"align":"wide"} -->
  39                      <div class="wp-block-columns alignwide"><!-- wp:column -->
  40                      <div class="wp-block-column"><!-- wp:paragraph -->
  41                      <p>' . wp_kses_post( __( 'Oh hello. My name’s Angelo, and I operate this blog. I was born in Portland, but I currently live in upstate New York. You may recognize me from publications with names like <a href="#">Eagle Beagle</a> and <a href="#">Mourning Dive</a>. I write for a living.<br><br>I usually use this blog to catalog extensive lists of birds and other things that I find interesting. If you find an error with one of my lists, please keep it to yourself.<br><br>If that’s not your cup of tea, <a href="#">I definitely recommend this tea</a>. It’s my favorite.', 'twentytwentytwo' ) ) . '</p>
  42                      <!-- /wp:paragraph --></div>
  43                      <!-- /wp:column -->
  44  
  45                      <!-- wp:column -->
  46                      <div class="wp-block-column"></div>
  47                      <!-- /wp:column --></div>
  48                      <!-- /wp:columns -->
  49  
  50                      <!-- wp:spacer -->
  51                      <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
  52                      <!-- /wp:spacer -->
  53  
  54                      <!-- wp:columns {"align":"wide"} -->
  55                      <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"center"} -->
  56                      <div class="wp-block-column is-vertically-aligned-center"><!-- wp:separator {"className":"is-style-wide"} -->
  57                      <hr class="wp-block-separator is-style-wide"/>
  58                      <!-- /wp:separator --></div>
  59                      <!-- /wp:column -->
  60  
  61                      <!-- wp:column {"verticalAlignment":"center"} -->
  62                      <div class="wp-block-column is-vertically-aligned-center"><!-- wp:paragraph -->
  63                      <p>' . esc_html__( 'POSTS', 'twentytwentytwo' ) . '</p>
  64                      <!-- /wp:paragraph --></div>
  65                      <!-- /wp:column --></div>
  66                      <!-- /wp:columns -->
  67  
  68                      <!-- wp:columns {"align":"wide"} -->
  69                      <div class="wp-block-columns alignwide"><!-- wp:column -->
  70                      <div class="wp-block-column"></div>
  71                      <!-- /wp:column -->
  72  
  73                      <!-- wp:column -->
  74                      <div class="wp-block-column"><!-- wp:latest-posts /--></div>
  75                      <!-- /wp:column --></div>
  76                      <!-- /wp:columns --></div>
  77                      <!-- /wp:group -->',
  78  );


Generated : Sat Aug 8 08:20:21 2026 Cross-referenced by PHPXref