[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Footer with social links and copyright
   4   */
   5  return array(
   6      'title'      => __( 'Footer with social links and copyright', 'twentytwentytwo' ),
   7      'categories' => array( 'footer' ),
   8      'blockTypes' => array( 'core/template-part/footer' ),
   9      'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
  10                      <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}}} -->
  11                      <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:social-links {"iconColor":"foreground","iconColorValue":"var(--wp--preset--color--foreground)","iconBackgroundColor":"background","iconBackgroundColorValue":"var(--wp--preset--color--background)","layout":{"type":"flex","justifyContent":"center"}} -->
  12                      <ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"#","service":"facebook"} /-->
  13  
  14                      <!-- wp:social-link {"url":"#","service":"twitter"} /-->
  15  
  16                      <!-- wp:social-link {"url":"#","service":"instagram"} /--></ul>
  17                      <!-- /wp:social-links -->
  18  
  19                      <!-- wp:spacer {"height":50} -->
  20                      <div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
  21                      <!-- /wp:spacer -->
  22  
  23                      <!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"16px"}}} -->
  24                      <p class="has-text-align-center" style="font-size:16px">' . esc_html__( '© Site Title', 'twentytwentytwo' ) . '</p>
  25                      <!-- /wp:paragraph --></div>
  26                      <!-- /wp:group --></div>
  27                      <!-- /wp:group -->',
  28  );


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