[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * About page links
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Twenty_Two
   7   * @since Twenty Twenty-Two 1.0
   8   */
   9  
  10  return array(
  11      'title'      => __( 'About page links', 'twentytwentytwo' ),
  12      'categories' => array( 'twentytwentytwo_pages', 'buttons' ),
  13      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"10rem","bottom":"10rem"}}},"layout":{"inherit":false,"contentSize":"400px"}} -->
  14                      <div class="wp-block-group alignfull" style="padding-top:10rem;padding-bottom:10rem;"><!-- wp:image {"align":"center","width":100,"height":100,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
  15                      <div class="wp-block-image is-style-rounded"><figure class="aligncenter size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/icon-bird.jpg" alt="' . esc_attr__( 'Logo featuring a flying bird', 'twentytwentytwo' ) . '" width="100" height="100"/></figure></div>
  16                      <!-- /wp:image -->
  17  
  18                      <!-- wp:group -->
  19                      <div class="wp-block-group">
  20  
  21                      <!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"}}} -->
  22                      <h2 class="has-text-align-center" style="font-size:var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))">' . esc_html__( 'Swoop', 'twentytwentytwo' ) . '</h2>
  23                      <!-- /wp:heading -->
  24  
  25                      <!-- wp:paragraph {"align":"center"} -->
  26                      <p class="has-text-align-center">' . esc_html__( 'A podcast about birds', 'twentytwentytwo' ) . '</p>
  27                      <!-- /wp:paragraph -->
  28  
  29                      <!-- wp:spacer {"height":40} -->
  30                      <div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
  31                      <!-- /wp:spacer -->
  32  
  33                      <!-- wp:buttons {"contentJustification":"left"} -->
  34                      <div class="wp-block-buttons is-content-justification-left"><!-- wp:button {"width":100,"style":{"border":{"radius":"6px"}},"className":"is-style-fill"} -->
  35                      <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-fill"><a class="wp-block-button__link" style="border-radius:6px">' . esc_html__( 'Watch our videos', 'twentytwentytwo' ) . '</a></div>
  36                      <!-- /wp:button -->
  37  
  38                      <!-- wp:button {"width":100,"style":{"border":{"radius":"6px"}},"className":"is-style-fill"} -->
  39                      <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-fill"><a class="wp-block-button__link" style="border-radius:6px">' . esc_html__( 'Listen on iTunes Podcasts', 'twentytwentytwo' ) . '</a></div>
  40                      <!-- /wp:button -->
  41  
  42                      <!-- wp:button {"width":100,"style":{"border":{"radius":"6px"}},"className":"is-style-fill"} -->
  43                      <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-fill"><a class="wp-block-button__link" style="border-radius:6px">' . esc_html__( 'Listen on Spotify', 'twentytwentytwo' ) . '</a></div>
  44                      <!-- /wp:button -->
  45  
  46                      <!-- wp:button {"width":100,"style":{"border":{"radius":"6px"}},"className":"is-style-fill"} -->
  47                      <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-fill"><a class="wp-block-button__link" style="border-radius:6px">' . esc_html__( 'Support the show', 'twentytwentytwo' ) . '</a></div>
  48                      <!-- /wp:button -->
  49  
  50                      <!-- wp:button {"width":100,"style":{"border":{"radius":"6px"}},"className":"is-style-fill"} -->
  51                      <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-fill"><a class="wp-block-button__link" style="border-radius:6px">' . esc_html__( 'About the hosts', 'twentytwentytwo' ) . '</a></div>
  52                      <!-- /wp:button --></div>
  53                      <!-- /wp:buttons --></div>
  54                      <!-- /wp:group -->
  55  
  56                      <!-- wp:spacer {"height":40} -->
  57                      <div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
  58                      <!-- /wp:spacer -->
  59  
  60                      <!-- wp:social-links {"iconColor":"primary","iconColorValue":"var(--wp--preset--color--primary)","className":"is-style-logos-only","layout":{"type":"flex","justifyContent":"center"}} -->
  61                      <ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"wordpress"} /-->
  62  
  63                      <!-- wp:social-link {"url":"#","service":"facebook"} /-->
  64  
  65                      <!-- wp:social-link {"url":"#","service":"twitter"} /-->
  66  
  67                      <!-- wp:social-link {"url":"#","service":"instagram"} /--></ul>
  68                      <!-- /wp:social-links --></div>
  69                      <!-- /wp:group -->',
  70  );


Generated : Sat Aug 15 08:20:25 2026 Cross-referenced by PHPXref