From: Steve Sutton Date: Wed, 20 Jan 2016 17:01:56 +0000 (-0500) Subject: Update to declare support for woocommerce X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=5915d25572012fa09f8a85f0e7e457892e085089;p=WP-Themes%2Fglmthemes%2Fmountpleasant-theme.git Update to declare support for woocommerce --- diff --git a/functions.php b/functions.php index e029a88..d421303 100644 --- a/functions.php +++ b/functions.php @@ -486,4 +486,8 @@ function mountpleasant_shop_order_button_text() } add_filter('woocommerce_order_button_text', 'mountpleasant_shop_order_button_text'); add_filter( 'gform_tabindex', '__return_false' ); +add_action( 'after_setup_theme', 'woocommerce_support' ); +function woocommerce_support() { + add_theme_support( 'woocommerce' ); +} ?>