| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Call to action with image on right 4 * Slug: twentytwentyfour/cta-content-image-on-right 5 * Categories: call-to-action, banner 6 * Viewport width: 1400 7 * Description: A title, paragraph, two CTA buttons, and an image for a general CTA section. 8 * 9 * @package WordPress 10 * @subpackage Twenty_Twenty_Four 11 * @since Twenty Twenty-Four 1.0 12 */ 13 14 ?> 15 16 <!-- 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"}} --> 17 <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)"> 18 <!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"}}}} --> 19 <div class="wp-block-columns alignwide are-vertically-aligned-center"> 20 <!-- wp:column {"verticalAlignment":"center","width":"50%"} --> 21 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"> 22 <!-- wp:heading --> 23 <h2 class="wp-block-heading"><?php echo esc_html_x( 'Enhance your architectural journey with the Études Architect app.', 'Sample heading', 'twentytwentyfour' ); ?></h2> 24 <!-- /wp:heading --> 25 26 <!-- wp:list {"style":{"typography":{"lineHeight":"1.75"}},"className":"is-style-checkmark-list"} --> 27 <ul class="is-style-checkmark-list" style="line-height:1.75"> 28 <!-- wp:list-item --> 29 <li><?php echo esc_html_x( 'Collaborate with fellow architects.', 'Sample list item', 'twentytwentyfour' ); ?></li> 30 <!-- /wp:list-item --> 31 32 <!-- wp:list-item --> 33 <li><?php echo esc_html_x( 'Showcase your projects.', 'Sample list item', 'twentytwentyfour' ); ?></li> 34 <!-- /wp:list-item --> 35 36 <!-- wp:list-item --> 37 <li><?php echo esc_html_x( 'Experience the world of architecture.', 'Sample list item', 'twentytwentyfour' ); ?></li> 38 <!-- /wp:list-item --> 39 </ul> 40 <!-- /wp:list --> 41 42 <!-- wp:buttons --> 43 <div class="wp-block-buttons"> 44 <!-- wp:button --> 45 <div class="wp-block-button"> 46 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Download app', 'Button text of this section', 'twentytwentyfour' ); ?></a> 47 </div> 48 <!-- /wp:button --> 49 50 <!-- wp:button {"className":"is-style-outline"} --> 51 <div class="wp-block-button is-style-outline"> 52 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'How it works', 'Button text of this section', 'twentytwentyfour' ); ?></a> 53 </div> 54 <!-- /wp:button --> 55 </div> 56 <!-- /wp:buttons --> 57 </div> 58 <!-- /wp:column --> 59 60 <!-- wp:column {"verticalAlignment":"center","width":"50%"} --> 61 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"> 62 <!-- wp:image {"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} --> 63 <figure class="wp-block-image size-full is-style-rounded"> 64 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/abstract-geometric-art.webp" alt="<?php esc_attr_e( 'White abstract geometric artwork from Dresden, Germany', 'twentytwentyfour' ); ?>" style="aspect-ratio:4/3;object-fit:cover" /> 65 </figure> 66 <!-- /wp:image --> 67 </div> 68 <!-- /wp:column --> 69 </div> 70 <!-- /wp:columns --> 71 </div> 72 <!-- /wp:group -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sun Aug 16 08:20:24 2026 | Cross-referenced by PHPXref |