diff --git a/theme/inc/Block_Patterns/Block_Patterns.php b/theme/inc/Block_Patterns/Block_Patterns.php index 72ce67fe..6acf1d14 100644 --- a/theme/inc/Block_Patterns/Block_Patterns.php +++ b/theme/inc/Block_Patterns/Block_Patterns.php @@ -64,41 +64,19 @@ public function register_block_pattern_categories() { * @return void */ public function register_block_patterns() { - /* - Reminder: Remove Image IDs! - BOILERPLATE: - register_block_pattern( - 'lhpbpt/my-pattern-name', - array( - 'title' => _x( 'Pattern Name', 'pattern title', 'lhpbpt' ), - 'description' => __( 'Pattern Description', 'lhpbpt' ), - // phpcs:disable - 'content' => ' - -

Hanlo, I bims, 1 weld, lol :>

- - ', - // phpcs:enable - 'categories' => array( 'lhpbpt' ), - 'keywords' => array( - _x( 'Keyword name', 'block pattern keywords', 'lhpbpt' ), - _x( 'Keyword name', 'block pattern keywords', 'lhpbpt' ), - ), - ) - ); - */ register_block_pattern( 'lhpbpt/example-pattern', array( - 'title' => _x( 'Example Pattern', 'pattern title', 'lhpbpt' ), - 'description' => __( 'A simple example pattern. If you can read this at prod call an admin.', 'lhpbpt' ), + 'title' => _x( 'Example Pattern', 'pattern title', 'lhpbpt' ), + 'description' => __( 'A simple example pattern. If you can read this at prod call an admin.', 'lhpbpt' ), // phpcs:disable - 'content' => $this->get_block_pattern_string( get_stylesheet_directory() . '/inc/Block_Patterns/bp-example.php' ), + 'content' => $this->get_block_pattern_string( get_stylesheet_directory() . '/inc/Block_Patterns/bp-example.php' ), // phpcs:enable - 'categories' => array( 'lhpbpt-pattern' ), - 'keywords' => array( + 'categories' => array( 'lhpbpt-pattern' ), + 'keywords' => array( _x( 'Example', 'block pattern keywords', 'lhpbpt' ), ), + 'viewportWidth' => 1440, ) ); } diff --git a/theme/inc/Block_Patterns/bp-example.php b/theme/inc/Block_Patterns/bp-example.php index 268c9497..6848267f 100644 --- a/theme/inc/Block_Patterns/bp-example.php +++ b/theme/inc/Block_Patterns/bp-example.php @@ -6,11 +6,14 @@ */ ?> + +
+ +

A simple example pattern. If you can read this at prod call an admin.

+ - -

A simple example pattern. If you can read this at prod call an admin.

- - - -
- + +
+ +
+ diff --git a/theme/src/css/src-base/_inner-container.css b/theme/src/css/src-base/_inner-container.css index a40c6715..3d139bfe 100644 --- a/theme/src/css/src-base/_inner-container.css +++ b/theme/src/css/src-base/_inner-container.css @@ -2,9 +2,8 @@ # Inner Container --------------------------------------------------------------*/ -:root .entry-content, :root .inner-container, -:root .wp-site-blocks, +:root .is-root-container, [class*="wp-block"] > [class*="__inner-container"], [class*="wp-block"] > [class*="__content"] { diff --git a/theme/src/css/vars/_breakpoints.css b/theme/src/css/vars/_breakpoints.css index 2d2fb9df..e4715935 100644 --- a/theme/src/css/vars/_breakpoints.css +++ b/theme/src/css/vars/_breakpoints.css @@ -23,7 +23,7 @@ @media (--md-query) { :root { - --last-bp: var(--md-md); + --last-bp: var(--bp-md); } } diff --git a/theme/template-parts/loop/item.php b/theme/template-parts/loop/item.php index 548b6a72..ec420f11 100644 --- a/theme/template-parts/loop/item.php +++ b/theme/template-parts/loop/item.php @@ -28,7 +28,7 @@

-
+