[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> general-large-list-names.php (source)

   1  <?php
   2  /**
   3   * Large list of names block pattern
   4   */
   5  return array(
   6      'title'      => __( 'Large list of names', 'twentytwentytwo' ),
   7      'categories' => array( 'featured', 'text' ),
   8      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"6rem","bottom":"6rem"}},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"backgroundColor":"tertiary","textColor":"primary","layout":{"inherit":true}} -->
   9                      <div class="wp-block-group alignfull has-primary-color has-tertiary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding-bottom:6rem"><!-- wp:group {"align":"wide"} -->
  10                      <div class="wp-block-group alignwide"><!-- wp:image {"width":175,"height":82,"sizeSlug":"full","linkDestination":"none"} -->
  11                      <figure class="wp-block-image size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/icon-binoculars.png" alt="' . esc_attr__( 'An icon representing binoculars.', 'twentytwentytwo' ) . '" width="175" height="82"/></figure>
  12                      <!-- /wp:image --></div>
  13                      <!-- /wp:group -->
  14  
  15                      <!-- wp:group {"align":"wide"} -->
  16                      <div class="wp-block-group alignwide"><!-- wp:spacer {"height":32} -->
  17                      <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
  18                      <!-- /wp:spacer -->
  19  
  20                      <!-- wp:paragraph {"style":{"typography":{"fontWeight":"300"}},"fontSize":"x-large"} -->
  21                      <p class="has-x-large-font-size" style="font-weight:300">' . esc_html__( 'Jesús Rodriguez, Doug Stilton, Emery Driscoll, Megan Perry, Rowan Price, Angelo Tso, Edward Stilton, Amy Jensen, Boston Bell, Shay Ford, Lee Cunningham, Evelynn Ray, Landen Reese, Ewan Hart, Jenna Chan, Phoenix Murray, Mel Saunders, Aldo Davidson, Zain Hall.', 'twentytwentytwo' ) . '</p>
  22                      <!-- /wp:paragraph -->
  23  
  24                      <!-- wp:spacer {"height":32} -->
  25                      <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>
  26                      <!-- /wp:spacer -->
  27  
  28                      <!-- wp:buttons -->
  29                      <div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"primary","textColor":"background"} -->
  30                      <div class="wp-block-button"><a class="wp-block-button__link has-background-color has-primary-background-color has-text-color has-background">' . esc_html__( 'Read more', 'twentytwentytwo' ) . '</a></div>
  31                      <!-- /wp:button --></div>
  32                      <!-- /wp:buttons --></div>
  33                      <!-- /wp:group --></div>
  34                      <!-- /wp:group -->',
  35  );


Generated: Wed Dec 25 01:00:02 2024 Cross-referenced by PHPXref 0.7.1