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
Keymaster
Hi!
2. You can enable that on the General Options -> Behavior panel: http://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:
[html]<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>[/html]
You can put this in your active themes folder, into the footer.php file, just before the closing body tag.