[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> footer-social.php (source)

   1  <?php
   2  /**
   3   * Title: Centered footer with social links
   4   * Slug: twentytwentyfive/footer-social
   5   * Categories: footer
   6   * Block Types: core/template-part/footer
   7   * Description: Footer with centered site title and social links.
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Five
  11   * @since Twenty Twenty-Five 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:group {"align":"full","className":"is-style-section-5","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
  16  <div class="wp-block-group alignfull is-style-section-5" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
  17      <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  18      <div class="wp-block-group">
  19          <!-- wp:site-title {"level":2,"textAlign":"center","style":{"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"400"}},"fontSize":"x-large"} /-->
  20          <!-- wp:navigation {"overlayMenu":"never","style":{"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|20"}},"fontSize":"x-large","layout":{"type":"flex","justifyContent":"center"},"ariaLabel":"<?php esc_attr_e( 'Social media', 'twentytwentyfive' ); ?>"} -->
  21          <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Facebook', 'twentytwentyfive' ); ?>","url":"#"} /-->
  22          <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Instagram', 'twentytwentyfive' ); ?>","url":"#"} /-->
  23          <!-- wp:navigation-link {"label":"<?php echo esc_html_x( 'X', 'Refers to the social media platform formerly known as Twitter.', 'twentytwentyfive' ); ?>","url":"#"} /-->
  24          <!-- /wp:navigation -->
  25      </div>
  26      <!-- /wp:group -->
  27      <!-- wp:spacer {"height":"var:preset|spacing|30"} -->
  28      <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
  29      <!-- /wp:spacer -->
  30      <!-- wp:paragraph {"align":"center","fontSize":"small"} -->
  31      <p class="has-text-align-center has-small-font-size">
  32          <?php
  33          printf(
  34              /* translators: Designed with WordPress. %s: WordPress link. */
  35              esc_html__( 'Designed with %s', 'twentytwentyfive' ),
  36              '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfive' ) ) . '" rel="nofollow">WordPress</a>'
  37          );
  38          ?>
  39          </p>
  40      <!-- /wp:paragraph -->
  41  </div>
  42  <!-- /wp:group -->


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref