[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> banner-intro.php (source)

   1  <?php
   2  /**
   3   * Title: Intro with left-aligned description
   4   * Slug: twentytwentyfive/banner-intro
   5   * Categories: banner
   6   * Description: A large left-aligned heading with a brand name emphasized in bold.
   7   *
   8   * @package WordPress
   9   * @subpackage Twenty_Twenty_Five
  10   * @since Twenty Twenty-Five 1.0
  11   */
  12  
  13  ?>
  14  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
  15  <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)">
  16      <!-- wp:heading {"align":"wide","fontSize":"x-large"} -->
  17      <h2 class="wp-block-heading alignwide has-x-large-font-size">
  18          <?php
  19              printf(
  20                  /* translators: %s is the brand name, e.g., 'Fleurs'. */
  21                  esc_html_x( 'We\'re %s, our mission is to deliver exquisite flower arrangements that not only adorn living spaces but also inspire a deeper appreciation for natural beauty.', 'Pattern placeholder text.', 'twentytwentyfive' ),
  22                  '<strong>' . esc_html_x( 'Fleurs', 'Example brand name.', 'twentytwentyfive' ) . '</strong>'
  23              );
  24              ?>
  25      </h2>
  26      <!-- /wp:heading -->
  27  </div>
  28  <!-- /wp:group -->


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref