[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Pricing, 3 columns
   4   * Slug: twentytwentyfive/pricing-3-col
   5   * Categories: call-to-action, banner, services
   6   * Description: A three-column boxed pricing table designed to showcase services, descriptions, and pricing options.
   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":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
  15  <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
  16      <!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
  17      <div class="wp-block-group alignwide">
  18          <!-- wp:heading {"fontSize":"x-large"} -->
  19          <h2 class="wp-block-heading has-x-large-font-size"><?php esc_html_e( 'Choose your membership', 'twentytwentyfive' ); ?></h2>
  20          <!-- /wp:heading -->
  21  
  22          <!-- wp:paragraph {"className":"is-style-text-annotation"} -->
  23          <p class="is-style-text-annotation"><?php esc_html_e( 'Pricing', 'twentytwentyfive' ); ?></p>
  24          <!-- /wp:paragraph -->
  25      </div>
  26      <!-- /wp:group -->
  27  
  28      <!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|70","bottom":"0"},"blockGap":{"top":"var:preset|spacing|30","left":"var:preset|spacing|50"}}}} -->
  29      <div class="wp-block-columns alignwide" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:0">
  30          <!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}},"border":{"radius":"10px","width":"1px"}},"borderColor":"accent-6","layout":{"type":"constrained","justifyContent":"center"}} -->
  31          <div class="wp-block-column has-border-color has-accent-6-border-color" style="border-width:1px;border-radius:10px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
  32              <!-- wp:columns {"isStackedOnMobile":false,"style":{"spacing":{"blockGap":{"top":"0"},"margin":{"top":"0","bottom":"0"}}}} -->
  33              <div class="wp-block-columns is-not-stacked-on-mobile" style="margin-top:0;margin-bottom:0">
  34                  <!-- wp:column {"width":"70%"} -->
  35                  <div class="wp-block-column" style="flex-basis:70%">
  36                      <!-- wp:heading {"level":3,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}},"fontSize":"large"} -->
  37                      <h3 class="wp-block-heading has-large-font-size" style="margin-bottom:var(--wp--preset--spacing--20)"><?php esc_html_e( 'Free', 'twentytwentyfive' ); ?></h3>
  38                      <!-- /wp:heading -->
  39  
  40                      <!-- wp:paragraph {"fontSize":"small"} -->
  41                      <p class="has-small-font-size"><?php esc_html_e( 'Get access to our free articles and weekly newsletter.', 'twentytwentyfive' ); ?></p>
  42                      <!-- /wp:paragraph -->
  43                  </div>
  44                  <!-- /wp:column -->
  45  
  46                  <!-- wp:column {"style":{"spacing":{"margin":{"top":"0","bottom":"0","left":"0","right":"0"}}}} -->
  47                  <div class="wp-block-column" style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0">
  48                      <!-- wp:heading {"textAlign":"right","level":3,"style":{"typography":{"textDecoration":"line-through"}}} -->
  49                      <h3 class="wp-block-heading has-text-align-right" style="text-decoration:line-through"><?php esc_html_e( '0€', 'twentytwentyfive' ); ?></h3>
  50                      <!-- /wp:heading -->
  51                  </div>
  52                  <!-- /wp:column -->
  53              </div>
  54              <!-- /wp:columns -->
  55  
  56              <!-- wp:buttons {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}},"layout":{"type":"flex","justifyContent":"center"}} -->
  57              <div class="wp-block-buttons" style="margin-top:var(--wp--preset--spacing--30)">
  58                  <!-- wp:button {"width":100,"style":{"typography":{"lineHeight":"1.2","letterSpacing":"0.08px"}}} -->
  59                  <div class="wp-block-button has-custom-width wp-block-button__width-100" style="letter-spacing:0.08px;line-height:1.2"><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>
  60                  <!-- /wp:button -->
  61              </div>
  62              <!-- /wp:buttons -->
  63          </div>
  64          <!-- /wp:column -->
  65  
  66          <!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}},"border":{"radius":"10px","width":"1px"}},"borderColor":"accent-6","layout":{"type":"constrained","justifyContent":"center"}} -->
  67          <div class="wp-block-column has-border-color has-accent-6-border-color" style="border-width:1px;border-radius:10px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
  68              <!-- wp:columns {"isStackedOnMobile":false,"style":{"spacing":{"blockGap":{"top":"0"},"margin":{"top":"0","bottom":"0"}}}} -->
  69              <div class="wp-block-columns is-not-stacked-on-mobile" style="margin-top:0;margin-bottom:0">
  70                  <!-- wp:column {"width":"70%"} -->
  71                  <div class="wp-block-column" style="flex-basis:70%">
  72                      <!-- wp:heading {"level":3,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}},"fontSize":"large"} -->
  73                      <h3 class="wp-block-heading has-large-font-size" style="margin-bottom:var(--wp--preset--spacing--20)"><?php echo esc_html_x( 'Single', 'Name of membership package.', 'twentytwentyfive' ); ?></h3>
  74                      <!-- /wp:heading -->
  75  
  76                      <!-- wp:paragraph {"fontSize":"small"} -->
  77                      <p class="has-small-font-size"><?php esc_html_e( 'Get access to our paid newsletter and a limited pass for one event.', 'twentytwentyfive' ); ?></p>
  78                      <!-- /wp:paragraph -->
  79                  </div>
  80                  <!-- /wp:column -->
  81  
  82                  <!-- wp:column {"style":{"spacing":{"margin":{"top":"0","bottom":"0","left":"0","right":"0"}}}} -->
  83                  <div class="wp-block-column" style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0">
  84                      <!-- wp:heading {"textAlign":"right","level":3} -->
  85                      <h3 class="wp-block-heading has-text-align-right"><?php esc_html_e( '20€', 'twentytwentyfive' ); ?></h3>
  86                      <!-- /wp:heading -->
  87  
  88                      <!-- wp:paragraph {"align":"right","style":{"spacing":{"margin":{"top":"0"}}},"fontSize":"small"} -->
  89                      <p class="has-text-align-right has-small-font-size" style="margin-top:0"><?php esc_html_e( 'Month', 'twentytwentyfive' ); ?></p>
  90                      <!-- /wp:paragraph -->
  91                  </div>
  92                  <!-- /wp:column -->
  93              </div>
  94              <!-- /wp:columns -->
  95  
  96              <!-- wp:buttons {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}},"layout":{"type":"flex","justifyContent":"center"}} -->
  97              <div class="wp-block-buttons" style="margin-top:var(--wp--preset--spacing--30)">
  98                  <!-- wp:button {"width":100,"style":{"typography":{"lineHeight":"1.2","letterSpacing":"0.08px"}}} -->
  99                  <div class="wp-block-button has-custom-width wp-block-button__width-100" style="letter-spacing:0.08px;line-height:1.2"><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>
 100                  <!-- /wp:button -->
 101              </div>
 102              <!-- /wp:buttons -->
 103          </div>
 104          <!-- /wp:column -->
 105  
 106          <!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}},"border":{"radius":"10px","width":"1px"}},"borderColor":"accent-6","layout":{"type":"constrained","justifyContent":"center"}} -->
 107          <div class="wp-block-column has-border-color has-accent-6-border-color" style="border-width:1px;border-radius:10px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
 108              <!-- wp:columns {"isStackedOnMobile":false,"style":{"spacing":{"blockGap":{"top":"0"},"margin":{"top":"0","bottom":"0"}}}} -->
 109              <div class="wp-block-columns is-not-stacked-on-mobile" style="margin-top:0;margin-bottom:0">
 110                  <!-- wp:column {"width":"70%"} -->
 111                  <div class="wp-block-column" style="flex-basis:70%">
 112                      <!-- wp:heading {"level":3,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}},"fontSize":"large"} -->
 113                      <h3 class="wp-block-heading has-large-font-size" style="margin-bottom:var(--wp--preset--spacing--20)"><?php echo esc_html_x( 'Expert', 'Name of membership package.', 'twentytwentyfive' ); ?></h3>
 114                      <!-- /wp:heading -->
 115  
 116                      <!-- wp:paragraph {"fontSize":"small"} -->
 117                      <p class="has-small-font-size"><?php esc_html_e( 'Get access to our paid newsletter and an unlimited pass.', 'twentytwentyfive' ); ?></p>
 118                      <!-- /wp:paragraph -->
 119                  </div>
 120                  <!-- /wp:column -->
 121  
 122                  <!-- wp:column {"style":{"spacing":{"margin":{"top":"0","bottom":"0","left":"0","right":"0"}}}} -->
 123                  <div class="wp-block-column" style="margin-top:0;margin-right:0;margin-bottom:0;margin-left:0">
 124                      <!-- wp:heading {"textAlign":"right","level":3} -->
 125                      <h3 class="wp-block-heading has-text-align-right"><?php esc_html_e( '40€', 'twentytwentyfive' ); ?></h3>
 126                      <!-- /wp:heading -->
 127  
 128                      <!-- wp:paragraph {"align":"right","style":{"spacing":{"margin":{"top":"0"}}},"fontSize":"small"} -->
 129                      <p class="has-text-align-right has-small-font-size" style="margin-top:0"><?php esc_html_e( 'Month', 'twentytwentyfive' ); ?></p>
 130                      <!-- /wp:paragraph -->
 131                  </div>
 132                  <!-- /wp:column -->
 133              </div>
 134              <!-- /wp:columns -->
 135  
 136              <!-- wp:buttons {"style":{"spacing":{"margin":{"top":"var:preset|spacing|30"}}},"layout":{"type":"flex","justifyContent":"center"}} -->
 137              <div class="wp-block-buttons" style="margin-top:var(--wp--preset--spacing--30)">
 138                  <!-- wp:button {"width":100,"style":{"typography":{"lineHeight":"1.2","letterSpacing":"0.08px"}}} -->
 139                  <div class="wp-block-button has-custom-width wp-block-button__width-100" style="letter-spacing:0.08px;line-height:1.2"><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>
 140                  <!-- /wp:button -->
 141              </div>
 142              <!-- /wp:buttons -->
 143          </div>
 144          <!-- /wp:column -->
 145      </div>
 146      <!-- /wp:columns -->
 147  </div>
 148  <!-- /wp:group -->


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref