From 6531f2fcef67a29388308487a9e912300c9e12d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alba=20Rinc=C3=B3n?= Date: Wed, 11 Oct 2023 14:57:31 +0200 Subject: [PATCH 1/2] Add fallbacks to all the pattern titles, descriptions and buttons --- patterns/banner.php | 13 +++++-- patterns/discount-banner-with-image.php | 4 +- patterns/discount-banner.php | 5 ++- patterns/featured-category-cover-image.php | 10 +++-- patterns/featured-category-focus.php | 4 +- patterns/featured-category-triple.php | 10 +++-- .../featured-products-fresh-and-tasty.php | 13 +++++-- patterns/hero-product-3-split.php | 32 +++++++++++----- patterns/hero-product-chessboard.php | 32 +++++++++++----- patterns/hero-product-split.php | 4 +- patterns/product-collection-3-columns.php | 4 +- patterns/product-collection-4-columns.php | 4 +- patterns/product-collection-5-columns.php | 4 +- patterns/product-collection-banner.php | 7 +++- ...collection-featured-products-5-columns.php | 4 +- ...roduct-collections-featured-collection.php | 4 +- ...oduct-collections-featured-collections.php | 13 +++++-- .../product-collections-newest-arrivals.php | 7 +++- patterns/product-featured-2-columns.php | 13 +++++-- patterns/product-hero-2-col-2-row.php | 38 +++++++++++++------ patterns/product-query-product-gallery.php | 4 +- patterns/shop-by-price.php | 13 +++++-- patterns/small-discount-banner-with-image.php | 4 +- patterns/social-follow-us-in-social-media.php | 4 +- patterns/store-info-alt-image-and-text.php | 28 ++++++++++---- patterns/testimonials-single.php | 7 +++- src/Patterns/dictionary.json | 16 +------- 27 files changed, 204 insertions(+), 97 deletions(-) diff --git a/patterns/banner.php b/patterns/banner.php index 5c4478b786a..35a31f0138a 100644 --- a/patterns/banner.php +++ b/patterns/banner.php @@ -8,6 +8,11 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/banner' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/banner' ); + +$banner_title = $content['titles'][0]['default'] ?? ''; +$banner_button = $content['buttons'][0]['default'] ?? ''; +$first_description = $content['descriptions'][0]['default'] ?? ''; +$second_description = $content['descriptions'][1]['default'] ?? ''; ?> @@ -15,15 +20,15 @@
-

+

-

+

-

+

@@ -31,7 +36,7 @@ diff --git a/patterns/discount-banner-with-image.php b/patterns/discount-banner-with-image.php index 5963ece1152..e7c5d794f40 100644 --- a/patterns/discount-banner-with-image.php +++ b/patterns/discount-banner-with-image.php @@ -8,6 +8,8 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/discount-banner-with-image' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/discount-banner-with-image' ); + +$description = $content['descriptions'][0]['default'] ?? ''; ?> @@ -25,7 +27,7 @@ -

+

diff --git a/patterns/discount-banner.php b/patterns/discount-banner.php index ce8bfcf5665..fac5a4d1971 100644 --- a/patterns/discount-banner.php +++ b/patterns/discount-banner.php @@ -7,7 +7,8 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; -$content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/discount-banner' ); +$content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/discount-banner' ); +$description = $content['descriptions'][0]['default'] ?? ''; ?> @@ -23,7 +24,7 @@ -

+

diff --git a/patterns/featured-category-cover-image.php b/patterns/featured-category-cover-image.php index cf0818c473e..ba9d45ff527 100644 --- a/patterns/featured-category-cover-image.php +++ b/patterns/featured-category-cover-image.php @@ -10,6 +10,10 @@ $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/featured-category-cover-image' ); $image1 = PatternsHelper::get_image_url( $images, 0, 'images/pattern-placeholders/shop-jeans.png' ); + +$category_title = $content['titles'][0]['default'] ?? ''; +$description = $content['descriptions'][0]['default'] ?? ''; +$button = $content['buttons'][0]['default'] ?? ''; ?>
@@ -17,11 +21,11 @@
-

+

-

+

@@ -29,7 +33,7 @@ diff --git a/patterns/featured-category-focus.php b/patterns/featured-category-focus.php index 0b01c8bd6b4..40ecaf18dfc 100644 --- a/patterns/featured-category-focus.php +++ b/patterns/featured-category-focus.php @@ -8,6 +8,8 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/featured-category-focus' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/featured-category-focus' ); + +$category_title = $content['titles'][0]['default'] ?? ''; ?> @@ -19,7 +21,7 @@ -

+

diff --git a/patterns/featured-category-triple.php b/patterns/featured-category-triple.php index 95f1356b810..bc9782c0c10 100644 --- a/patterns/featured-category-triple.php +++ b/patterns/featured-category-triple.php @@ -12,6 +12,10 @@ $image1 = PatternsHelper::get_image_url( $images, 0, 'images/pattern-placeholders/sweet-restaurant-celebration-food-chocolate-cupcake.png' ); $image2 = PatternsHelper::get_image_url( $images, 1, 'images/pattern-placeholders/dish-meal-food-breakfast-dessert-eat.png' ); $image3 = PatternsHelper::get_image_url( $images, 2, 'images/pattern-placeholders/dish-food-baking-dessert-bread-bakery.png' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$second_title = $content['titles'][1]['default'] ?? ''; +$third_title = $content['titles'][2]['default'] ?? ''; ?> @@ -24,7 +28,7 @@ <?php esc_attr_e( 'Placeholder image used to represent products being showcased in featured categories banner. 1 out of 3.', 'woo-gutenberg-products-block' ); ?>
-

+

-

+

-

+

+

@@ -34,7 +39,7 @@
-

+

@@ -64,7 +69,7 @@
-

+

@@ -94,7 +99,7 @@
-

+

diff --git a/patterns/hero-product-3-split.php b/patterns/hero-product-3-split.php index 9336b23816a..e3bd951c051 100644 --- a/patterns/hero-product-3-split.php +++ b/patterns/hero-product-3-split.php @@ -8,6 +8,18 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/hero-product-3-split' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/hero-product-3-split' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$second_title = $content['titles'][1]['default'] ?? ''; +$third_title = $content['titles'][2]['default'] ?? ''; +$fourth_title = $content['titles'][3]['default'] ?? ''; +$fifth_title = $content['titles'][4]['default'] ?? ''; + +$first_description = $content['descriptions'][0]['default'] ?? ''; +$second_description = $content['descriptions'][1]['default'] ?? ''; +$third_description = $content['descriptions'][2]['default'] ?? ''; +$fourth_description = $content['descriptions'][3]['default'] ?? ''; +$fifth_description = $content['descriptions'][4]['default'] ?? ''; ?> @@ -20,11 +32,11 @@
-

+

-

+

@@ -50,11 +62,11 @@
-

+

-

+

@@ -62,11 +74,11 @@ -

+

-

+

@@ -74,11 +86,11 @@ -

+

-

+

@@ -86,11 +98,11 @@ -

+

-

+

diff --git a/patterns/hero-product-chessboard.php b/patterns/hero-product-chessboard.php index 63326cb9fb2..5c05153a868 100644 --- a/patterns/hero-product-chessboard.php +++ b/patterns/hero-product-chessboard.php @@ -11,6 +11,18 @@ $image1 = PatternsHelper::get_image_url( $images, 0, 'images/pattern-placeholders/sweet-restaurant-celebration-food-chocolate-cupcake.png' ); $image2 = PatternsHelper::get_image_url( $images, 1, 'images/pattern-placeholders/dish-meal-food-breakfast-dessert-eat.png' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$second_title = $content['titles'][1]['default'] ?? ''; +$third_title = $content['titles'][2]['default'] ?? ''; +$fourth_title = $content['titles'][3]['default'] ?? ''; +$fifth_title = $content['titles'][4]['default'] ?? ''; + +$first_description = $content['descriptions'][0]['default'] ?? ''; +$second_description = $content['descriptions'][1]['default'] ?? ''; +$third_description = $content['descriptions'][2]['default'] ?? ''; +$fourth_description = $content['descriptions'][3]['default'] ?? ''; +$fifth_description = $content['descriptions'][4]['default'] ?? ''; ?> @@ -34,11 +46,11 @@
-

+

-

+

@@ -68,11 +80,11 @@
-
+
-

+

@@ -80,11 +92,11 @@
-
+
-

+

@@ -96,11 +108,11 @@
-
+
-

+

@@ -108,11 +120,11 @@
-
+
-

+

diff --git a/patterns/hero-product-split.php b/patterns/hero-product-split.php index 45285dc7284..42f7239b848 100644 --- a/patterns/hero-product-split.php +++ b/patterns/hero-product-split.php @@ -8,13 +8,15 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/hero-product-split' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/hero-product-split' ); + +$hero_title = $content['titles'][0]['default'] ?? ''; ?>
-

+

diff --git a/patterns/product-collection-3-columns.php b/patterns/product-collection-3-columns.php index d50e3bcc7b6..c2c4c5b579b 100644 --- a/patterns/product-collection-3-columns.php +++ b/patterns/product-collection-3-columns.php @@ -7,12 +7,14 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-collection-3-columns' ); + +$products_title = $content['titles'][0]['default'] ?? ''; ?>
-

+

diff --git a/patterns/product-collection-4-columns.php b/patterns/product-collection-4-columns.php index 78a6be333cd..de6bced4514 100644 --- a/patterns/product-collection-4-columns.php +++ b/patterns/product-collection-4-columns.php @@ -7,12 +7,14 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-collection-4-columns' ); + +$products_title = $content['titles'][0]['default'] ?? ''; ?>
-

+

diff --git a/patterns/product-collection-5-columns.php b/patterns/product-collection-5-columns.php index ad86056026f..e97ea55a905 100644 --- a/patterns/product-collection-5-columns.php +++ b/patterns/product-collection-5-columns.php @@ -7,12 +7,14 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-collection-5-columns' ); + +$products_title = $content['titles'][0]['default'] ?? ''; ?>
-

+

diff --git a/patterns/product-collection-banner.php b/patterns/product-collection-banner.php index 0b8939af9f8..b6908ef0dd6 100644 --- a/patterns/product-collection-banner.php +++ b/patterns/product-collection-banner.php @@ -9,6 +9,9 @@ $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-collection-banner' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/product-collection-banner' ); $image = PatternsHelper::get_image_url( $images, 0, 'images/pattern-placeholders/beach-landscape-sea-coast-nature-person.jpg' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$first_description = $content['descriptions'][0]['default'] ?? ''; ?> @@ -23,7 +26,7 @@
-

+

@@ -34,7 +37,7 @@
-

+

diff --git a/patterns/product-collection-featured-products-5-columns.php b/patterns/product-collection-featured-products-5-columns.php index 4d1d7a58a01..97d508d2343 100644 --- a/patterns/product-collection-featured-products-5-columns.php +++ b/patterns/product-collection-featured-products-5-columns.php @@ -7,6 +7,8 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-collection-featured-products-5-columns' ); + +$collection_title = $content['titles'][0]['default'] ?? ''; ?> @@ -14,7 +16,7 @@

- +

diff --git a/patterns/product-collections-featured-collection.php b/patterns/product-collections-featured-collection.php index 54d5ad012c8..5350cd5ac20 100644 --- a/patterns/product-collections-featured-collection.php +++ b/patterns/product-collections-featured-collection.php @@ -8,6 +8,8 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-collections-featured-collection' ); + +$collection_title = $content['titles'][0]['default'] ?? ''; ?> @@ -16,7 +18,7 @@

- +

diff --git a/patterns/product-collections-featured-collections.php b/patterns/product-collections-featured-collections.php index bd5ebaac3ba..2153346016e 100644 --- a/patterns/product-collections-featured-collections.php +++ b/patterns/product-collections-featured-collections.php @@ -13,6 +13,11 @@ $image2 = PatternsHelper::get_image_url( $images, 1, 'images/pattern-placeholders/leather-guitar-typewriter-red-gadget-sofa.png' ); $image3 = PatternsHelper::get_image_url( $images, 2, 'images/pattern-placeholders/music-technology-play-equipment-studio-gadget.png' ); $image4 = PatternsHelper::get_image_url( $images, 3, 'images/pattern-placeholders/technology-joystick-gadget-console-games-playstation.png' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$second_title = $content['titles'][1]['default'] ?? ''; +$first_button = $content['buttons'][0]['default'] ?? ''; +$second_button = $content['buttons'][1]['default'] ?? ''; ?> @@ -20,14 +25,14 @@
-

+

- +
@@ -54,14 +59,14 @@
-

+

- +
diff --git a/patterns/product-collections-newest-arrivals.php b/patterns/product-collections-newest-arrivals.php index 53d9db14cec..f20d41f6d59 100644 --- a/patterns/product-collections-newest-arrivals.php +++ b/patterns/product-collections-newest-arrivals.php @@ -8,6 +8,9 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-collections-newest-arrivals' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$first_button = $content['buttons'][0]['default'] ?? ''; ?> @@ -18,7 +21,7 @@
-

+

@@ -30,7 +33,7 @@ diff --git a/patterns/product-featured-2-columns.php b/patterns/product-featured-2-columns.php index 8bc7040a5ce..b66c529de15 100644 --- a/patterns/product-featured-2-columns.php +++ b/patterns/product-featured-2-columns.php @@ -4,6 +4,13 @@ * Slug: woocommerce-blocks/featured-products-2-cols * Categories: WooCommerce */ +use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; +$content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/featured-products-2-cols' ); +$images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/featured-products-2-cols' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$first_description = $content['descriptions'][0]['default'] ?? ''; +$first_button = $content['buttons'][0]['default'] ?? ''; ?> @@ -43,18 +50,18 @@
-

Fan Favorites

+

-

Get ready to start the season right. All the fan favorites in one place at the best price.

+

- Shop All +
diff --git a/patterns/product-hero-2-col-2-row.php b/patterns/product-hero-2-col-2-row.php index 38bab760851..0a4f884354b 100644 --- a/patterns/product-hero-2-col-2-row.php +++ b/patterns/product-hero-2-col-2-row.php @@ -4,7 +4,23 @@ * Slug: woocommerce-blocks/product-hero-2-col-2-row * Categories: WooCommerce */ +use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; +$content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-hero-2-col-2-row' ); +$images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/product-hero-2-col-2-row' ); +$first_title = $content['titles'][0]['default'] ?? ''; +$second_title = $content['titles'][1]['default'] ?? ''; +$third_title = $content['titles'][2]['default'] ?? ''; +$fourth_title = $content['titles'][3]['default'] ?? ''; +$fifth_title = $content['titles'][4]['default'] ?? ''; + +$first_description = $content['descriptions'][0]['default'] ?? ''; +$second_description = $content['descriptions'][1]['default'] ?? ''; +$third_description = $content['descriptions'][2]['default'] ?? ''; +$fourth_description = $content['descriptions'][3]['default'] ?? ''; +$fifth_description = $content['descriptions'][4]['default'] ?? ''; + +$button = $content['buttons'][0]['default'] ?? ''; ?>
@@ -12,19 +28,19 @@
-

+

-

+

-
+
@@ -37,21 +53,21 @@
-

+

-

+

-
+
-

+

@@ -59,21 +75,21 @@
-
+
-

+

-
+
-

+

diff --git a/patterns/product-query-product-gallery.php b/patterns/product-query-product-gallery.php index f5ce6ebd357..b5f628e3224 100644 --- a/patterns/product-query-product-gallery.php +++ b/patterns/product-query-product-gallery.php @@ -8,12 +8,14 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/product-query-product-gallery' ); + +$gallery_title = $content['titles'][0]['default'] ?? ''; ?>
-

+

diff --git a/patterns/shop-by-price.php b/patterns/shop-by-price.php index 1b9a9a38688..9e4d4679e6c 100644 --- a/patterns/shop-by-price.php +++ b/patterns/shop-by-price.php @@ -7,6 +7,11 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/shop-by-price' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$second_title = $content['titles'][1]['default'] ?? ''; +$third_title = $content['titles'][2]['default'] ?? ''; +$fourth_title = $content['titles'][3]['default'] ?? ''; ?>
@@ -31,7 +36,7 @@
- +
@@ -61,7 +66,7 @@ @@ -92,7 +97,7 @@ @@ -123,7 +128,7 @@ diff --git a/patterns/small-discount-banner-with-image.php b/patterns/small-discount-banner-with-image.php index 7c6283f8218..2906a1f585d 100644 --- a/patterns/small-discount-banner-with-image.php +++ b/patterns/small-discount-banner-with-image.php @@ -8,6 +8,8 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/small-discount-banner-with-image' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/small-discount-banner-with-image' ); + +$banner_title = $content['titles'][0]['default'] ?? ''; ?> @@ -17,7 +19,7 @@
-

