mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Block Editor: Add the initial set of block patterns.
Included patterns: text-two-columns two-buttons two-images text-two-columns-with-images text-three-columns-buttons large-header large-header-paragraph three-buttons quote testimonials Props mcsf, nrqsnchz. See #50550. git-svn-id: https://develop.svn.wordpress.org/trunk@48334 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* Two Buttons block pattern.
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Two buttons' ),
|
||||
'content' => "<!-- wp:buttons {\"align\":\"center\"} -->\n<div class=\"wp-block-buttons aligncenter\"><!-- wp:button {\"backgroundColor\":\"very-dark-gray\",\"borderRadius\":0} -->\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background has-very-dark-gray-background-color no-border-radius\">" . __( 'Button One' ) . "</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"textColor\":\"very-dark-gray\",\"borderRadius\":0,\"className\":\"is-style-outline\"} -->\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link has-text-color has-very-dark-gray-color no-border-radius\">" . __( 'Button Two' ) . "</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons -->",
|
||||
'viewportWidth' => 500,
|
||||
'categories' => array( 'buttons' ),
|
||||
);
|
||||
Reference in New Issue
Block a user