[ 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  ?>
  10  
  11  <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|50"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
  12  <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--50)">
  13  
  14      <!-- wp:site-logo /-->
  15  
  16      <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","justifyContent":"center"},"fontSize":"small"} /-->
  17  
  18      <!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"secondary","fontSize":"small"} -->
  19      <p class="has-text-align-center has-secondary-color has-text-color has-link-color has-small-font-size">
  20      <?php
  21      /* Translators: WordPress link. */
  22          $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfour' ) ) . '" rel="nofollow">WordPress</a>';
  23          echo sprintf(
  24              /* Translators: Designed with WordPress */
  25              esc_html__( 'Designed with %1$s', 'twentytwentyfour' ),
  26              $wordpress_link
  27          );
  28          ?>
  29      </p>
  30      <!-- /wp:paragraph -->
  31  </div>
  32  <!-- /wp:group -->


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