call-to-action.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Title: Call to action
  4. * Slug: twentytwentythree/cta
  5. * Categories: featured
  6. * Keywords: Call to action
  7. * Block Types: core/buttons
  8. */
  9. ?>
  10. <!-- wp:columns {"align":"wide"} -->
  11. <div class="wp-block-columns alignwide">
  12. <!-- wp:column -->
  13. <div class="wp-block-column">
  14. <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large"} -->
  15. <p class="has-x-large-font-size" style="line-height:1.2"><?php echo esc_html_x( 'Got any book recommendations?', 'sample content for call to action', 'twentytwentythree' ); ?>
  16. </p>
  17. <!-- /wp:paragraph -->
  18. <!-- wp:buttons -->
  19. <div class="wp-block-buttons">
  20. <!-- wp:button {"fontSize":"small"} -->
  21. <div class="wp-block-button has-custom-font-size has-small-font-size">
  22. <a class="wp-block-button__link wp-element-button">
  23. <?php echo esc_html_x( 'Get In Touch', 'sample content for call to action button', 'twentytwentythree' ); ?>
  24. </a>
  25. </div>
  26. <!-- /wp:button -->
  27. </div>
  28. <!-- /wp:buttons -->
  29. </div>
  30. <!-- /wp:column -->
  31. <!-- wp:column -->
  32. <div class="wp-block-column">
  33. <!-- wp:separator -->
  34. <hr class="wp-block-separator has-alpha-channel-opacity"/>
  35. <!-- /wp:separator -->
  36. </div>
  37. <!-- /wp:column -->
  38. </div>
  39. <!-- /wp:columns -->