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