[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Footer with newsletter signup
   4   * Slug: twentytwentyfive/footer-newsletter
   5   * Categories: footer
   6   * Block Types: core/template-part/footer
   7   * Description: Footer with large site title and newsletter signup.
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Five
  11   * @since Twenty Twenty-Five 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:group {"align":"full","className":"is-style-section-3","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained","justifyContent":"center"}} -->
  16  <div class="wp-block-group alignfull is-style-section-3" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
  17      <!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
  18      <div class="wp-block-group alignwide">
  19          <!-- wp:heading {"style":{"typography":{"fontSize":"clamp(1rem, 380px, 24vw)","letterSpacing":"-0.02em","fontWeight":"600","fontStyle":"normal"}}} -->
  20          <h2 class="wp-block-heading" style="font-size:clamp(1rem, 380px, 24vw);font-style:normal;font-weight:600;letter-spacing:-0.02em"><?php esc_html_e( 'Stories', 'twentytwentyfive' ); ?></h2>
  21          <!-- /wp:heading -->
  22  
  23          <!-- wp:paragraph {"fontSize":"x-large"} -->
  24          <p class="has-x-large-font-size"><?php esc_html_e( 'Receive our articles in your inbox.', 'twentytwentyfive' ); ?></p>
  25          <!-- /wp:paragraph -->
  26  
  27          <!-- wp:buttons -->
  28          <div class="wp-block-buttons">
  29              <!-- wp:button -->
  30              <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'Subscribe', 'twentytwentyfive' ); ?></a></div>
  31              <!-- /wp:button -->
  32          </div>
  33          <!-- /wp:buttons -->
  34  
  35          <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  36          <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
  37          <!-- /wp:spacer -->
  38  
  39          <!-- wp:group {"align":"full","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
  40          <div class="wp-block-group alignfull">
  41              <!-- wp:paragraph {"fontSize":"small"} -->
  42              <p class="has-small-font-size"><?php esc_html_e( 'Twenty Twenty-Five', 'twentytwentyfive' ); ?></p>
  43              <!-- /wp:paragraph -->
  44              <!-- wp:paragraph {"fontSize":"small"} -->
  45              <p class="has-small-font-size">
  46                  <?php
  47                      printf(
  48                          /* translators: Designed with WordPress. %s: WordPress link. */
  49                          esc_html__( 'Designed with %s', 'twentytwentyfive' ),
  50                          '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfive' ) ) . '" rel="nofollow">WordPress</a>'
  51                      );
  52                      ?>
  53              </p>
  54              <!-- /wp:paragraph -->
  55          </div>
  56          <!-- /wp:group -->
  57      </div>
  58      <!-- /wp:group -->
  59  </div>
  60  <!-- /wp:group -->


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref