[ Index ]

PHP Cross Reference of WordPress

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  return array(
   6      'title'      => __( 'Page layout with two columns', 'twentytwentytwo' ),
   7      'categories' => array( 'pages' ),
   8      '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}} -->
   9                      <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"}}} -->
  10                      <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>
  11                      <!-- /wp:heading -->
  12  
  13                      <!-- wp:spacer {"height":50} -->
  14                      <div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
  15                      <!-- /wp:spacer -->
  16  
  17                      <!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
  18                      <div class="wp-block-group alignwide"><!-- wp:columns -->
  19                      <div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
  20                      <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%"><!-- wp:paragraph -->
  21                      <p>' . esc_html__( 'WELCOME', 'twentytwentytwo' ) . '</p>
  22                      <!-- /wp:paragraph --></div>
  23                      <!-- /wp:column -->
  24  
  25                      <!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
  26                      <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:separator {"className":"is-style-wide"} -->
  27                      <hr class="wp-block-separator is-style-wide"/>
  28                      <!-- /wp:separator --></div>
  29                      <!-- /wp:column --></div>
  30                      <!-- /wp:columns --></div>
  31                      <!-- /wp:group -->
  32  
  33                      <!-- wp:columns {"align":"wide"} -->
  34                      <div class="wp-block-columns alignwide"><!-- wp:column -->
  35                      <div class="wp-block-column"><!-- wp:paragraph -->
  36                      <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>
  37                      <!-- /wp:paragraph --></div>
  38                      <!-- /wp:column -->
  39  
  40                      <!-- wp:column -->
  41                      <div class="wp-block-column"></div>
  42                      <!-- /wp:column --></div>
  43                      <!-- /wp:columns -->
  44  
  45                      <!-- wp:spacer -->
  46                      <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
  47                      <!-- /wp:spacer -->
  48  
  49                      <!-- wp:columns {"align":"wide"} -->
  50                      <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"center"} -->
  51                      <div class="wp-block-column is-vertically-aligned-center"><!-- wp:separator {"className":"is-style-wide"} -->
  52                      <hr class="wp-block-separator is-style-wide"/>
  53                      <!-- /wp:separator --></div>
  54                      <!-- /wp:column -->
  55  
  56                      <!-- wp:column {"verticalAlignment":"center"} -->
  57                      <div class="wp-block-column is-vertically-aligned-center"><!-- wp:paragraph -->
  58                      <p>' . esc_html__( 'POSTS', 'twentytwentytwo' ) . '</p>
  59                      <!-- /wp:paragraph --></div>
  60                      <!-- /wp:column --></div>
  61                      <!-- /wp:columns -->
  62  
  63                      <!-- wp:columns {"align":"wide"} -->
  64                      <div class="wp-block-columns alignwide"><!-- wp:column -->
  65                      <div class="wp-block-column"></div>
  66                      <!-- /wp:column -->
  67  
  68                      <!-- wp:column -->
  69                      <div class="wp-block-column"><!-- wp:latest-posts /--></div>
  70                      <!-- /wp:column --></div>
  71                      <!-- /wp:columns --></div>
  72                      <!-- /wp:group -->',
  73  );


Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1