mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-17 19:12:57 +02:00
Props ocean90. Reviewed by youknowriad, SergeyBiryukov. Merges [48726] to the 5.5 branch. Fixes #50842. Built from https://develop.svn.wordpress.org/branches/5.5@48727 git-svn-id: http://core.svn.wordpress.org/branches/5.5@48489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
14 lines
992 B
PHP
14 lines
992 B
PHP
<?php
|
|
/**
|
|
* Two images side by side block pattern.
|
|
*
|
|
* @package WordPress
|
|
*/
|
|
|
|
return array(
|
|
'title' => __( 'Two images side by side' ),
|
|
'categories' => array( 'gallery' ),
|
|
'description' => _x( 'An image gallery with two example images.', 'Block pattern description' ),
|
|
'content' => "<!-- wp:gallery {\"ids\":[null,null],\"align\":\"wide\"} -->\n<figure class=\"wp-block-gallery alignwide columns-2 is-cropped\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img src=\"https://s.w.org/images/core/5.5/don-quixote-05.jpg\" alt=\"" . __( 'An old pencil drawing of Don Quixote and Sancho Panza sitting on their horses, by Wilhelm Marstrand.' ) . '"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://s.w.org/images/core/5.5/don-quixote-01.jpg" alt="' . __( 'An old pencil drawing of Don Quixote and Sancho Panza sitting on their horses, by Wilhelm Marstrand.' ) . "\"/></figure></li></ul></figure>\n<!-- /wp:gallery -->",
|
|
);
|