[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> footer-about-title-logo.php (source)

   1  <?php
   2  /**
   3   * Footer with text, title, and logo
   4   */
   5  return array(
   6      'title'      => __( 'Footer with text, title, and logo', 'twentytwentytwo' ),
   7      'categories' => array( 'footer' ),
   8      'blockTypes' => array( 'core/template-part/footer' ),
   9      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"6rem"}}},"backgroundColor":"secondary","layout":{"inherit":true}} -->
  10                      <div class="wp-block-group alignfull has-secondary-background-color has-background" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:6rem"><!-- wp:columns {"align":"wide"} -->
  11                      <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33%"} -->
  12                      <div class="wp-block-column" style="flex-basis:33%"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
  13                      <p style="text-transform:uppercase">' . esc_html__( 'About us', 'twentytwentytwo' ) . '</p>
  14                      <!-- /wp:paragraph -->
  15  
  16                      <!-- wp:paragraph {"style":{"fontSize":"small"} -->
  17                      <p class="has-small-font-size">' . esc_html__( 'We are a rogue collective of bird watchers. We’ve been known to sneak through fences, climb perimeter walls, and generally trespass in order to observe the rarest of birds.', 'twentytwentytwo' ) . '</p>
  18                      <!-- /wp:paragraph -->
  19  
  20                      <!-- wp:spacer {"height":180} -->
  21                      <div style="height:180px" aria-hidden="true" class="wp-block-spacer"></div>
  22                      <!-- /wp:spacer -->
  23  
  24                      <!-- wp:site-title {"level":0} /--></div>
  25                      <!-- /wp:column -->
  26  
  27                      <!-- wp:column {"verticalAlignment":"bottom"} -->
  28                      <div class="wp-block-column is-vertically-aligned-bottom"><!-- wp:site-logo {"align":"right","width":60} /--></div>
  29                      <!-- /wp:column --></div>
  30                      <!-- /wp:columns --></div>
  31                      <!-- /wp:group -->',
  32  );


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1