Declare WooCommerce Support
authorLaury GvR <laury@gaslightmedia.com>
Thu, 16 Oct 2014 20:32:34 +0000 (16:32 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 16 Oct 2014 20:32:34 +0000 (16:32 -0400)
functions.php

index e2e43f4..5682692 100644 (file)
@@ -68,6 +68,10 @@ if (!function_exists('glmAddSubs')) {
     }
 }
 
+add_action( 'after_setup_theme', 'woocommerce_support' );
+    function woocommerce_support() {
+add_theme_support( 'woocommerce' );
+}
 
 // This theme only works in WP version 3.6 or higher.
 //if ( version_compare( $GLOBALS['wp_version'], '3.6', '<' ) ) {