[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Newsletter landing 4 * Slug: twentytwentyfour/page-newsletter-landing 5 * Categories: call-to-action, twentytwentyfour_page, featured 6 * Keywords: starter 7 * Block Types: core/post-content 8 * Post Types: page, wp_template 9 * Viewport width: 1100 10 */ 11 ?> 12 13 <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"accent-3","layout":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"}} --> 14 <div class="wp-block-group alignfull has-accent-3-background-color has-background" style="min-height:100vh;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"> 15 <!-- wp:group {"layout":{"type":"constrained"}} --> 16 <div class="wp-block-group"> 17 <!-- wp:image {"align":"center","width":"45px","height":"49px","scale":"cover","sizeSlug":"full","linkDestination":"none"} --> 18 <figure class="wp-block-image aligncenter size-full is-resized"> 19 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-message.webp" alt="" style="object-fit:cover;width:45px;height:49px" /> 20 </figure> 21 <!-- /wp:image --> 22 23 <!-- wp:spacer {"height":"var:preset|spacing|10"} --> 24 <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div> 25 <!-- /wp:spacer --> 26 27 <!-- wp:heading {"textAlign":"center","style":{"spacing":{"margin":{"right":"0","left":"0"},"padding":{"right":"0","left":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontSize":"x-large"} --> 28 <h2 class="wp-block-heading has-text-align-center has-contrast-color has-text-color has-link-color has-x-large-font-size" style="margin-right:0;margin-left:0;padding-right:0;padding-left:0"><?php echo esc_html_x( 'Subscribe to the newsletter and stay connected with our community', 'sample content for newsletter subscription', 'twentytwentyfour' ); ?></h2> 29 <!-- /wp:heading --> 30 31 <!-- wp:spacer {"height":"var:preset|spacing|10"} --> 32 <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div> 33 <!-- /wp:spacer --> 34 35 <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} --> 36 <div class="wp-block-buttons"> 37 <!-- wp:button --> 38 <div class="wp-block-button"> 39 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Sign up', 'Sample content for newsletter subscribe button', 'twentytwentyfour' ); ?></a> 40 </div> 41 <!-- /wp:button --> 42 </div> 43 <!-- /wp:buttons --> 44 </div> 45 <!-- /wp:group --> 46 </div> 47 <!-- /wp:group -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Wed May 1 08:20:02 2024 | Cross-referenced by PHPXref |