[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/patterns/ -> text-centered-statement-small.php (source)

   1  <?php
   2  /**
   3   * Title: Centered statement, small
   4   * Slug: twentytwentyfour/text-centered-statement-small
   5   * Categories: text, about
   6   * Keywords: mission, introduction
   7   * Viewport width: 1200
   8   * Description: A centered italic text statement with compact padding.
   9   *
  10   * @package WordPress
  11   * @subpackage Twenty_Twenty_Four
  12   * @since Twenty Twenty-Four 1.0
  13   */
  14  
  15  ?>
  16  
  17  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"800px"}} -->
  18  <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;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)">
  19  
  20      <!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large","level":1} -->
  21      <h1 class="wp-block-heading has-text-align-center has-x-large-font-size">
  22          <em>
  23          <?php
  24          /* Translators: About link placeholder */
  25              $about_link = '<a href="#" rel="nofollow">' . esc_html__( 'Money Studies', 'twentytwentyfour' ) . '</a>';
  26              echo sprintf(
  27                  /* Translators: About text placeholder */
  28                  esc_html__( 'I write about finance, management and economy, my book “%1$s” is out now.', 'twentytwentyfour' ),
  29                  $about_link
  30              );
  31              ?>
  32          </em>
  33      </h1>
  34      <!-- /wp:heading -->
  35  </div>
  36  <!-- /wp:group -->


Generated : Fri Aug 14 08:20:23 2026 Cross-referenced by PHPXref