[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Footer with title, tagline, and social links on a dark background
   4   */
   5  return array(
   6      'title'      => __( 'Footer with title, tagline, and social links on a dark background', 'twentytwentytwo' ),
   7      'categories' => array( 'footer' ),
   8      'blockTypes' => array( 'core/template-part/footer' ),
   9      'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
  10                      <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
  11                      <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:group -->
  12                      <div class="wp-block-group"><!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"textTransform":"uppercase"}}} /-->
  13  
  14                      <!-- wp:site-tagline {"style":{"spacing":{"margin":{"top":"0.25em","bottom":"0px"}},"typography":{"fontStyle":"italic","fontWeight":"400"}},"fontSize":"small"} /--></div>
  15                      <!-- /wp:group -->
  16  
  17                      <!-- wp:social-links {"iconBackgroundColor":"foreground","iconBackgroundColorValue":"var(--wp--preset--color--foreground)","layout":{"type":"flex","justifyContent":"right"}} -->
  18                      <ul class="wp-block-social-links has-icon-background-color"><!-- wp:social-link {"url":"#","service":"facebook"} /-->
  19  
  20                      <!-- wp:social-link {"url":"#","service":"twitter"} /-->
  21  
  22                      <!-- wp:social-link {"url":"#","service":"instagram"} /--></ul>
  23                      <!-- /wp:social-links --></div>
  24                      <!-- /wp:group --></div>
  25                      <!-- /wp:group -->',
  26  );


Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1