[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> cta-newsletter.php (source)

   1  <?php
   2  /**
   3   * Title: Newsletter sign-up
   4   * Slug: twentytwentyfive/cta-newsletter
   5   * Keywords: call-to-action, newsletter
   6   * Categories: call-to-action
   7   *
   8   * @package WordPress
   9   * @subpackage Twenty_Twenty_Five
  10   * @since Twenty Twenty-Five 1.0
  11   */
  12  
  13  ?>
  14  <!-- wp:group {"tagName":"aside","align":"full","className":"is-style-section-3","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"dimensions":{"minHeight":""}},"layout":{"type":"constrained","contentSize":"800px"}} -->
  15  <aside class="wp-block-group alignfull is-style-section-3" style="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)">
  16      <!-- wp:group {"style":{"dimensions":{"minHeight":"360px"},"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center","justifyContent":"center"}} -->
  17      <div class="wp-block-group" style="min-height:360px;margin-top:0;margin-bottom:0">
  18          <!-- wp:heading {"textAlign":"center","fontSize":"xx-large"} -->
  19          <h2 class="wp-block-heading has-text-align-center has-xx-large-font-size"><?php esc_html_e( 'Sign up to get daily stories', 'twentytwentyfive' ); ?></h2>
  20          <!-- /wp:heading -->
  21  
  22          <!-- wp:paragraph {"align":"center","className":"is-style-text-subtitle"} -->
  23          <p class="has-text-align-center is-style-text-subtitle"><?php esc_html_e( 'Get access to a curated collection of moments in time featuring photographs from historical relevance.', 'twentytwentyfive' ); ?></p>
  24          <!-- /wp:paragraph -->
  25  
  26          <!-- wp:spacer {"height":"var:preset|spacing|30"} -->
  27          <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
  28          <!-- /wp:spacer -->
  29  
  30          <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
  31          <div class="wp-block-buttons"><!-- wp:button {"textAlign":"center"} -->
  32              <div class="wp-block-button"><a class="wp-block-button__link has-text-align-center wp-element-button"><?php esc_html_e( 'Subscribe', 'twentytwentyfive' ); ?></a></div>
  33          <!-- /wp:button --></div>
  34          <!-- /wp:buttons -->
  35      </div>
  36      <!-- /wp:group -->
  37  </aside>
  38  <!-- /wp:group -->


Generated : Thu Oct 24 08:20:01 2024 Cross-referenced by PHPXref