+

diff --git a/patterns/social-follow-us-in-social-media.php b/patterns/social-follow-us-in-social-media.php index d67e2687270..b3bd672dd12 100644 --- a/patterns/social-follow-us-in-social-media.php +++ b/patterns/social-follow-us-in-social-media.php @@ -13,6 +13,8 @@ $image2 = PatternsHelper::get_image_url( $images, 1, 'images/pattern-placeholders/living-room.png' ); $image3 = PatternsHelper::get_image_url( $images, 2, 'images/pattern-placeholders/living-room-sofa.png' ); $image4 = PatternsHelper::get_image_url( $images, 3, 'images/pattern-placeholders/dining-room.png' ); + +$social_title = $content['titles'][0]['default'] ?? ''; ?> @@ -22,7 +24,7 @@
-

+

diff --git a/patterns/store-info-alt-image-and-text.php b/patterns/store-info-alt-image-and-text.php index b636a848374..3988bfa123a 100644 --- a/patterns/store-info-alt-image-and-text.php +++ b/patterns/store-info-alt-image-and-text.php @@ -6,10 +6,22 @@ */ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; -$images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/alt-image-and-text' ); +$content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/alt-image-and-text' ); +$images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/alt-image-and-text' ); $image1 = PatternsHelper::get_image_url( $images, 0, 'images/pattern-placeholders/crafting-pots.png' ); $image2 = PatternsHelper::get_image_url( $images, 1, 'images/pattern-placeholders/hand-made-pots.png' ); + +$first_title = $content['titles'][0]['default'] ?? ''; +$second_title = $content['titles'][1]['default'] ?? ''; +$third_title = $content['titles'][2]['default'] ?? ''; +$fourth_title = $content['titles'][3]['default'] ?? ''; +$fifth_title = $content['titles'][4]['default'] ?? ''; + +$first_description = $content['descriptions'][0]['default'] ?? ''; +$second_description = $content['descriptions'][1]['default'] ?? ''; + +$button = $content['buttons'][0]['default'] ?? ''; ?> @@ -29,15 +41,15 @@
-

