[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Centered footer
   4   * Slug: twentytwentyfive/footer-centered
   5   * Categories: footer
   6   * Block Types: core/template-part/footer
   7   * Description: Footer with centered site title and tagline.
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Five
  11   * @since Twenty Twenty-Five 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
  16  <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
  17      <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
  18      <div class="wp-block-group">
  19          <!-- wp:site-title {"level":0,"textAlign":"center"} /-->
  20          <!-- wp:site-tagline {"textAlign":"center"} /-->
  21      </div>
  22      <!-- /wp:group -->
  23  
  24      <!-- wp:spacer {"height":"var:preset|spacing|20"} -->
  25      <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div>
  26      <!-- /wp:spacer -->
  27  
  28      <!-- wp:paragraph {"align":"center","fontSize":"small"} -->
  29      <p class="has-text-align-center has-small-font-size">
  30          <?php
  31          printf(
  32              /* Translators: Designed with WordPress. %s: WordPress link. */
  33              esc_html__( 'Designed with %s', 'twentytwentyfive' ),
  34              '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfive' ) ) . '" rel="nofollow">WordPress</a>'
  35          );
  36          ?>
  37      </p>
  38      <!-- /wp:paragraph -->
  39  </div>
  40  <!-- /wp:group -->


Generated : Thu Oct 24 08:20:01 2024 Cross-referenced by PHPXref