[ 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 an inverted card. The site name runs large 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"},"blockGap":"var:preset|spacing|20"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"border":{"radius":"10px"}},"backgroundColor":"accent-3","textColor":"base","layout":{"type":"constrained"}} -->
  17  <div class="wp-block-group is-style-crop-contents has-base-color has-accent-3-background-color has-text-color has-background has-link-color" style="border-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":{"top":"var:preset|spacing|40","left":"var:preset|spacing|20"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
  18  <div class="wp-block-group alignfull"><!-- wp:site-title {"level":0,"isLink":false,"metadata":{"name":"<?php echo esc_html_x( 'Title - Fit Text', 'Name of the fit-text site name paragraph', 'ipsum' ); ?>"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400","lineHeight":"0","textAlign":"center"},"spacing":{"padding":{"bottom":"var:preset|spacing|80","top":"var:preset|spacing|60"}},"@mobile":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|20","bottom":"var:preset|spacing|80"}}}},"fitText":true} /-->
  19  
  20  <!-- wp:site-tagline {"style":{"typography":{"textAlign":"center","fontWeight":"700"}}} /--></div>
  21  <!-- /wp:group -->
  22  
  23  <!-- 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"} -->
  24  <p class="has-text-align-center has-manrope-font-family has-small-font-size">
  25  <?php
  26  printf(
  27      /* translators: Designed with WordPress. %s: WordPress link. */
  28      esc_html__( 'Designed with %s', 'ipsum' ),
  29      '<a href="' . esc_url( __( 'https://wordpress.org', 'ipsum' ) ) . '" rel="nofollow">WordPress</a>'
  30  );
  31  ?>
  32  </p>
  33  <!-- /wp:paragraph --></div>
  34  <!-- /wp:group --></div>
  35  <!-- /wp:group -->


Generated : Wed Dec 2 08:20:02 2026 Cross-referenced by PHPXref