[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> page-layout-image-and-text.php (source)

   1  <?php
   2  /**
   3   * Page layout with image and text.
   4   */
   5  return array(
   6      'title'      => __( 'Page layout with image and text', 'twentytwentytwo' ),
   7      'categories' => array( 'pages' ),
   8      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"2rem"}}},"layout":{"inherit":true}} -->
   9                  <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:2rem"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 8vw, 7.5rem)","lineHeight":"1.15","fontWeight":"300"}}} -->
  10                      <h2 class="alignwide" style="font-size:clamp(4rem, 8vw, 7.5rem);font-weight:300;line-height:1.15">' . wp_kses_post( __( '<em>Watching Birds </em><br><em>in the Garden</em>', 'twentytwentytwo' ) ) . '</h2>
  11                      <!-- /wp:heading --></div>
  12                      <!-- /wp:group -->
  13  
  14                      <!-- wp:image {"align":"full","style":{"color":{}}} -->
  15                      <figure class="wp-block-image alignfull"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-b.png" alt="' . esc_attr_x( 'TBD', 'Short for to be determined', 'twentytwentytwo' ) . '"/></figure>
  16                      <!-- /wp:image -->
  17  
  18                      <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"2rem","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"inherit":true}} -->
  19                      <div class="wp-block-group alignfull" style="padding-top:2rem;padding-bottom:var(--wp--custom--spacing--large, 8rem)">
  20                      <!-- wp:columns {"align":"wide"} -->
  21                      <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"bottom","style":{"spacing":{"padding":{"bottom":"1em"}}}} -->
  22                      <div class="wp-block-column is-vertically-aligned-bottom" style="padding-bottom:1em"><!-- wp:site-logo {"width":60} /--></div>
  23                      <!-- /wp:column -->
  24  
  25                      <!-- wp:column {"verticalAlignment":"bottom"} -->
  26                      <div class="wp-block-column is-vertically-aligned-bottom"><!-- wp:paragraph -->
  27                      <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>
  28                      <!-- /wp:paragraph --></div>
  29                      <!-- /wp:column --></div>
  30                      <!-- /wp:columns --></div>
  31                      <!-- /wp:group -->',
  32  );


Generated: Fri Mar 29 01:00:02 2024 Cross-referenced by PHPXref 0.7.1