[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Banner with description and images grid 4 * Slug: twentytwentyfive/banner-description-images-grid 5 * Categories: banner, featured 6 * Description: A banner with a short paragraph, and two images displayed in a grid layout. 7 * 8 * @package WordPress 9 * @subpackage Twenty_Twenty_Five 10 * @since Twenty Twenty-Five 1.0 11 */ 12 13 ?> 14 <!-- wp:group {"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} --> 15 <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0"> 16 <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|50"}},"layout":{"type":"grid","minimumColumnWidth":"26rem"}} --> 17 <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"> 18 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"space-between","justifyContent":"stretch","flexWrap":"nowrap"}} --> 19 <div class="wp-block-group"> 20 <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} --> 21 <div class="wp-block-group"> 22 <!-- wp:heading {"className":"is-style-text-annotation"} --> 23 <h2 class="wp-block-heading is-style-text-annotation"><?php esc_html_e( 'About Us', 'twentytwentyfive' ); ?></h2> 24 <!-- /wp:heading --> 25 26 <!-- wp:paragraph {"className":"is-style-text-subtitle"} --> 27 <p class="is-style-text-subtitle"> 28 <?php 29 printf( 30 /* translators: %s is the brand name, e.g., 'Fleurs'. */ 31 esc_html__( '%s is a flower delivery and subscription business. Based in the EU, our mission is not only to deliver stunning flower arrangements across but also foster knowledge and enthusiasm on the beautiful gift of nature: flowers.', 'twentytwentyfive' ), 32 '<strong>' . esc_html_x( 'Fleurs', 'Example brand name.', 'twentytwentyfive' ) . '</strong>' 33 ); 34 ?> 35 </p> 36 <!-- /wp:paragraph --> 37 38 </div> 39 <!-- /wp:group --> 40 41 <!-- wp:image {"aspectRatio":"16/9","scale":"cover","sizeSlug":"full","linkDestination":"none"} --> 42 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/grid-flower-1.webp" alt="<?php esc_attr_e( 'Photography close up of a red flower.', 'twentytwentyfive' ); ?>" style="aspect-ratio:16/9;object-fit:cover"/></figure> 43 <!-- /wp:image --> 44 </div> 45 <!-- /wp:group --> 46 47 <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"none"} --> 48 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/grid-flower-2.webp" alt="<?php esc_attr_e( 'Black and white photography close up of a flower.', 'twentytwentyfive' ); ?>" style="aspect-ratio:3/4;object-fit:cover"/></figure> 49 <!-- /wp:image --> 50 </div> 51 <!-- /wp:group --> 52 </div> 53 <!-- /wp:group -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Dec 26 08:20:01 2024 | Cross-referenced by PHPXref |