[ 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 */ 8 ?> 9 10 <!-- 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"}} --> 11 <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)"> 12 <!-- wp:columns {"verticalAlignment":null,"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|50"}}}} --> 13 <div class="wp-block-columns alignwide"> 14 <!-- wp:column {"verticalAlignment":"stretch","width":"50%"} --> 15 <div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:50%"> 16 <!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} --> 17 <div class="wp-block-group" style="min-height:100%"> 18 19 <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large","fontFamily":"heading"} --> 20 <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> 21 <!-- /wp:paragraph --> 22 23 <!-- wp:group {"layout":{"type":"constrained","contentSize":"300px","justifyContent":"left"}} --> 24 <div class="wp-block-group"> 25 26 <!-- wp:paragraph {"style":{"layout":{"selfStretch":"fixed","flexSize":"50%"}}} --> 27 <p><?php echo esc_html_x( 'Leaving an indelible mark on the landscape of tomorrow.', 'Description for the About pattern', '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( 'About us', 'Call to Action button text', '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":"center","width":"50%"} --> 47 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"> 48 <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"large","linkDestination":"none","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 : Wed May 1 08:20:02 2024 | Cross-referenced by PHPXref |