[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: RSVP 4 * Slug: twentytwentyfour/cta-rsvp 5 * Categories: call-to-action, featured 6 * Viewport width: 1100 7 * Description: A large RSVP heading sideways, a description, and a CTA button. 8 */ 9 ?> 10 11 <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'RSVP', 'Name of RSVP pattern', 'twentytwentyfour' ); ?>"},"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"backgroundColor":"accent-5","layout":{"type":"constrained"}} --> 12 <div class="wp-block-group alignfull has-accent-5-background-color has-background" 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:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|30"}}}} --> 14 <div class="wp-block-columns alignwide"> 15 <!-- wp:column {"verticalAlignment":"stretch","width":"40%"} --> 16 <div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:40%"> 17 <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} --> 18 <div class="wp-block-group" style="min-height:100%"> 19 20 <!-- wp:heading {"textAlign":"right","level":2,"style":{"typography":{"fontSize":"12rem","writingMode":"vertical-rl","lineHeight":"1"},"spacing":{"margin":{"right":"0","left":"calc( var(--wp--preset--spacing--20) * -1)"}}}} --> 21 <h2 class="wp-block-heading has-text-align-right" style="margin-right:0;margin-left:calc( var(--wp--preset--spacing--20) * -1);font-size:12rem;line-height:1;writing-mode:vertical-rl"><?php echo esc_html_x( 'RSVP', 'Initials for ´please respond´', 'twentytwentyfour' ); ?></h2> 22 <!-- /wp:heading --> 23 24 <!-- wp:group {"layout":{"type":"constrained","contentSize":"300px","justifyContent":"left"}} --> 25 <div class="wp-block-group"> 26 <!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} --> 27 <p><?php echo esc_html_x( 'Experience the fusion of imagination and expertise with Études Arch Summit, February 2025.', 'RSVP call to action description', 'twentytwentyfour' ); ?></p> 28 <!-- /wp:paragraph --> 29 30 <!-- wp:buttons --> 31 <div class="wp-block-buttons"> 32 <!-- wp:button --> 33 <div class="wp-block-button"> 34 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Reserve your spot', 'Call to action button text for the reservation button', 'twentytwentyfour' ); ?></a> 35 </div> 36 <!-- /wp:button --> 37 </div> 38 <!-- /wp:buttons --> 39 </div> 40 <!-- /wp:group --> 41 </div> 42 <!-- /wp:group --> 43 </div> 44 <!-- /wp:column --> 45 46 <!-- wp:column {"verticalAlignment":"top","width":"60%"} --> 47 <div class="wp-block-column is-vertically-aligned-top" style="flex-basis:60%"> 48 <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"large","linkDestination":"none","style":{"color":{"duotone":"var:preset|duotone|duotone-5"}},"className":"is-style-rounded"} --> 49 <figure class="wp-block-image size-large is-style-rounded"> 50 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/museum.webp" alt="<?php esc_attr_e( 'A ramp along a curved wall in the Kiasma Museu, Helsinki, Finland', 'twentytwentyfour' ); ?>" style="aspect-ratio:3/4;object-fit:cover" /> 51 </figure> 52 <!-- /wp:image --> 53 </div> 54 <!-- /wp:column --> 55 </div> 56 <!-- /wp:columns --> 57 </div> 58 <!-- /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 |