From: Anthony Talarico Date: Tue, 12 Jul 2016 20:57:41 +0000 (-0400) Subject: removed tents from display X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=12ad7f6512e30136f1deffe2cbc64b8fc0dcbd9c;p=WP-Themes%2Fglmthemes%2Fcamppetosega-theme.git removed tents from display --- diff --git a/campground-map.php b/campground-map.php index 204852b..ea1d517 100644 --- a/campground-map.php +++ b/campground-map.php @@ -267,13 +267,13 @@ $js_categories = json_encode($categories); } } - if(site_meta[site]){ - site_tents = site_meta[site]['petosega_tents']; -site_tents = site_tents.join(); - if( site_tents === ""){ - site_tents = "No"; - } - } +// if(site_meta[site]){ +// site_tents = site_meta[site]['petosega_tents']; +//site_tents = site_tents.join(); +// if( site_tents === ""){ +// site_tents = "No"; +// } +// } temp = site_campers[site]; for(var i in temp){ campers.push(temp[i].name); @@ -318,7 +318,7 @@ site_tents = site_tents.join(); jQuery(".full-content-tool-tip").find(".full-site-power").html("Power: " + site_power); jQuery(".full-content-tool-tip").find(".full-site-sewer").html("Sewer: " + site_sewer); jQuery(".full-content-tool-tip").find(".full-site-water").html("Water: " + site_water); - jQuery(".full-content-tool-tip").find(".full-site-tents").html("Tents: " + site_tents); +// jQuery(".full-content-tool-tip").find(".full-site-tents").html("Tents: " + site_tents); jQuery(".full-content-tool-tip").find(".full-site-campers").html("Campers: " + campers); }