[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> pricing-2-col.php (source)

   1  <?php
   2  /**
   3   * Title: Pricing, 2 columns
   4   * Slug: twentytwentyfive/pricing-2-col
   5   * Categories: call-to-action
   6   * Viewport width: 1400
   7   * Description: Pricing section with two columns, pricing plan, description, and call-to-action buttons.
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty_Five
  11   * @since Twenty Twenty-Five 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
  16  <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
  17      <!-- wp:heading {"textAlign":"center","align":"wide"} -->
  18      <h2 class="wp-block-heading alignwide has-text-align-center"><?php esc_html_e( 'Pricing', 'twentytwentyfive' ); ?></h2>
  19      <!-- /wp:heading -->
  20  
  21      <!-- wp:paragraph {"align":"center"} -->
  22      <p class="has-text-align-center"><?php esc_html_e( 'Cancel or pause anytime.', 'twentytwentyfive' ); ?></p>
  23      <!-- /wp:paragraph -->
  24  
  25      <!-- wp:spacer {"height":"var:preset|spacing|40"} -->
  26      <div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div>
  27      <!-- /wp:spacer -->
  28  
  29      <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|30","left":"var:preset|spacing|50"}}}} -->
  30      <div class="wp-block-columns alignwide">
  31          <!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","right":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50"}},"border":{"width":"1px","color":"var:preset|color|accent-6","radius":"10px"}}} -->
  32          <div class="wp-block-column has-border-color" style="border-color:var(--wp--preset--color--accent-6);border-width:1px;border-radius:10px;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)">
  33              <!-- wp:heading {"level":3} -->
  34              <h3 class="wp-block-heading" id="free"><?php esc_html_e( 'Free', 'twentytwentyfive' ); ?></h3>
  35              <!-- /wp:heading -->
  36  
  37              <!-- wp:paragraph {"fontSize":"large"} -->
  38              <p class="has-large-font-size"><?php esc_html_e( '0€', 'twentytwentyfive' ); ?></p>
  39              <!-- /wp:paragraph -->
  40  
  41              <!-- wp:list {"className":"is-style-checkmark-list","style":{"spacing":{"padding":{"left":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"fontSize":"small"} -->
  42              <ul style="padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)" class="wp-block-list is-style-checkmark-list has-small-font-size">
  43                  <!-- wp:list-item -->
  44                  <li><?php esc_html_e( 'Get access to our paid articles and weekly newsletter.', 'twentytwentyfive' ); ?></li>
  45                  <!-- /wp:list-item -->
  46  
  47                  <!-- wp:list-item -->
  48                  <li><?php esc_html_e( 'Join our IRL events.', 'twentytwentyfive' ); ?></li>
  49                  <!-- /wp:list-item -->
  50  
  51                  <!-- wp:list-item -->
  52                  <li><?php esc_html_e( 'Get a free tote bag.', 'twentytwentyfive' ); ?></li>
  53                  <!-- /wp:list-item -->
  54  
  55                  <!-- wp:list-item -->
  56                  <li><?php esc_html_e( 'An elegant addition of home decor collection.', 'twentytwentyfive' ); ?></li>
  57                  <!-- /wp:list-item -->
  58  
  59                  <!-- wp:list-item -->
  60                  <li><?php esc_html_e( 'Join our forums.', 'twentytwentyfive' ); ?></li>
  61                  <!-- /wp:list-item -->
  62              </ul>
  63              <!-- /wp:list -->
  64  
  65              <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
  66              <div class="wp-block-buttons">
  67                  <!-- wp:button {"width":100} -->
  68                  <div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Join', 'Button text, refers to joining a community. Verb.', 'twentytwentyfive' ); ?></a></div>
  69                  <!-- /wp:button -->
  70              </div>
  71              <!-- /wp:buttons -->
  72          </div>
  73          <!-- /wp:column -->
  74  
  75          <!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","right":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50"}},"border":{"width":"1px","color":"var:preset|color|accent-6","radius":"10px"}},"layout":{"type":"default"}} -->
  76          <div class="wp-block-column has-border-color" style="border-color:var(--wp--preset--color--accent-6);border-width:1px;border-radius:10px;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)">
  77              <!-- wp:heading {"level":3} -->
  78              <h3 class="wp-block-heading" id="single"><?php echo esc_html_x( 'Single', 'Name of membership package.', 'twentytwentyfive' ); ?></h3>
  79              <!-- /wp:heading -->
  80  
  81              <!-- wp:paragraph {"fontSize":"large"} -->
  82              <p class="has-large-font-size"><?php esc_html_e( '20€/month', 'twentytwentyfive' ); ?></p>
  83              <!-- /wp:paragraph -->
  84  
  85              <!-- wp:list {"className":"is-style-checkmark-list","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|20","left":"var:preset|spacing|20"}}},"fontSize":"small"} -->
  86              <ul style="padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)" class="wp-block-list is-style-checkmark-list has-small-font-size">
  87                  <!-- wp:list-item -->
  88                  <li><?php esc_html_e( 'Get access to our paid articles and weekly newsletter.', 'twentytwentyfive' ); ?></li>
  89                  <!-- /wp:list-item -->
  90  
  91                  <!-- wp:list-item -->
  92                  <li><?php esc_html_e( 'Join our IRL events.', 'twentytwentyfive' ); ?></li>
  93                  <!-- /wp:list-item -->
  94  
  95                  <!-- wp:list-item -->
  96                  <li><?php esc_html_e( 'Get a free tote bag.', 'twentytwentyfive' ); ?></li>
  97                  <!-- /wp:list-item -->
  98  
  99                  <!-- wp:list-item -->
 100                  <li><?php esc_html_e( 'An elegant addition of home decor collection.', 'twentytwentyfive' ); ?></li>
 101                  <!-- /wp:list-item -->
 102  
 103                  <!-- wp:list-item -->
 104                  <li><?php esc_html_e( 'Join our forums.', 'twentytwentyfive' ); ?></li>
 105                  <!-- /wp:list-item -->
 106              </ul>
 107              <!-- /wp:list -->
 108  
 109              <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
 110              <div class="wp-block-buttons">
 111                  <!-- wp:button {"width":100} -->
 112                  <div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Join', 'Button text, refers to joining a community. Verb.', 'twentytwentyfive' ); ?></a></div>
 113                  <!-- /wp:button -->
 114              </div>
 115              <!-- /wp:buttons -->
 116          </div>
 117          <!-- /wp:column -->
 118      </div>
 119      <!-- /wp:columns -->
 120  </div>
 121  <!-- /wp:group -->


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