[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/patterns/ -> cta-pricing.php (source)

   1  <?php
   2  /**
   3   * Title: Pricing
   4   * Slug: twentytwentyfour/cta-pricing
   5   * Categories: call-to-action, services
   6   * Viewport width: 1400
   7   * Description: A pricing section with a title, a paragraph and three pricing levels.
   8   */
   9  ?>
  10  
  11  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Pricing Table', 'Name for the pricing pattern', 'twentytwentyfour' ); ?>"},"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
  12  <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;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)">
  13      <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"base-2","layout":{"type":"constrained"}} -->
  14      <div class="wp-block-group alignwide has-base-2-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--40)">
  15          <!-- wp:group {"align":"wide","layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  16          <div class="wp-block-group alignwide">
  17              <!-- wp:heading {"textAlign":"center"} -->
  18              <h2 class="wp-block-heading has-text-align-center"><?php echo esc_html_x( 'Our Services', 'Sample heading for pricing pattern', 'twentytwentyfour' ); ?></h2>
  19              <!-- /wp:heading -->
  20  
  21              <!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"1.125rem"},"spacing":{"margin":{"top":"var:preset|spacing|10"}}}} -->
  22              <p class="has-text-align-center" style="margin-top:var(--wp--preset--spacing--10);font-size:1.125rem"><?php echo esc_html_x( 'We offer flexible options, which you can adapt to the different needs of each project.', 'Sample description for a pricing table', 'twentytwentyfour' ); ?></p>
  23              <!-- /wp:paragraph -->
  24          </div>
  25          <!-- /wp:group -->
  26  
  27          <!-- wp:spacer {"height":"var:preset|spacing|30"} -->
  28          <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
  29          <!-- /wp:spacer -->
  30  
  31          <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|20"}}}} -->
  32          <div class="wp-block-columns alignwide">
  33              <!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|30","bottom":"var:preset|spacing|10"}},"border":{"top":{"color":"var:preset|color|contrast-3","width":"1px"}}}} -->
  34              <div class="wp-block-column" style="border-top-color:var(--wp--preset--color--contrast-3);border-top-width:1px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--30)">
  35                  <!-- wp:heading {"textAlign":"center","level":4,"style":{"spacing":{"padding":{"top":"1px"}}},"fontSize":"medium"} -->
  36                  <h4 class="wp-block-heading has-text-align-center has-medium-font-size" style="padding-top:1px">
  37                      <em><?php echo esc_html_x( 'Free', 'Sample heading for the first pricing level', 'twentytwentyfour' ); ?></em>
  38                  </h4>
  39                  <!-- /wp:heading -->
  40  
  41                  <!-- wp:heading {"textAlign":"center","level":5,"fontSize":"x-large"} -->
  42                  <h5 class="wp-block-heading has-text-align-center has-x-large-font-size"><?php echo esc_html_x( '$0', 'Sample price for the first pricing level', 'twentytwentyfour' ); ?></h5>
  43                  <!-- /wp:heading -->
  44  
  45                  <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
  46                  <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer">
  47                  </div>
  48                  <!-- /wp:spacer -->
  49  
  50                  <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  51                  <div class="wp-block-group">
  52                      <!-- wp:paragraph {"align":"center"} -->
  53                      <p class="has-text-align-center"><?php echo wp_kses_post( _x( 'Access to 5 exclusive <em>Études Articles</em> per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?></p>
  54                      <!-- /wp:paragraph -->
  55  
  56                      <!-- wp:separator {"backgroundColor":"contrast-3"} -->
  57                      <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
  58                      <!-- /wp:separator -->
  59  
  60                      <!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast-2"}}}},"textColor":"contrast-2"} -->
  61                      <p class="has-text-align-center has-contrast-2-color has-text-color has-link-color">
  62                          <s><?php echo esc_html_x( 'Weekly print edition.', 'Feature for pricing level', 'twentytwentyfour' ); ?></s>
  63                      </p>
  64                      <!-- /wp:paragraph -->
  65  
  66                      <!-- wp:separator {"backgroundColor":"contrast-3"} -->
  67                      <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
  68                      <!-- /wp:separator -->
  69  
  70                      <!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast-2"}}}},"textColor":"contrast-2"} -->
  71                      <p class="has-text-align-center has-contrast-2-color has-text-color has-link-color">
  72                          <s><?php echo wp_kses_post( _x( 'Exclusive access to the <em>Études</em> app for iOS and Android.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?></s>
  73                      </p>
  74                      <!-- /wp:paragraph -->
  75                  </div>
  76                  <!-- /wp:group -->
  77  
  78                  <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
  79                  <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer">
  80                  </div>
  81                  <!-- /wp:spacer -->
  82  
  83                  <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
  84                  <div class="wp-block-buttons">
  85                      <!-- wp:button {"width":100,"className":"is-style-outline"} -->
  86                      <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-outline">
  87                          <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Subscribe', 'Button text for the first pricing level', 'twentytwentyfour' ); ?></a>
  88                      </div>
  89                      <!-- /wp:button -->
  90                  </div>
  91                  <!-- /wp:buttons -->
  92              </div>
  93              <!-- /wp:column -->
  94  
  95              <!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|30","bottom":"var:preset|spacing|10"}},"border":{"top":{"color":"var:preset|color|contrast","width":"2px"}}}} -->
  96              <div class="wp-block-column" style="border-top-color:var(--wp--preset--color--contrast);border-top-width:2px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--30)">
  97                  <!-- wp:heading {"textAlign":"center","level":4} -->
  98                  <h4 class="wp-block-heading has-text-align-center">
  99                      <em><?php echo esc_html_x( 'Connoisseur', 'Sample heading for the second pricing level', 'twentytwentyfour' ); ?></em>
 100                  </h4>
 101                  <!-- /wp:heading -->
 102  
 103                  <!-- wp:heading {"textAlign":"center","level":5,"fontSize":"x-large"} -->
 104                  <h5 class="wp-block-heading has-text-align-center has-x-large-font-size"><?php echo esc_html_x( '$12', 'Sample price for the second pricing level', 'twentytwentyfour' ); ?></h5>
 105                  <!-- /wp:heading -->
 106  
 107                  <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
 108                  <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer">
 109                  </div>
 110                  <!-- /wp:spacer -->
 111  
 112                  <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
 113                  <div class="wp-block-group">
 114                      <!-- wp:paragraph {"align":"center"} -->
 115                      <p class="has-text-align-center"><?php echo wp_kses_post( _x( 'Access to 20 exclusive <em>Études Articles</em> per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?></p>
 116                      <!-- /wp:paragraph -->
 117  
 118                      <!-- wp:separator {"backgroundColor":"contrast-3"} -->
 119                      <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
 120                      <!-- /wp:separator -->
 121  
 122                      <!-- wp:paragraph {"align":"center"} -->
 123                      <p class="has-text-align-center"><?php echo esc_html_x( 'Weekly print edition.', 'Feature for pricing level', 'twentytwentyfour' ); ?></p>
 124                      <!-- /wp:paragraph -->
 125  
 126                      <!-- wp:separator {"backgroundColor":"contrast-3"} -->
 127                      <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
 128                      <!-- /wp:separator -->
 129  
 130                      <!-- wp:paragraph {"align":"center"} -->
 131                      <p class="has-text-align-center"><?php echo wp_kses_post( _x( 'Exclusive access to the <em>Études</em> app for iOS and Android.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?></p>
 132                      <!-- /wp:paragraph -->
 133                  </div>
 134                  <!-- /wp:group -->
 135  
 136                  <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
 137                  <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer">
 138                  </div>
 139                  <!-- /wp:spacer -->
 140  
 141                  <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
 142                  <div class="wp-block-buttons">
 143                      <!-- wp:button {"width":100,"className":"is-style-fill"} -->
 144                      <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-fill">
 145                          <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Subscribe', 'Button text for the second pricing level', 'twentytwentyfour' ); ?></a>
 146                      </div>
 147                      <!-- /wp:button -->
 148                  </div>
 149                  <!-- /wp:buttons -->
 150              </div>
 151              <!-- /wp:column -->
 152  
 153              <!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|30","bottom":"var:preset|spacing|10"}},"border":{"top":{"color":"var:preset|color|contrast-3","width":"1px"}}}} -->
 154              <div class="wp-block-column" style="border-top-color:var(--wp--preset--color--contrast-3);border-top-width:1px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--10);padding-left:var(--wp--preset--spacing--30)">
 155                  <!-- wp:heading {"textAlign":"center","level":4,"style":{"spacing":{"padding":{"top":"1px"}}},"fontSize":"medium"} -->
 156                  <h4 class="wp-block-heading has-text-align-center has-medium-font-size" style="padding-top:1px">
 157                      <em><?php echo esc_html_x( 'Expert', 'Sample heading for the third pricing level', 'twentytwentyfour' ); ?></em>
 158                  </h4>
 159                  <!-- /wp:heading -->
 160  
 161                  <!-- wp:heading {"textAlign":"center","level":5,"fontSize":"x-large"} -->
 162                  <h5 class="wp-block-heading has-text-align-center has-x-large-font-size"><?php echo esc_html_x( '$28', 'Sample price for the third pricing level', 'twentytwentyfour' ); ?></h5>
 163                  <!-- /wp:heading -->
 164  
 165                  <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
 166                  <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer">
 167                  </div>
 168                  <!-- /wp:spacer -->
 169  
 170                  <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
 171                  <div class="wp-block-group">
 172                      <!-- wp:paragraph {"align":"center"} -->
 173                      <p class="has-text-align-center"><?php echo wp_kses_post( _x( 'Exclusive, unlimited access to <em>Études Articles</em>.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?></p>
 174                      <!-- /wp:paragraph -->
 175  
 176                      <!-- wp:separator {"backgroundColor":"contrast-3"} -->
 177                      <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
 178                      <!-- /wp:separator -->
 179  
 180                      <!-- wp:paragraph {"align":"center"} -->
 181                      <p class="has-text-align-center"><?php echo esc_html_x( 'Weekly print edition.', 'Feature for pricing level', 'twentytwentyfour' ); ?></p>
 182                      <!-- /wp:paragraph -->
 183  
 184                      <!-- wp:separator {"backgroundColor":"contrast-3"} -->
 185                      <hr class="wp-block-separator has-text-color has-contrast-3-color has-alpha-channel-opacity has-contrast-3-background-color has-background is-style-wide" />
 186                      <!-- /wp:separator -->
 187  
 188                      <!-- wp:paragraph {"align":"center"} -->
 189                      <p class="has-text-align-center"><?php echo wp_kses_post( _x( 'Exclusive access to the <em>Études</em> app for iOS and Android', 'Feature for pricing level', 'twentytwentyfour' ) ); ?></p>
 190                      <!-- /wp:paragraph -->
 191                  </div>
 192                  <!-- /wp:group -->
 193  
 194                  <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
 195                  <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer">
 196                  </div>
 197                  <!-- /wp:spacer -->
 198  
 199                  <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
 200                  <div class="wp-block-buttons">
 201                      <!-- wp:button {"width":100,"className":"is-style-outline"} -->
 202                      <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-outline">
 203                          <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Subscribe', 'Button text for the third pricing level', 'twentytwentyfour' ); ?></a>
 204                      </div>
 205                      <!-- /wp:button -->
 206                  </div>
 207                  <!-- /wp:buttons -->
 208              </div>
 209              <!-- /wp:column -->
 210          </div>
 211          <!-- /wp:columns -->
 212      </div>
 213      <!-- /wp:group -->
 214  </div>
 215  <!-- /wp:group -->


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref