[ 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  ?>
  11  
  12  <!-- 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"}} -->
  13  <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)">
  14  
  15      <!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large","level":1} -->
  16      <h1 class="wp-block-heading has-text-align-center has-x-large-font-size">
  17          <em>
  18          <?php
  19          /* Translators: About link placeholder */
  20              $about_link = '<a href="#" rel="nofollow">' . esc_html__( 'Money Studies', 'twentytwentyfour' ) . '</a>';
  21              echo sprintf(
  22                  /* Translators: About text placeholder */
  23                  esc_html__( 'I write about finance, management and economy, my book “%1$s” is out now.', 'twentytwentyfour' ),
  24                  $about_link
  25              );
  26              ?>
  27          </em>
  28      </h1>
  29      <!-- /wp:heading -->
  30  </div>
  31  <!-- /wp:group -->


Generated : Thu Dec 26 08:20:01 2024 Cross-referenced by PHPXref