Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Disable Ajax load › Reply To: Disable Ajax load
January 28, 2016 at 9:05 am
#7457
Hi!
2. You can enable that on the General Options -> Behavior panel: https://i.imgur.com/rUaziJ7.png
1. There is no option to redirect the “try this” keywords to the results page, however you can use this code snippet, if you have the option above enabled:
<script>
var _scope = ASP.getScope();
_scope(function($) {
$("p.asp-try a").click(function(){
setTimeout(function(){
var e = $.Event( "keyup", { which: 13 } );
$("input.orig").trigger(e);
}, 400);
});
});
</script>
You can put this in your active themes folder, into the footer.php file, just before the closing body tag.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)