From: Steve Sutton Date: Fri, 9 Feb 2018 21:47:02 +0000 (-0500) Subject: Remove popular searches X-Git-Tag: v1.0.0^2~21 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=082468e6699c90215072db3be1aa978d5b8c1f80;p=WP-Themes%2Fwmta.git Remove popular searches Remove from search overlay. --- diff --git a/template-parts/search-overlay.php b/template-parts/search-overlay.php index 676b0d7..9c6fae2 100644 --- a/template-parts/search-overlay.php +++ b/template-parts/search-overlay.php @@ -113,9 +113,7 @@ $cities = $decode_array['cities']; @@ -131,10 +129,6 @@ $cities = $decode_array['cities']; + '&cityUserSearch[]=' + encodeURI(document.getElementById('xlo').value) + '®ionUserSearch[]=' + encodeURI(document.getElementById('xre').value); window.location = search_url; - - //'#!directory/map/ord=rnd/tag=' + encodeURI(document.getElementById('tag').value) + '/lbl=' + encodeURI(document.getElementById('lbl').value) + '/xlo=' + encodeURI(document.getElementById('xlo').value) + '/xre=' + encodeURI(document.getElementById('xre').value) ; - - }, false);