[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Quote. 4 * 5 * @package WordPress 6 */ 7 8 return array( 9 'title' => _x( 'Quote', 'Block pattern title' ), 10 'categories' => array( 'text' ), 11 'blockTypes' => array( 'core/quote' ), 12 'content' => '<!-- wp:group --> 13 <div class="wp-block-group"><div class="wp-block-group__inner-container"><!-- wp:separator {"className":"is-style-default"} --> 14 <hr class="wp-block-separator is-style-default"/> 15 <!-- /wp:separator --> 16 17 <!-- wp:image {"align":"center","id":null,"width":150,"height":150,"sizeSlug":"large","linkDestination":"none","className":"is-style-rounded"} --> 18 <div class="wp-block-image is-style-rounded"><figure class="aligncenter size-large is-resized"><img src="https://s.w.org/images/core/5.8/portrait.jpg" alt="' . esc_attr__( 'A side profile of a woman in a russet-colored turtleneck and white bag. She looks up with her eyes closed.' ) . '" width="150" height="150"/></figure></div> 19 <!-- /wp:image --> 20 21 <!-- wp:quote {"align":"center","className":"is-style-large"} --> 22 <blockquote class="wp-block-quote has-text-align-center is-style-large"><p>' . esc_html__( "\"Contributing makes me feel like I'm being useful to the planet.\"" ) . '</p><cite>' . wp_kses_post( __( '— Anna Wong, <em>Volunteer</em>' ) ) . '</cite></blockquote> 23 <!-- /wp:quote --> 24 25 <!-- wp:separator {"className":"is-style-default"} --> 26 <hr class="wp-block-separator is-style-default"/> 27 <!-- /wp:separator --></div></div> 28 <!-- /wp:group -->', 29 'description' => _x( 'Testimonial quote with portrait', 'Block pattern description' ), 30 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed May 26 01:00:05 2021 | Cross-referenced by PHPXref 0.7.1 |