[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Footer Centered
   4   * Slug: ipsum/footer-centered
   5   * Categories: footer
   6   * Block Types: core/template-part/footer
   7   * Viewport width: 1280
   8   * Description: A centered footer on the toast card — the site name as a cropped wordmark over the tagline, with the credit line beneath.
   9   *
  10   * @package Ipsum
  11   * @since Ipsum 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Footer Centered', 'Name of the centered footer group', 'ipsum' ); ?>"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
  16  <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Footer Centered Wrapper', 'Name of the centered footer card group', 'ipsum' ); ?>"},"className":"is-style-crop-contents","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"elements":{"link":{"color":{"text":"var:preset|color|theme-1"}}},"border":{"radius":{"topLeft":"10px","topRight":"10px","bottomLeft":"10px","bottomRight":"10px"}}},"backgroundColor":"theme-6","textColor":"theme-1","layout":{"type":"constrained"}} -->
  17  <div class="wp-block-group is-style-crop-contents has-theme-1-color has-theme-6-background-color has-text-color has-background has-link-color" style="border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:10px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Title and Tagline', 'Name of the group holding the site title and tagline', 'ipsum' ); ?>"},"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
  18  <div class="wp-block-group alignfull"><!-- wp:paragraph {"metadata":{"name":"<?php echo esc_html_x( 'Title - Fit Text', 'Name of the fit-text site name paragraph', 'ipsum' ); ?>"},"style":{"typography":{"lineHeight":"1"},"spacing":{"margin":{"top":"-10rem"}}},"fitText":true} -->
  19  <p class="has-fit-text" style="margin-top:-10rem;line-height:1"><?php esc_html_e( 'Ipsum', 'ipsum' ); ?></p>
  20  <!-- /wp:paragraph -->
  21  
  22  <!-- wp:site-tagline {"style":{"typography":{"textAlign":"center"}}} /--></div>
  23  <!-- /wp:group -->
  24  
  25  <!-- wp:paragraph {"metadata":{"name":"<?php echo esc_html_x( 'Credit Line', 'Name of the credit line paragraph', 'ipsum' ); ?>"},"style":{"typography":{"textAlign":"center"}},"fontSize":"small","fontFamily":"manrope"} -->
  26  <p class="has-text-align-center has-manrope-font-family has-small-font-size">
  27  <?php
  28  /* Translators: 1. is the start of a 'a' HTML element, 2. is the end of a 'a' HTML element */
  29  printf( esc_html__( 'Designed with %1$sWordPress%2$s', 'ipsum' ), '<a href="' . esc_url( 'https://wordpress.org' ) . '" rel="nofollow">', '</a>' );
  30  ?>
  31  </p>
  32  <!-- /wp:paragraph --></div>
  33  <!-- /wp:group --></div>
  34  <!-- /wp:group -->


Generated : Thu Oct 22 08:20:34 2026 Cross-referenced by PHPXref