[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> cta-book-links.php (source)

   1  <?php
   2  /**
   3   * Title: Call to action with book links
   4   * Slug: twentytwentyfive/cta-book-links
   5   * Categories: call-to-action
   6   * Description: A call to action section with links to get the book in different websites.
   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"},"blockGap":"var:preset|spacing|50","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"800px"}} -->
  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:heading {"textAlign":"center","align":"wide","fontSize":"x-large"} -->
  17      <h2 class="wp-block-heading alignwide has-text-align-center has-x-large-font-size"><?php esc_html_e( 'Buy your copy of The Stories Book', 'twentytwentyfive' ); ?></h2>
  18      <!-- /wp:heading -->
  19  
  20      <!-- wp:buttons {"align":"wide","fontSize":"medium","layout":{"type":"flex","justifyContent":"center","flexWrap":"wrap"}} -->
  21      <div class="wp-block-buttons alignwide has-custom-font-size has-medium-font-size">
  22          <!-- wp:button -->
  23          <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Amazon', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
  24          <!-- /wp:button -->
  25  
  26          <!-- wp:button -->
  27          <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Audible', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
  28          <!-- /wp:button -->
  29  
  30          <!-- wp:button -->
  31          <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Barnes &amp; Noble', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
  32          <!-- /wp:button -->
  33  
  34          <!-- wp:button -->
  35          <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Apple Books', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
  36          <!-- /wp:button -->
  37  
  38          <!-- wp:button -->
  39          <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Bookshop.org', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
  40          <!-- /wp:button -->
  41  
  42          <!-- wp:button -->
  43          <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Spotify', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
  44          <!-- /wp:button -->
  45  
  46          <!-- wp:button -->
  47          <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'BAM!', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
  48          <!-- /wp:button -->
  49  
  50          <!-- wp:button -->
  51          <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Simon &amp; Schuster', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
  52          <!-- /wp:button -->
  53      </div>
  54      <!-- /wp:buttons -->
  55  
  56      <!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
  57      <p class="has-text-align-center has-medium-font-size"><?php echo wp_kses_post( _x( 'Outside Europe? View <a href="#" rel="nofollow">international editions</a>.', 'Pattern placeholder text with link.', 'twentytwentyfive' ) ); ?></p>
  58      <!-- /wp:paragraph -->
  59  </div>
  60  <!-- /wp:group -->


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