adding woocommerce support in functions file
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 9 May 2018 14:20:58 +0000 (10:20 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 9 May 2018 14:20:58 +0000 (10:20 -0400)
functions.php

index 5937126..afac622 100644 (file)
@@ -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
 ?>