[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Centered call to action 4 * Slug: twentytwentyfour/cta-subscribe-centered 5 * Categories: call-to-action 6 * Keywords: newsletter, subscribe, button 7 * Description: Subscribers CTA section with a title, a paragraph and a CTA button. 8 */ 9 ?> 10 11 <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"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":{"border":{"radius":"16px"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"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--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)"> 15 <!-- wp:spacer {"height":"var:preset|spacing|10"} --> 16 <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div> 17 <!-- /wp:spacer --> 18 19 <!-- wp:heading {"textAlign":"center","fontSize":"x-large"} --> 20 <h2 class="wp-block-heading has-text-align-center has-x-large-font-size"><?php echo esc_html_x( 'Join 900+ subscribers', 'Sample text for Subscriber Heading with numbers', 'twentytwentyfour' ); ?></h2> 21 <!-- /wp:heading --> 22 23 <!-- wp:paragraph {"align":"center"} --> 24 <p class="has-text-align-center"><?php echo esc_html_x( 'Stay in the loop with everything you need to know.', 'Sample text for Subscriber Description', 'twentytwentyfour' ); ?></p> 25 <!-- /wp:paragraph --> 26 27 <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} --> 28 <div class="wp-block-buttons"> 29 <!-- wp:button --> 30 <div class="wp-block-button"> 31 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Sign up', 'Sample text for Sign Up Button', 'twentytwentyfour' ); ?></a> 32 </div> 33 <!-- /wp:button --> 34 </div> 35 <!-- /wp:buttons --> 36 37 <!-- wp:spacer {"height":"var:preset|spacing|10"} --> 38 <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div> 39 <!-- /wp:spacer --> 40 </div> 41 <!-- /wp:group --> 42 </div> 43 <!-- /wp:group -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |