From c26233a576b679e8f7b02ef41e168c20f608aeda Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 9 May 2018 10:20:58 -0400 Subject: [PATCH] adding woocommerce support in functions file --- functions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions.php b/functions.php index 5937126..afac622 100644 --- a/functions.php +++ b/functions.php @@ -198,6 +198,12 @@ if (!function_exists('is_in_tree')) { return false; } } + +add_action( 'after_setup_theme', 'woocommerce_support' ); +function woocommerce_support() { + add_theme_support( 'woocommerce' ); +} + add_action('thematic_searchloop', 'mytheme_search_loop'); // End of the Contextual/Highlight Search functions ?> -- 2.17.1