PluginProbe
Gutenberg / 10.5.3
Gutenberg v10.5.3
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / lib / block-patterns / quote.php

quote.php in Gutenberg 10.5.3, at lib/block-patterns/quote.php

31 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Quote.
4 *
5 * @package WordPress
6 */
7
8 return array(
9 'title' => _x( 'Quote', 'Block pattern title', 'default' ),
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.', 'default' ) . '" 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.\"", 'default' ) . '</p><cite>' . wp_kses_post( __( '— Anna Wong, <em>Volunteer</em>', 'default' ) ) . '</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', 'default' ),
30 );
31