Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Preload search results › Reply To: Preload search results
Hi Steve,
That might be a bit difficult, as in WordPress not ever page has an ID (archives, front etc..). It is however possible to de-register them via a custom code.
I have put together a small custom snippet, which may cover most use cases. Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!
Change the $allowed_pages variable to the array of page IDs where you need the search scripts, as well as the $allowed_on_home variable, if the search script should be allowed on the home page.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)