From: Anthony Talarico Date: Mon, 30 Apr 2018 12:14:08 +0000 (-0400) Subject: adding new links for the bottom portfolio section X-Git-Tag: v1.0.0^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c6da3f5e1ab82ca62f2b837550a233f8c92b6111;p=WP-Themes%2Fkingsail.git adding new links for the bottom portfolio section --- diff --git a/header.php b/header.php index 38f5383..40812bc 100644 --- a/header.php +++ b/header.php @@ -19,6 +19,12 @@ + > diff --git a/js/custom.js b/js/custom.js index 742714c..13a3396 100644 --- a/js/custom.js +++ b/js/custom.js @@ -150,7 +150,11 @@ jQuery(document).ready(function($){ }, 1000 ); } - $('.portfolio-list').on("click", function(e){ + $('.portfolio-listing').first().children('.portfolio-list').on("click", function(e){ e.preventDefault(); }); + let portfolio_bottom = $('.portfolio-listing').last(); + portfolio_bottom.children('a').first().attr('href', 'https://clients.innroad.com/kingsail/property.aspx').attr('target', '_blank'); + portfolio_bottom.children('a:eq(1)').attr('href', window.pages.amenities); + portfolio_bottom.children('a').last().attr('href', window.pages.area); }); \ No newline at end of file