From a96d0adfd55c40a91f0e9fbbb9dad535c4e8a281 Mon Sep 17 00:00:00 2001 From: kmanijak Date: Mon, 28 Nov 2022 12:11:08 +0100 Subject: [PATCH] Register footer and header patterns as template parts, so they are available in contextual chooser (#7699) --- patterns/footer-large-dark.php | 1 + patterns/footer-large.php | 1 + patterns/footer-simple-dark.php | 1 + patterns/footer-simple.php | 1 + patterns/footer-with-2-menus-dark.php | 1 + patterns/footer-with-2-menus.php | 1 + patterns/header-essential-dark.php | 1 + patterns/header-essential.php | 1 + patterns/header-large-dark.php | 1 + patterns/header-large.php | 1 + patterns/header-minimal-dark.php | 1 + patterns/header-minimal.php | 1 + 12 files changed, 12 insertions(+) diff --git a/patterns/footer-large-dark.php b/patterns/footer-large-dark.php index 5aadcb12241..01dbcbca99f 100644 --- a/patterns/footer-large-dark.php +++ b/patterns/footer-large-dark.php @@ -3,6 +3,7 @@ * Title: WooCommerce Large Footer | Dark * Slug: woocommerce-blocks/footer-large-dark * Categories: WooCommerce + * Block Types: core/template-part/footer */ ?> diff --git a/patterns/footer-large.php b/patterns/footer-large.php index 6e8751a954e..bb9575eeb67 100644 --- a/patterns/footer-large.php +++ b/patterns/footer-large.php @@ -3,6 +3,7 @@ * Title: WooCommerce Large Footer * Slug: woocommerce-blocks/footer-large * Categories: WooCommerce + * Block Types: core/template-part/footer */ ?> diff --git a/patterns/footer-simple-dark.php b/patterns/footer-simple-dark.php index 8fc43249c8d..a5aa591532d 100644 --- a/patterns/footer-simple-dark.php +++ b/patterns/footer-simple-dark.php @@ -3,6 +3,7 @@ * Title: WooCommerce Simple Footer | Dark * Slug: woocommerce-blocks/footer-simple-dark * Categories: WooCommerce + * Block Types: core/template-part/footer */ ?> diff --git a/patterns/footer-simple.php b/patterns/footer-simple.php index fe1e4cf46b2..95453bd53c3 100644 --- a/patterns/footer-simple.php +++ b/patterns/footer-simple.php @@ -3,6 +3,7 @@ * Title: WooCommerce Simple Footer * Slug: woocommerce-blocks/footer-simple * Categories: WooCommerce + * Block Types: core/template-part/footer */ ?> diff --git a/patterns/footer-with-2-menus-dark.php b/patterns/footer-with-2-menus-dark.php index d208334d35d..627e643059d 100644 --- a/patterns/footer-with-2-menus-dark.php +++ b/patterns/footer-with-2-menus-dark.php @@ -3,6 +3,7 @@ * Title: WooCommerce Footer with 2 menus | Dark * Slug: woocommerce-blocks/footer-with-2-menus-dark * Categories: WooCommerce + * Block Types: core/template-part/footer */ ?> diff --git a/patterns/footer-with-2-menus.php b/patterns/footer-with-2-menus.php index 0f06c569a89..59258abc2a4 100644 --- a/patterns/footer-with-2-menus.php +++ b/patterns/footer-with-2-menus.php @@ -3,6 +3,7 @@ * Title: WooCommerce Footer with 2 menus * Slug: woocommerce-blocks/footer-with-2-menus * Categories: WooCommerce + * Block Types: core/template-part/footer */ ?> diff --git a/patterns/header-essential-dark.php b/patterns/header-essential-dark.php index f6d210fe8a6..616064eed2a 100644 --- a/patterns/header-essential-dark.php +++ b/patterns/header-essential-dark.php @@ -3,6 +3,7 @@ * Title: WooCommerce Essential Header | Dark * Slug: woocommerce-blocks/header-essential-dark * Categories: WooCommerce + * Block Types: core/template-part/header */ ?> diff --git a/patterns/header-essential.php b/patterns/header-essential.php index 19f9d09a931..79691c214d1 100644 --- a/patterns/header-essential.php +++ b/patterns/header-essential.php @@ -3,6 +3,7 @@ * Title: WooCommerce Essential Header * Slug: woocommerce-blocks/header-essential * Categories: WooCommerce + * Block Types: core/template-part/header */ ?> diff --git a/patterns/header-large-dark.php b/patterns/header-large-dark.php index 4530397caa5..9a91ca24085 100644 --- a/patterns/header-large-dark.php +++ b/patterns/header-large-dark.php @@ -3,6 +3,7 @@ * Title: WooCommerce Large Header | Dark * Slug: woocommerce-blocks/header-large-dark * Categories: WooCommerce + * Block Types: core/template-part/header */ ?> diff --git a/patterns/header-large.php b/patterns/header-large.php index e154610d367..50b33de47a5 100644 --- a/patterns/header-large.php +++ b/patterns/header-large.php @@ -3,6 +3,7 @@ * Title: WooCommerce Large Header * Slug: woocommerce-blocks/header-large * Categories: WooCommerce + * Block Types: core/template-part/header */ ?> diff --git a/patterns/header-minimal-dark.php b/patterns/header-minimal-dark.php index f1b6a275d0c..1bba8af986d 100644 --- a/patterns/header-minimal-dark.php +++ b/patterns/header-minimal-dark.php @@ -3,6 +3,7 @@ * Title: WooCommerce Minimal Header | Dark * Slug: woocommerce-blocks/minimal-header-dark * Categories: WooCommerce + * Block Types: core/template-part/header */ ?> diff --git a/patterns/header-minimal.php b/patterns/header-minimal.php index abb994daaa8..b64176a9e81 100644 --- a/patterns/header-minimal.php +++ b/patterns/header-minimal.php @@ -3,6 +3,7 @@ * Title: WooCommerce Minimal Header * Slug: woocommerce-blocks/header-minimal * Categories: WooCommerce + * Block Types: core/template-part/header */ ?>