mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Block Editor: Update the bundled block patterns.
This updates the block patterns included by default on WordPress to give them more personality and to make use of the design tools that has been added to the editor. Props onemaggie, melchoyce, kjellr, beafialho, gziolo. Fixes #52846. git-svn-id: https://develop.svn.wordpress.org/trunk@50794 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -19,16 +19,21 @@ function _register_core_block_patterns_and_categories() {
|
||||
|
||||
if ( $should_register_core_patterns ) {
|
||||
$core_block_patterns = array(
|
||||
'text-two-columns',
|
||||
'two-buttons',
|
||||
'two-images',
|
||||
'text-two-columns-with-images',
|
||||
'text-three-columns-buttons',
|
||||
'large-header',
|
||||
'large-header-button',
|
||||
'three-buttons',
|
||||
'heading-paragraph',
|
||||
'media-text-nature',
|
||||
'two-images-gallery',
|
||||
'three-columns-media-text',
|
||||
'quote',
|
||||
'large-header-left',
|
||||
'large-header-text-button',
|
||||
'media-text-art',
|
||||
'text-two-columns-title',
|
||||
'three-columns-text',
|
||||
'text-two-columns-title-offset',
|
||||
'heading',
|
||||
'three-images-gallery',
|
||||
'text-two-columns',
|
||||
'media-text-arquitecture',
|
||||
'two-buttons',
|
||||
);
|
||||
|
||||
foreach ( $core_block_patterns as $core_block_pattern ) {
|
||||
|
||||
Reference in New Issue
Block a user