[ 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 */ 8 ?> 9 10 <!-- 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"}} --> 11 <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)"> 12 <!-- wp:columns {"verticalAlignment":"center","align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"}}}} --> 13 <div class="wp-block-columns alignwide are-vertically-aligned-center"> 14 <!-- wp:column {"verticalAlignment":"center","width":"50%"} --> 15 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"> 16 <!-- wp:heading --> 17 <h2 class="wp-block-heading"><?php echo esc_html_x( 'Enhance your architectural journey with the Études Architect app.', 'Sample heading', 'twentytwentyfour' ); ?></h2> 18 <!-- /wp:heading --> 19 20 <!-- wp:list {"style":{"typography":{"lineHeight":"1.75"}},"className":"is-style-checkmark-list"} --> 21 <ul class="is-style-checkmark-list" style="line-height:1.75"> 22 <!-- wp:list-item --> 23 <li><?php echo esc_html_x( 'Collaborate with fellow architects.', 'Sample list item', 'twentytwentyfour' ); ?></li> 24 <!-- /wp:list-item --> 25 26 <!-- wp:list-item --> 27 <li><?php echo esc_html_x( 'Showcase your projects.', 'Sample list item', 'twentytwentyfour' ); ?></li> 28 <!-- /wp:list-item --> 29 30 <!-- wp:list-item --> 31 <li><?php echo esc_html_x( 'Experience the world of architecture.', 'Sample list item', 'twentytwentyfour' ); ?></li> 32 <!-- /wp:list-item --> 33 </ul> 34 <!-- /wp:list --> 35 36 <!-- wp:buttons --> 37 <div class="wp-block-buttons"> 38 <!-- wp:button --> 39 <div class="wp-block-button"> 40 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Download app', 'Button text of this section', 'twentytwentyfour' ); ?></a> 41 </div> 42 <!-- /wp:button --> 43 44 <!-- wp:button {"className":"is-style-outline"} --> 45 <div class="wp-block-button is-style-outline"> 46 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'How it works', 'Button text of this section', 'twentytwentyfour' ); ?></a> 47 </div> 48 <!-- /wp:button --> 49 </div> 50 <!-- /wp:buttons --> 51 </div> 52 <!-- /wp:column --> 53 54 <!-- wp:column {"verticalAlignment":"center","width":"50%"} --> 55 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"> 56 <!-- wp:image {"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} --> 57 <figure class="wp-block-image size-full is-style-rounded"> 58 <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" /> 59 </figure> 60 <!-- /wp:image --> 61 </div> 62 <!-- /wp:column --> 63 </div> 64 <!-- /wp:columns --> 65 </div> 66 <!-- /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 |