From 174922ea96bf8347ab9112a2369f246d86f599a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alba=20Rinc=C3=B3n?= Date: Fri, 1 Dec 2023 10:49:17 +0100 Subject: [PATCH] Update patterns copy (#11997) --- patterns/featured-category-focus.php | 4 +- patterns/hero-product-chessboard.php | 4 +- patterns/hero-product-split.php | 4 +- ...duct-query-large-image-product-gallery.php | 34 ++---- patterns/social-follow-us-in-social-media.php | 2 +- patterns/store-info-alt-image-and-text.php | 30 ++++- patterns/testimonials-3-columns.php | 6 +- patterns/testimonials-single.php | 2 +- src/Patterns/dictionary.json | 114 +++++++++++------- 9 files changed, 124 insertions(+), 76 deletions(-) diff --git a/patterns/featured-category-focus.php b/patterns/featured-category-focus.php index c6a8b585075..73cd3848b1a 100644 --- a/patterns/featured-category-focus.php +++ b/patterns/featured-category-focus.php @@ -8,6 +8,8 @@ use Automattic\WooCommerce\Blocks\Patterns\PatternsHelper; $category_title = $content['titles'][0]['default'] ?? ''; + +$button = $content['buttons'][0]['default'] ?? ''; ?> @@ -26,7 +28,7 @@
- Shop now +
diff --git a/patterns/hero-product-chessboard.php b/patterns/hero-product-chessboard.php index c2f541076ea..2fcc633f383 100644 --- a/patterns/hero-product-chessboard.php +++ b/patterns/hero-product-chessboard.php @@ -17,6 +17,8 @@ $first_description = $content['descriptions'][0]['default'] ?? ''; $second_description = $content['descriptions'][1]['default'] ?? ''; $third_description = $content['descriptions'][2]['default'] ?? ''; + +$button = $content['buttons'][0]['default'] ?? ''; ?> @@ -54,7 +56,7 @@
- Shop now +
diff --git a/patterns/hero-product-split.php b/patterns/hero-product-split.php index 5a08b3b08d4..eaf9bb51571 100644 --- a/patterns/hero-product-split.php +++ b/patterns/hero-product-split.php @@ -21,7 +21,7 @@
- +
@@ -29,7 +29,7 @@
- <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in a hero section.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in a hero section.', 'woo-gutenberg-products-block' ); ?>
diff --git a/patterns/product-query-large-image-product-gallery.php b/patterns/product-query-large-image-product-gallery.php index dad52f1290a..82e341d0293 100644 --- a/patterns/product-query-large-image-product-gallery.php +++ b/patterns/product-query-large-image-product-gallery.php @@ -6,26 +6,18 @@ * Block Types: core/query/woocommerce/product-query */ ?> - -
- + +
+ +
+ + - + - - - - - - - - - - - - - -

- -
- + + +
+ +
+ diff --git a/patterns/social-follow-us-in-social-media.php b/patterns/social-follow-us-in-social-media.php index a7630ef11d9..09d2d764aa8 100644 --- a/patterns/social-follow-us-in-social-media.php +++ b/patterns/social-follow-us-in-social-media.php @@ -25,7 +25,7 @@