| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Image with caption block pattern 4 * 5 * @package WordPress 6 * @subpackage Twenty_Twenty_Two 7 * @since Twenty Twenty-Two 1.0 8 */ 9 10 return array( 11 'title' => __( 'Image with caption', 'twentytwentytwo' ), 12 'categories' => array( 'featured', 'columns', 'gallery' ), 13 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"6rem","bottom":"6rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 14 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding-bottom:6rem"><!-- wp:media-text {"mediaId":202,"mediaLink":"' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-gray.jpg","mediaType":"image","verticalAlignment":"bottom","imageFill":false} --> 15 <div class="wp-block-media-text alignwide is-stacked-on-mobile is-vertically-aligned-bottom"><figure class="wp-block-media-text__media"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-gray.jpg" alt="' . esc_attr__( 'Hummingbird illustration', 'twentytwentytwo' ) . '" class="wp-image-202 size-full"/></figure><div class="wp-block-media-text__content"><!-- wp:paragraph --> 16 <p><strong>' . esc_html__( 'Hummingbird', 'twentytwentytwo' ) . '</strong></p> 17 <!-- /wp:paragraph --> 18 19 <!-- wp:paragraph --> 20 <p>' . esc_html__( 'A beautiful bird featuring a surprising set of color feathers.', 'twentytwentytwo' ) . '</p> 21 <!-- /wp:paragraph --></div></div> 22 <!-- /wp:media-text --></div> 23 <!-- /wp:group -->', 24 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Aug 15 08:20:25 2026 | Cross-referenced by PHPXref |