From 6ace825dda9800a5149edbaf90a553f93bbb5971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20S=C3=A1nchez?= Date: Tue, 24 Mar 2020 17:42:42 -0600 Subject: [PATCH] Add 'Hero Two Columns' pattern --- lib/client-assets.php | 1 + lib/patterns/hero-two-columns.json | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 lib/patterns/hero-two-columns.json diff --git a/lib/client-assets.php b/lib/client-assets.php index ce683c3161b4f..869ee5a4c7dc5 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -656,4 +656,5 @@ function gutenberg_extend_settings_block_patterns( $settings ) { register_pattern( 'core/two-buttons', gutenberg_load_block_pattern( 'two-buttons' ) ); register_pattern( 'core/cover-abc', gutenberg_load_block_pattern( 'cover-abc' ) ); register_pattern( 'core/two-images', gutenberg_load_block_pattern( 'two-images' ) ); + register_pattern( 'core/hero-two-columns', gutenberg_load_block_pattern( 'hero-two-columns' ) ); } diff --git a/lib/patterns/hero-two-columns.json b/lib/patterns/hero-two-columns.json new file mode 100644 index 0000000000000..eb1805c3dff0e --- /dev/null +++ b/lib/patterns/hero-two-columns.json @@ -0,0 +1,5 @@ +{ + "__file": "wp_block", + "title": "Hero Two Columns", + "content": "\n
\n

Enjoy a wide variety of

\n\n\n\n

Custom Designs

\n\n\n\n
\n
\n

Extend it with over 54,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and much more. Hundreds of thousands of developers and site owners trust it worldwide.

\n
\n\n\n\n
\n

Hundreds of thousands of developers and site owners trust it worldwide. Extend it with over 54,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and much more.

\n
\n
\n
\n" + }