[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Poster-like section 4 * Slug: twentytwentyfive/banner-poster 5 * Categories: banner, media 6 * Description: A section that can be used as a banner or a landing page to announce an event. 7 * 8 * @package WordPress 9 * @subpackage Twenty_Twenty_Five 10 * @since Twenty Twenty-Five 1.0 11 */ 12 13 ?> 14 <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/poster-image-background.webp","alt":"Picture of a historical building in ruins.","dimRatio":30,"overlayColor":"contrast","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|accent-1"}}},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"textColor":"accent-1","layout":{"type":"constrained"}} --> 15 <div class="wp-block-cover alignfull has-accent-1-color has-text-color has-link-color" 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);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-contrast-background-color has-background-dim-30 has-background-dim"></span><img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Picture of a historical building in ruins.', 'twentytwentyfive' ); ?>" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/poster-image-background.webp" data-object-fit="cover"/> 16 <div class="wp-block-cover__inner-container"> 17 <!-- wp:group {"align":"wide","style":{"dimensions":{"minHeight":"100vh"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","justifyContent":"stretch"}} --> 18 <div class="wp-block-group alignwide" style="min-height:100vh"> 19 <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50"}}}} --> 20 <div class="wp-block-columns alignwide"> 21 <!-- wp:column {"width":"66.66%"} --> 22 <div class="wp-block-column" style="flex-basis:66.66%"> 23 <!-- wp:heading {"textAlign":"left","align":"wide","style":{"typography":{"fontSize":"12vw","lineHeight":"0.9","fontStyle":"normal","fontWeight":"300"}}} --> 24 <h2 class="wp-block-heading alignwide has-text-align-left" style="font-size:12vw;font-style:normal;font-weight:300;line-height:0.9"><?php echo esc_html_x( '“Stories, historias, iсторії, iστορίες”', 'Sample heading in four languages.', 'twentytwentyfive' ); ?></h2> 25 <!-- /wp:heading --> 26 </div> 27 <!-- /wp:column --> 28 29 <!-- wp:column {"width":"33.33%"} --> 30 <div class="wp-block-column" style="flex-basis:33.33%"> 31 <!-- wp:paragraph {"align":"right"} --> 32 <p class="has-text-align-right"><?php echo esc_html_x( 'Aug 08—10 2025', 'Example event date in pattern.', 'twentytwentyfive' ); ?><br><?php esc_html_e( 'Fuego Bar, Mexico City', 'twentytwentyfive' ); ?></p> 33 <!-- /wp:paragraph --> 34 </div> 35 <!-- /wp:column --> 36 </div> 37 <!-- /wp:columns --> 38 39 <!-- wp:columns {"verticalAlignment":"bottom","isStackedOnMobile":false,"align":"wide"} --> 40 <div class="wp-block-columns alignwide are-vertically-aligned-bottom is-not-stacked-on-mobile"> 41 <!-- wp:column {"verticalAlignment":"bottom","width":"66.66%"} --> 42 <div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:66.66%"> 43 <!-- wp:heading {"textAlign":"left","align":"wide","style":{"typography":{"lineHeight":"0.9","fontStyle":"normal","fontWeight":"300"}},"fontSize":"xx-large"} --> 44 <h2 class="wp-block-heading alignwide has-text-align-left has-xx-large-font-size" style="font-style:normal;font-weight:300;line-height:0.9"><?php esc_html_e( 'Let’s hear them.', 'twentytwentyfive' ); ?></h2> 45 <!-- /wp:heading --> 46 </div> 47 <!-- /wp:column --> 48 49 <!-- wp:column {"verticalAlignment":"bottom","width":"33.33%"} --> 50 <div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:33.33%"> 51 <!-- wp:paragraph {"align":"right"} --> 52 <p class="has-text-align-right"><?php esc_html_e( '#stories', 'twentytwentyfive' ); ?></p> 53 <!-- /wp:paragraph --> 54 </div> 55 <!-- /wp:column --> 56 </div> 57 <!-- /wp:columns --> 58 </div> 59 <!-- /wp:group --> 60 </div> 61 </div> 62 <!-- /wp:cover -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Oct 24 08:20:01 2024 | Cross-referenced by PHPXref |