',
+ )
+ );
- // Media & Text Article Title.
- register_block_pattern(
- 'twentytwentyone/media-text-article-title',
- array(
- 'title' => esc_html__( 'Media and text article title', 'twentytwentyone' ),
- 'categories' => array( 'twentytwentyone' ),
- 'viewportWidth' => 1440,
- 'description' => esc_html_x( 'A Media & Text block with a big image on the left and a heading on the right. The heading is followed by a separator and a description paragraph.', 'Block pattern description', 'twentytwentyone' ),
- 'content' => '
' . esc_html__( 'Playing in the Sand', 'twentytwentyone' ) . '
',
- )
- );
+ // Media & Text Article Title.
+ register_block_pattern(
+ 'twentytwentyone/media-text-article-title',
+ array(
+ 'title' => esc_html__( 'Media and text article title', 'twentytwentyone' ),
+ 'categories' => array( 'twentytwentyone' ),
+ 'viewportWidth' => 1440,
+ 'description' => esc_html_x( 'A Media & Text block with a big image on the left and a heading on the right. The heading is followed by a separator and a description paragraph.', 'Block pattern description', 'twentytwentyone' ),
+ 'content' => '
' . esc_html__( 'Playing in the Sand', 'twentytwentyone' ) . '
',
+ )
+ );
- // Two Images Showcase.
- register_block_pattern(
- 'twentytwentyone/two-images-showcase',
- array(
- 'title' => esc_html__( 'Two images showcase', 'twentytwentyone' ),
- 'categories' => array( 'twentytwentyone' ),
- 'viewportWidth' => 1440,
- 'description' => esc_html_x( 'A media & text block with a big image on the left and a smaller one with bordered frame on the right.', 'Block pattern description', 'twentytwentyone' ),
- 'content' => '
',
- )
- );
+ // Two Images Showcase.
+ register_block_pattern(
+ 'twentytwentyone/two-images-showcase',
+ array(
+ 'title' => esc_html__( 'Two images showcase', 'twentytwentyone' ),
+ 'categories' => array( 'twentytwentyone' ),
+ 'viewportWidth' => 1440,
+ 'description' => esc_html_x( 'A media & text block with a big image on the left and a smaller one with bordered frame on the right.', 'Block pattern description', 'twentytwentyone' ),
+ 'content' => '
',
+ )
+ );
- // Overlapping Images and Text.
- register_block_pattern(
- 'twentytwentyone/overlapping-images-and-text',
- array(
- 'title' => esc_html__( 'Overlapping images and text', 'twentytwentyone' ),
- 'categories' => array( 'twentytwentyone' ),
- 'viewportWidth' => 1440,
- 'description' => esc_html_x( 'An overlapping columns block with two images and a text description.', 'Block pattern description', 'twentytwentyone' ),
- 'content' => '
' . esc_html__( 'Beautiful gardens painted by Berthe Morisot in the late 1800s', 'twentytwentyone' ) . '
',
- )
- );
+ // Overlapping Images and Text.
+ register_block_pattern(
+ 'twentytwentyone/overlapping-images-and-text',
+ array(
+ 'title' => esc_html__( 'Overlapping images and text', 'twentytwentyone' ),
+ 'categories' => array( 'twentytwentyone' ),
+ 'viewportWidth' => 1440,
+ 'description' => esc_html_x( 'An overlapping columns block with two images and a text description.', 'Block pattern description', 'twentytwentyone' ),
+ 'content' => '
' . esc_html__( 'Beautiful gardens painted by Berthe Morisot in the late 1800s', 'twentytwentyone' ) . '