mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 23:39:42 +01:00
8410b2fc26
This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into `trunk` for 6.7 beta 2. A full list of changes can be found on GitHub: https://github.com/WordPress/twentytwentyfive/commits/trunk/?since=2024-10-01&until=2024-10-07. Props poena, mukesh27, jonnywatersbb, cliffralessio, afercia, samtoohey93, codersantosh, carstenbach, gohelkunjan, ryelle, aaronrobertshaw, wildworks, yukinobu, audrasjb, mdviralsampat, hanneslsm, ddewan, greenshady, joedolson, areziaal, alaminfirdows, kartikmehta, cwhitmore. Fixes #62180. Built from https://develop.svn.wordpress.org/trunk@59191 git-svn-id: http://core.svn.wordpress.org/trunk@58586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
61 lines
3.2 KiB
PHP
61 lines
3.2 KiB
PHP
<?php
|
|
/**
|
|
* Title: Call to action with book links
|
|
* Slug: twentytwentyfive/cta-book-links
|
|
* Categories: call-to-action, featured
|
|
* Description: A call to action section with links to get the book in different websites.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twenty_Five
|
|
* @since Twenty Twenty-Five 1.0
|
|
*/
|
|
|
|
?>
|
|
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|50"}},"layout":{"type":"constrained","contentSize":"800px"}} -->
|
|
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
|
|
<!-- wp:heading {"textAlign":"center","align":"wide","fontSize":"x-large"} -->
|
|
<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>
|
|
<!-- /wp:heading -->
|
|
|
|
<!-- wp:buttons {"align":"wide","fontSize":"medium","layout":{"type":"flex","justifyContent":"center","flexWrap":"wrap"}} -->
|
|
<div class="wp-block-buttons alignwide has-custom-font-size has-medium-font-size">
|
|
<!-- wp:button -->
|
|
<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>
|
|
<!-- /wp:button -->
|
|
|
|
<!-- wp:button -->
|
|
<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>
|
|
<!-- /wp:button -->
|
|
|
|
<!-- wp:button -->
|
|
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Barnes & Noble', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
|
|
<!-- /wp:button -->
|
|
|
|
<!-- wp:button -->
|
|
<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>
|
|
<!-- /wp:button -->
|
|
|
|
<!-- wp:button -->
|
|
<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>
|
|
<!-- /wp:button -->
|
|
|
|
<!-- wp:button -->
|
|
<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>
|
|
<!-- /wp:button -->
|
|
|
|
<!-- wp:button -->
|
|
<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>
|
|
<!-- /wp:button -->
|
|
|
|
<!-- wp:button -->
|
|
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Simon & Schuster', 'Example brand name.', 'twentytwentyfive' ); ?></a></div>
|
|
<!-- /wp:button -->
|
|
</div>
|
|
<!-- /wp:buttons -->
|
|
|
|
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
|
<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>
|
|
<!-- /wp:paragraph -->
|
|
</div>
|
|
<!-- /wp:group -->
|