Reply To: Search specific pages

#9308

Ernest Marcinko
Keymaster

Hi!

Well, there is no option for that, but it is possible by using a small custom snippet if you are using plugin version 4.9.0 or further.

Try putting this code to the functions.php file in your active theme directory:

Don't forget to change the numbers 1, 2, 3, 4 to the page IDs you want to restrict the search to.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)