[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/patterns/ -> footer-centered-logo-nav.php (source)

   1  <?php
   2  /**
   3   * Title: Footer with centered logo and navigation
   4   * Slug: twentytwentyfour/footer-centered-logo-nav
   5   * Categories: footer
   6   * Block Types: core/template-part/footer
   7   * Description: A footer section with a centered logo, navigation, and WordPress credits.
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Four
  11   * @since Twenty Twenty-Four 1.0
  12   */
  13  
  14  ?>
  15  
  16  <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|50"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
  17  <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--50)">
  18  
  19      <!-- wp:site-logo /-->
  20  
  21      <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","justifyContent":"center"},"fontSize":"small"} /-->
  22  
  23      <!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"secondary","fontSize":"small"} -->
  24      <p class="has-text-align-center has-secondary-color has-text-color has-link-color has-small-font-size">
  25      <?php
  26      /* Translators: WordPress link. */
  27          $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfour' ) ) . '" rel="nofollow">WordPress</a>';
  28          echo sprintf(
  29              /* Translators: Designed with WordPress */
  30              esc_html__( 'Designed with %1$s', 'twentytwentyfour' ),
  31              $wordpress_link
  32          );
  33          ?>
  34      </p>
  35      <!-- /wp:paragraph -->
  36  </div>
  37  <!-- /wp:group -->


Generated : Sat Aug 8 08:20:21 2026 Cross-referenced by PHPXref