From: Laury GvR Date: Wed, 8 Nov 2017 14:31:01 +0000 (-0500) Subject: Declared WooCommerce support, bumped add-to-cart version number X-Git-Tag: v1.0.0^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=65ea00ad8bf35712045763b79ed919a47ab069f0;p=WP-Themes%2Fmichigantrailmaps.git Declared WooCommerce support, bumped add-to-cart version number --- diff --git a/functions.php b/functions.php index a5f9d93..0d980ec 100644 --- a/functions.php +++ b/functions.php @@ -240,6 +240,11 @@ function is_post_type($type){ return false; } +add_action( 'after_setup_theme', 'woocommerce_support' ); +function woocommerce_support() { + add_theme_support( 'woocommerce' ); +} + add_filter('glm-get-trail-links', function($member_id) { $products = get_posts( array( diff --git a/woocommerce/loop/add-to-cart.php b/woocommerce/loop/add-to-cart.php index ee320fe..815372b 100644 --- a/woocommerce/loop/add-to-cart.php +++ b/woocommerce/loop/add-to-cart.php @@ -13,7 +13,7 @@ * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates - * @version 2.5.0 + * @version 3.0.0 */ if ( ! defined( 'ABSPATH' ) ) {