From 0b968fe9c37543a8fb7eb9f07eadc6ae957400a8 Mon Sep 17 00:00:00 2001 From: Jason King Date: Wed, 28 Jun 2017 19:48:52 +0930 Subject: [PATCH] Allow template overrides for Shop page or any relating to (archive-product.php) The `woocommerce_content();` is a catchall and requires the use of hooks for modifications to alter the Shop page or any relating to `archive-product.php` page eg Product Category, Taxonomy, Search pages. This change allows both. If you don't create an `archive-product.php` template override under the /woocommerce folder it will just use the `woocommerce_content();` catchall. --- woocommerce.php | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/woocommerce.php b/woocommerce.php index 6243f00..7508252 100644 --- a/woocommerce.php +++ b/woocommerce.php @@ -28,7 +28,27 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
- +