diff --git a/wp-includes/block-patterns.php b/wp-includes/block-patterns.php index 128775e937..0dc01df73f 100644 --- a/wp-includes/block-patterns.php +++ b/wp-includes/block-patterns.php @@ -34,6 +34,13 @@ function _register_core_block_patterns_and_categories() { 'text-two-columns', 'media-text-arquitecture', 'two-buttons', + 'query-standard-posts', + 'query-medium-posts', + 'query-small-posts', + 'query-grid-posts', + 'query-large-title-posts', + 'query-offset-posts', + 'social-links-shared-background-color', ); foreach ( $core_block_patterns as $core_block_pattern ) { @@ -49,4 +56,5 @@ function _register_core_block_patterns_and_categories() { register_block_pattern_category( 'gallery', array( 'label' => _x( 'Gallery', 'Block pattern category' ) ) ); register_block_pattern_category( 'header', array( 'label' => _x( 'Headers', 'Block pattern category' ) ) ); register_block_pattern_category( 'text', array( 'label' => _x( 'Text', 'Block pattern category' ) ) ); + register_block_pattern_category( 'query', array( 'label' => __( 'Query', 'Block pattern category' ) ) ); } diff --git a/wp-includes/block-patterns/query-grid-posts.php b/wp-includes/block-patterns/query-grid-posts.php new file mode 100644 index 0000000000..d82bb8d208 --- /dev/null +++ b/wp-includes/block-patterns/query-grid-posts.php @@ -0,0 +1,23 @@ + __( 'Grid', 'gutenberg' ), + 'blockTypes' => array( 'core/query' ), + 'categories' => array( 'query' ), + 'content' => ' +
+ + +
+ +
+ + + + ', +); diff --git a/wp-includes/block-patterns/query-large-title-posts.php b/wp-includes/block-patterns/query-large-title-posts.php new file mode 100644 index 0000000000..000620ef38 --- /dev/null +++ b/wp-includes/block-patterns/query-large-title-posts.php @@ -0,0 +1,31 @@ + __( 'Large title', 'gutenberg' ), + 'blockTypes' => array( 'core/query' ), + 'categories' => array( 'query' ), + 'content' => ' +
+
+ +
+ + + +
+
+ + + +
+
+ +
+
+ ', +); diff --git a/wp-includes/block-patterns/query-medium-posts.php b/wp-includes/block-patterns/query-medium-posts.php new file mode 100644 index 0000000000..2395e4a7b2 --- /dev/null +++ b/wp-includes/block-patterns/query-medium-posts.php @@ -0,0 +1,27 @@ + __( 'Image at left', 'gutenberg' ), + 'blockTypes' => array( 'core/query' ), + 'categories' => array( 'query' ), + 'content' => ' +
+ + +
+
+ + +
+
+
+ + +
+ ', +); diff --git a/wp-includes/block-patterns/query-offset-posts.php b/wp-includes/block-patterns/query-offset-posts.php new file mode 100644 index 0000000000..f223cb1163 --- /dev/null +++ b/wp-includes/block-patterns/query-offset-posts.php @@ -0,0 +1,40 @@ + __( 'Offset', 'gutenberg' ), + 'blockTypes' => array( 'core/query' ), + 'categories' => array( 'query' ), + 'content' => ' +
+
+
+
+ + + + + + +
+
+ + +
+
+ + + + + + +
+
+
+
+ ', +); diff --git a/wp-includes/block-patterns/query-small-posts.php b/wp-includes/block-patterns/query-small-posts.php new file mode 100644 index 0000000000..c66e6dedcf --- /dev/null +++ b/wp-includes/block-patterns/query-small-posts.php @@ -0,0 +1,26 @@ + __( 'Small image and title', 'gutenberg' ), + 'blockTypes' => array( 'core/query' ), + 'categories' => array( 'query' ), + 'content' => ' +
+ + +
+
+ + +
+
+ + +
+ ', +); diff --git a/wp-includes/block-patterns/query-standard-posts.php b/wp-includes/block-patterns/query-standard-posts.php new file mode 100644 index 0000000000..d6fcc2f270 --- /dev/null +++ b/wp-includes/block-patterns/query-standard-posts.php @@ -0,0 +1,25 @@ + __( 'Standard', 'gutenberg' ), + 'blockTypes' => array( 'core/query' ), + 'categories' => array( 'query' ), + 'content' => ' +
+ + + + + +
+ + + +
+ ', +); diff --git a/wp-includes/block-patterns/social-links-shared-background-color.php b/wp-includes/block-patterns/social-links-shared-background-color.php new file mode 100644 index 0000000000..96287e156d --- /dev/null +++ b/wp-includes/block-patterns/social-links-shared-background-color.php @@ -0,0 +1,18 @@ + __( 'Social links with a shared background color', 'gutenberg' ), + 'categories' => array( 'buttons' ), + 'blockTypes' => array( 'core/social-links' ), + 'viewportWidth' => 500, + 'content' => ' + + ', +); diff --git a/wp-includes/version.php b/wp-includes/version.php index e8f651b4c0..c1cef609d3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50947'; +$wp_version = '5.8-alpha-50948'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.