RobinAmber87
Forum Replies Created
-
Forum: Plugins
In reply to: [Blox Lite] How to add genesis breadcrumbsYou ROCK!!! I had tried using that tutorial, and tried modifying things but still had no luck – you’re awesome! Things are looking super now. Thanks Nick!! 🙂 :-)!
- This reply was modified 9 years, 8 months ago by RobinAmber87.
Forum: Plugins
In reply to: [Blox Lite] How to add genesis breadcrumbsThanks Nick!!! 🙂 Enjoy your vacation wherever you might be.
Cheers.
Forum: Plugins
In reply to: [Blox Lite] How to add genesis breadcrumbsAnyone?
Forum: Plugins
In reply to: [WP Store Locator] Home Page Input to Pass Data to LocatorThanks Tijmen, I had already seen that but it wasn’t clear to me which files I am supposed to be editing.
By using gravity forms I was able to setup the input on the home page and have it pass the data to the second url – but I am not sure how to get that page to actually use the info.
Could you please you explain more clearly which file this code should go into.. ? 🙂
/ get parameter and post on location search
$(function (){
$.urlParam = function(name){
var results = new RegExp(‘[\?&]’ + name + ‘=([^&#]*)’).exec(window.location.href);
if (results==null) {
return null;
} else {
return results[1] || 0;
}
}// example.com?zip=01000
$.urlParam(‘zip’); // name// set the default value of a text input field
$(‘#wpsl-search-input’).val(decodeURIComponent($.urlParam(‘zip’)));// delay and click button
setTimeout(function(){
$(‘#wpsl-search-btn’).click();
},2000);
});