From: Laury GvR Date: Fri, 10 Mar 2017 18:43:17 +0000 (-0500) Subject: Removed an unnecessary call to the_field in functions.php that was used for francejou... X-Git-Tag: v1.0.0^2~128 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=3fb217f3fe347c797e645be9f7ca3be4fec11501;p=WP-Themes%2Fmackinawferry.git Removed an unnecessary call to the_field in functions.php that was used for francejourneys, the theme this theme is based on. This call was breaking the site with a 500 internal server error --- diff --git a/functions.php b/functions.php index b50ff37..90e4e36 100644 --- a/functions.php +++ b/functions.php @@ -85,14 +85,14 @@ function woo_product_tab_edits( $tabs ) { } -function woo_product_inquiry_content() { - global $product; - echo do_shortcode('[gravityform id="3" title="true" description="true"]'); +add_action( 'after_setup_theme', 'woocommerce_support' ); +function woocommerce_support() { + add_theme_support( 'woocommerce' ); } -function woo_itinerary_content() { +function woo_product_inquiry_content() { global $product; - echo the_field('itinerary'); + echo do_shortcode('[gravityform id="3" title="true" description="true"]'); } function woo_photos_content() { diff --git a/index.php b/index.php index 3ee02c3..da138e9 100644 --- a/index.php +++ b/index.php @@ -15,14 +15,12 @@
- -
- - - -

- + + + +

+