// Links Area.
register_block_pattern( 'twentytwentyone/links-area',
array
( 'title' =>
esc_html__( 'Links area', 'twentytwentyone'
),
'categories' => array
( 'twentytwentyone'
),
'viewportWidth' => 1440,
'blockTypes' => array
( 'core/cover'
),
'description' =>
esc_html_x( 'A huge text followed by social networks and email address links.', 'Block pattern description', 'twentytwentyone'
),
'content' => '<!-- wp:cover {"overlayColor":"green","contentPosition":"center center","align":"wide","className":"is-style-twentytwentyone-border"} --><div class="wp-block-cover alignwide has-green-background-color has-background-dim is-style-twentytwentyone-border"><div class="wp-block-cover__inner-container"><!-- wp:spacer {"height":20} --><div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div><!-- /wp:spacer --><!-- wp:paragraph {"fontSize":"huge"} --><p class="has-huge-font-size">' .
wp_kses_post( __( 'Let’s Connect.', 'twentytwentyone'
) ) . '</p><!-- /wp:paragraph --><!-- wp:spacer {"height":75} --><div style="height:75px" aria-hidden="true" class="wp-block-spacer"></div><!-- /wp:spacer --><!-- wp:columns --><div class="wp-block-columns"><!-- wp:column --><div class="wp-block-column"><!-- wp:paragraph --><p><a href="#" data-type="URL">' .
esc_html__( 'Twitter', 'twentytwentyone'
) . '</a> / <a href="#" data-type="URL">' .
esc_html__( 'Instagram', 'twentytwentyone'
) . '</a> / <a href="#" data-type="URL">' .
esc_html__( 'Dribbble', 'twentytwentyone'
) . '</a></p><!-- /wp:paragraph --></div><!-- /wp:column --><!-- wp:column --><div class="wp-block-column"><!-- wp:paragraph --><p><a href="#">' .
esc_html__( 'example@example.com', 'twentytwentyone'
) . '</a></p><!-- /wp:paragraph --></div><!-- /wp:column --></div><!-- /wp:columns --><!-- wp:spacer {"height":20} --><div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div><!-- /wp:spacer --></div></div><!-- /wp:cover --><!-- wp:paragraph --><p></p><!-- /wp:paragraph -->',
) );
// 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'
),