From: Laury GvR Date: Thu, 16 Oct 2014 20:32:34 +0000 (-0400) Subject: Declare WooCommerce Support X-Git-Tag: v1.0.0~12 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=e3ff5d69bd4891e7eb0f20240310582c54b478d0;p=WP-Themes%2FParrotsLanding.git Declare WooCommerce Support --- diff --git a/functions.php b/functions.php index e2e43f4..5682692 100644 --- a/functions.php +++ b/functions.php @@ -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', '<' ) ) {