[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Title text and button on left with image on right 4 * Slug: twentytwentyfour/text-title-left-image-right 5 * Categories: banner, about, featured 6 * Viewport width: 1400 7 * Description: A title, a paragraph and a CTA button on the left with an image on the right. 8 */ 9 ?> 10 11 <!-- wp:group {"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","layout":{"type":"constrained"}} --> 12 <div class="wp-block-group alignfull has-accent-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 {"verticalAlignment":null,"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|50"}}}} --> 14 <div class="wp-block-columns alignwide"> 15 <!-- wp:column {"verticalAlignment":"stretch","width":"50%"} --> 16 <div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:50%"> 17 <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} --> 18 <div class="wp-block-group" style="min-height:100%"> 19 20 <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large","fontFamily":"heading"} --> 21 <p class="has-heading-font-family has-x-large-font-size" style="line-height:1.2"><?php echo esc_html_x( 'Études offers comprehensive consulting, management, design, and research solutions. Every architectural endeavor is an opportunity to shape the future.', 'Headline for the About pattern', 'twentytwentyfour' ); ?></p> 22 <!-- /wp:paragraph --> 23 24 <!-- wp:group {"layout":{"type":"constrained","contentSize":"300px","justifyContent":"left"}} --> 25 <div class="wp-block-group"> 26 27 <!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} --> 28 <p><?php echo esc_html_x( 'Leaving an indelible mark on the landscape of tomorrow.', 'Description for the About pattern', 'twentytwentyfour' ); ?></p> 29 <!-- /wp:paragraph --> 30 31 <!-- wp:buttons --> 32 <div class="wp-block-buttons"> 33 <!-- wp:button --> 34 <div class="wp-block-button"> 35 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'About us', 'Call to Action button text', 'twentytwentyfour' ); ?></a> 36 </div> 37 <!-- /wp:button --> 38 </div> 39 <!-- /wp:buttons --> 40 </div> 41 <!-- /wp:group --> 42 </div> 43 <!-- /wp:group --> 44 </div> 45 <!-- /wp:column --> 46 47 <!-- wp:column {"verticalAlignment":"center","width":"50%"} --> 48 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"> 49 <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} --> 50 <figure class="wp-block-image size-large is-style-rounded"> 51 <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" /> 52 </figure> 53 <!-- /wp:image --> 54 </div> 55 <!-- /wp:column --> 56 </div> 57 <!-- /wp:columns --> 58 </div> 59 <!-- /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 |