diff --git a/stewart/inc/block-patterns.php b/stewart/inc/block-patterns.php index 73c473119..05690b8aa 100644 --- a/stewart/inc/block-patterns.php +++ b/stewart/inc/block-patterns.php @@ -14,10 +14,11 @@ */ function stewart_register_block_patterns() { $block_pattern_categories = array( - 'footer' => array( 'label' => __( 'Footers', 'stewart' ) ), - 'header' => array( 'label' => __( 'Headers', 'stewart' ) ), - 'pages' => array( 'label' => __( 'Pages', 'stewart' ) ), - 'sidebar' => array( 'label' => __( 'Sidebars', 'stewart' ) ), + 'footer' => array( 'label' => __( 'Footers', 'stewart' ) ), + 'header' => array( 'label' => __( 'Headers', 'stewart' ) ), + 'pages' => array( 'label' => __( 'Pages', 'stewart' ) ), + 'sidebar' => array( 'label' => __( 'Sidebars', 'stewart' ) ), + 'query' => array( 'label' => __( 'Query', 'stewart' ) ), ); /** @@ -60,6 +61,7 @@ function stewart_register_block_patterns() { 'sidebar-introduction', 'sidebar-blogging', 'sidebar-categories-tags', + 'posts-list', ); /** diff --git a/stewart/inc/patterns/posts-list.php b/stewart/inc/patterns/posts-list.php new file mode 100644 index 000000000..8cd2ace84 --- /dev/null +++ b/stewart/inc/patterns/posts-list.php @@ -0,0 +1,31 @@ + __( 'Posts list', 'stewart' ), + 'categories' => array( 'query' ), + 'content' => ' +
+ + + + + + + + + + + + + + +
+ + + +
+
+ ', +); diff --git a/stewart/templates/archive.html b/stewart/templates/archive.html index d81ea62b5..aab77e4a3 100644 --- a/stewart/templates/archive.html +++ b/stewart/templates/archive.html @@ -14,29 +14,9 @@ - -
- + - - - - - - - - - - - - -
- - - -
-
- + diff --git a/stewart/templates/index.html b/stewart/templates/index.html index fe865bc01..fb3d7b975 100644 --- a/stewart/templates/index.html +++ b/stewart/templates/index.html @@ -8,29 +8,11 @@
-
-
- - +
+ +
- - - - - - - - - - -
- - - -
-
-
diff --git a/stewart/templates/search.html b/stewart/templates/search.html index afa87601a..c3ec7faf5 100644 --- a/stewart/templates/search.html +++ b/stewart/templates/search.html @@ -7,22 +7,20 @@ -
-
-
- +
- - + - - - + + + + +
+ +
- +
-
-