From: Anthony Talarico Date: Wed, 9 May 2018 14:20:58 +0000 (-0400) Subject: adding woocommerce support in functions file X-Git-Tag: v1.0.0^2~51 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=c26233a576b679e8f7b02ef41e168c20f608aeda;p=WP-Themes%2Ficebreaker.git adding woocommerce support in functions file --- 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 ?>