From: Anthony Talarico Date: Thu, 30 Aug 2018 15:45:18 +0000 (-0400) Subject: setting the read more link on city hover X-Git-Tag: v1.0.30^2~8 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e599328af2b54c77536ee29f305567a7a859503d;p=WP-Themes%2Fvisitbenzie.git setting the read more link on city hover --- diff --git a/parts/benzie-map.php b/parts/benzie-map.php index 510b544..a5a40d4 100644 --- a/parts/benzie-map.php +++ b/parts/benzie-map.php @@ -83,6 +83,7 @@ $js_sites = json_encode($sites); // content.find('.map-image-container img').attr('src', sites[id]['image']); content.find('.map-title-link').html(sites[id]['title']); content.find('.map-page-content').html(sites[id]['excerpt']); + content.find('.map-page-more').attr("href", sites[id]['url']); } catch(e){ console.log("This page doesn't exist or it has the wrong id in the pages array"); }