[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/block-patterns/ -> two-images.php (source)

   1  <?php
   2  /**
   3   * Two images side by side block pattern.
   4   *
   5   * @package WordPress
   6   */
   7  
   8  return array(
   9      'title'       => __( 'Two images side by side' ),
  10      'categories'  => array( 'gallery' ),
  11      'description' => _x( 'An image gallery with two example images.', 'Block pattern description' ),
  12      '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 -->",
  13  );


Generated: Wed Apr 28 01:00:05 2021 Cross-referenced by PHPXref 0.7.1