[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> services-subscriber-only-section.php (source)

   1  <?php
   2  /**
   3   * Title: Services, subscriber only section
   4   * Slug: twentytwentyfive/services-subscriber-only-section
   5   * Categories: call-to-action, services
   6   * Description: A subscriber-only section highlighting exclusive services and offerings.
   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":{"blockGap":"var:preset|spacing|50","padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
  15  <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)">
  16      <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|70","left":"var:preset|spacing|70"}}}} -->
  17      <div class="wp-block-columns alignwide">
  18          <!-- wp:column {"verticalAlignment":"center"} -->
  19          <div class="wp-block-column is-vertically-aligned-center">
  20              <!-- wp:heading {"fontSize":"xx-large"} -->
  21              <h2 class="wp-block-heading has-xx-large-font-size"><?php esc_html_e( 'Subscribe to get unlimited access', 'twentytwentyfive' ); ?></h2>
  22              <!-- /wp:heading -->
  23  
  24              <!-- wp:list {"className":"is-style-checkmark-list","style":{"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"padding":{"left":"var:preset|spacing|30"}}}} -->
  25              <ul style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--30)" class="wp-block-list is-style-checkmark-list">
  26                  <!-- wp:list-item {"fontSize":"medium"} -->
  27                  <li class="has-medium-font-size"><?php esc_html_e( 'Get access to our paid articles and weekly newsletter.', 'twentytwentyfive' ); ?></li>
  28                  <!-- /wp:list-item -->
  29  
  30                  <!-- wp:list-item {"fontSize":"medium"} -->
  31                  <li class="has-medium-font-size"><?php esc_html_e( 'Join our IRL event.', 'twentytwentyfive' ); ?></li>
  32                  <!-- /wp:list-item -->
  33  
  34                  <!-- wp:list-item {"fontSize":"medium"} -->
  35                  <li class="has-medium-font-size"><?php esc_html_e( 'Get a free tote bag.', 'twentytwentyfive' ); ?></li>
  36                  <!-- /wp:list-item -->
  37  
  38                  <!-- wp:list-item {"fontSize":"medium"} -->
  39                  <li class="has-medium-font-size"><?php esc_html_e( 'An elegant addition of home decor collection.', 'twentytwentyfive' ); ?></li>
  40                  <!-- /wp:list-item -->
  41  
  42                  <!-- wp:list-item {"fontSize":"medium"} -->
  43                  <li class="has-medium-font-size"><?php esc_html_e( 'Join our forums.', 'twentytwentyfive' ); ?></li>
  44                  <!-- /wp:list-item -->
  45              </ul>
  46              <!-- /wp:list -->
  47  
  48              <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"left","flexWrap":"nowrap"}} -->
  49              <div class="wp-block-buttons">
  50                  <!-- wp:button {"className":"is-style-fill"} -->
  51                  <div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'Subscribe', 'twentytwentyfive' ); ?></a></div>
  52                  <!-- /wp:button -->
  53  
  54                  <!-- wp:button {"className":"is-style-outline"} -->
  55                  <div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'View plans', 'twentytwentyfive' ); ?></a></div>
  56                  <!-- /wp:button -->
  57              </div>
  58              <!-- /wp:buttons -->
  59  
  60              <!-- wp:paragraph {"fontSize":"small"} -->
  61              <p class="has-small-font-size"><?php esc_html_e( 'Cancel or pause anytime.', 'twentytwentyfive' ); ?></p>
  62              <!-- /wp:paragraph -->
  63          </div>
  64          <!-- /wp:column -->
  65  
  66          <!-- wp:column {"verticalAlignment":"center"} -->
  67          <div class="wp-block-column is-vertically-aligned-center">
  68              <!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
  69              <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/services-subscriber-photo.webp" alt="<?php esc_attr_e( 'Smartphones capturing a scenic wildflower meadow with trees', 'twentytwentyfive' ); ?>"/></figure>
  70              <!-- /wp:image -->
  71          </div>
  72          <!-- /wp:column -->
  73      </div>
  74      <!-- /wp:columns -->
  75  </div>
  76  <!-- /wp:group -->


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