[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Hero 4 * Slug: twentytwentyfour/banner-hero 5 * Categories: banner, call-to-action, featured 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"}}},"layout":{"type":"constrained","contentSize":"","wideSize":""}} --> 11 <div class="wp-block-group alignfull" style="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 13 <!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"constrained","contentSize":"565px"}} --> 14 <div class="wp-block-group"> 15 16 <!-- wp:heading {"textAlign":"center","fontSize":"x-large","level":1} --> 17 <h1 class="wp-block-heading has-text-align-center has-x-large-font-size"><?php echo esc_html_x( 'A commitment to innovation and sustainability', 'Heading of the hero section', 'twentytwentyfour' ); ?></h1> 18 <!-- /wp:heading --> 19 20 <!-- wp:spacer {"height":"1.25rem"} --> 21 <div style="height:1.25rem" aria-hidden="true" class="wp-block-spacer"></div> 22 <!-- /wp:spacer --> 23 24 <!-- wp:paragraph {"align":"center"} --> 25 <p class="has-text-align-center"><?php echo esc_html_x( 'Études is a pioneering firm that seamlessly merges creativity and functionality to redefine architectural excellence.', 'Content of the hero section', 'twentytwentyfour' ); ?></p> 26 <!-- /wp:paragraph --> 27 28 <!-- wp:spacer {"height":"1.25rem"} --> 29 <div style="height:1.25rem" aria-hidden="true" class="wp-block-spacer"></div> 30 <!-- /wp:spacer --> 31 32 <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} --> 33 <div class="wp-block-buttons"> 34 <!-- wp:button --> 35 <div class="wp-block-button"> 36 <a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'About us', 'Button text of the hero section', 'twentytwentyfour' ); ?></a> 37 </div> 38 <!-- /wp:button --> 39 </div> 40 <!-- /wp:buttons --> 41 </div> 42 <!-- /wp:group --> 43 44 <!-- wp:spacer {"height":"var:preset|spacing|30","style":{"layout":{}}} --> 45 <div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"> 46 </div> 47 <!-- /wp:spacer --> 48 49 <!-- wp:image {"align":"wide","sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} --> 50 <figure class="wp-block-image alignwide size-full is-style-rounded"> 51 <img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/building-exterior.webp" alt="<?php esc_attr_e( 'Building exterior in Toronto, Canada', 'twentytwentyfour' ); ?>" /> 52 </figure> 53 <!-- /wp:image --> 54 </div> 55 <!-- /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 |