[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> page-about-solid-color.php (source)

   1  <?php
   2  /**
   3   * About page on solid color background
   4   */
   5  return array(
   6      'title'      => __( 'About page on solid color background', 'twentytwentytwo' ),
   7      'categories' => array( 'twentytwentytwo_pages' ),
   8      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"1.25rem","right":"1.25rem","bottom":"1.25rem","left":"1.25rem"}}}} -->
   9                      <div class="wp-block-group alignfull" style="padding-top:1.25rem;padding-right:1.25rem;padding-bottom:1.25rem;padding-left:1.25rem"><!-- wp:cover {"overlayColor":"secondary","minHeight":80,"minHeightUnit":"vh","isDark":false,"align":"full"} -->
  10                      <div class="wp-block-cover alignfull is-light" style="min-height:80vh"><span aria-hidden="true" class="has-secondary-background-color has-background-dim-100 wp-block-cover__gradient-background has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"inherit":false,"contentSize":"400px"}} -->
  11                      <div class="wp-block-group"><!-- wp:spacer {"height":64} -->
  12                      <div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div>
  13                      <!-- /wp:spacer --><!-- wp:heading {"style":{"typography":{"lineHeight":"1","textTransform":"uppercase","fontSize":"clamp(2.75rem, 6vw, 3.25rem)"}}} -->
  14                      <h2 id="edvard-smith" style="font-size:clamp(2.75rem, 6vw, 3.25rem);line-height:1;text-transform:uppercase">' . wp_kses_post( __( 'Edvard<br>Smith', 'twentytwentytwo' ) ) . '</h2>
  15                      <!-- /wp:heading -->
  16  
  17                      <!-- wp:spacer {"height":8} -->
  18                      <div style="height:8px" aria-hidden="true" class="wp-block-spacer"></div>
  19                      <!-- /wp:spacer -->
  20  
  21                      <!-- wp:paragraph {"fontSize":"small"} -->
  22                      <p class="has-small-font-size">' . esc_html__( 'Oh hello. My name’s Edvard, and you’ve found your way to my website. I’m an avid bird watcher, and I also broadcast my own radio show every Tuesday evening at 11PM EDT. Listen in sometime!', 'twentytwentytwo' ) . '</p>
  23                      <!-- /wp:paragraph -->
  24  
  25                      <!-- wp:spacer {"height":8} -->
  26                      <div style="height:8px" aria-hidden="true" class="wp-block-spacer"></div>
  27                      <!-- /wp:spacer -->
  28  
  29                      <!-- wp:social-links {"iconColor":"foreground","iconColorValue":"var(--wp--preset--color--foreground)","className":"is-style-logos-only"} -->
  30                      <ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"wordpress"} /-->
  31  
  32                      <!-- wp:social-link {"url":"#","service":"twitter"} /-->
  33  
  34                      <!-- wp:social-link {"url":"#","service":"instagram"} /--></ul>
  35                      <!-- /wp:social-links --><!-- wp:spacer {"height":64} -->
  36                      <div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div>
  37                      <!-- /wp:spacer --></div>
  38                      <!-- /wp:group --></div></div>
  39                      <!-- /wp:cover --></div>
  40                      <!-- /wp:group -->',
  41  );


Generated : Tue Dec 17 08:20:01 2024 Cross-referenced by PHPXref