+

-

+

-

+

@@ -68,22 +80,22 @@
-

+

-

+

-

+

- +
diff --git a/patterns/testimonials-single.php b/patterns/testimonials-single.php index 1352615fdc8..29b1d580f7e 100644 --- a/patterns/testimonials-single.php +++ b/patterns/testimonials-single.php @@ -8,6 +8,9 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $content = PatternsHelper::get_pattern_content( 'woocommerce-blocks/testimonials-single' ); $images = PatternsHelper::get_pattern_images( 'woocommerce-blocks/testimonials-single' ); + +$testimonials_title = $content['titles'][0]['default'] ?? ''; +$description = $content['descriptions'][0]['default'] ?? ''; ?> @@ -25,11 +28,11 @@
-

+

-

+

diff --git a/src/Patterns/dictionary.json b/src/Patterns/dictionary.json index 00e21c47246..5f87125afac 100644 --- a/src/Patterns/dictionary.json +++ b/src/Patterns/dictionary.json @@ -91,18 +91,6 @@ ] } }, - { - "name": "Featured Products 5-Item Grid", - "slug": "woocommerce-blocks/featured-products-5-item-grid", - "content": { - "titles": [ - { - "default": "Shop new arrivals", - "ai_prompt": "The title of the featured products" - } - ] - } - }, { "name": "Featured Products: Fresh & Tasty", "slug": "woocommerce-blocks/featured-products-fresh-and-tasty", @@ -407,7 +395,7 @@ }, { "name": "Featured Products 2 Columns", - "slug": "woocommerce-blocks/featured-products-2-columns", + "slug": "woocommerce-blocks/featured-products-2-cols", "content": { "titles": [ { @@ -431,7 +419,7 @@ }, { "name": "Product Hero 2 Column 2 Row", - "slug": "woocommerce-blocks/product-hero-2-column-2-row", + "slug": "woocommerce-blocks/product-hero-2-col-2-row", "images_total": 2, "images_format": "landscape", "content": { From d39bc145a6821b2fda16af475a3ed52ed27e0885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alba=20Rinc=C3=B3n?= Date: Thu, 12 Oct 2023 17:04:19 +0200 Subject: [PATCH 2/2] Remove pagination in pattern --- patterns/product-featured-2-columns.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/patterns/product-featured-2-columns.php b/patterns/product-featured-2-columns.php index b66c529de15..ee22a30a283 100644 --- a/patterns/product-featured-2-columns.php +++ b/patterns/product-featured-2-columns.php @@ -34,14 +34,7 @@
- - - - -

- -