Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search specific pages › Reply To: Search specific pages
June 29, 2016 at 7:10 pm
#9312
Great!
In that case the $id in the arguments list is actually the search id, so you can change the $args line accordingly:
if ( $id == 1 )
$args["post_in"] = array(1, 2, 3, 4);
..and basically that’s it, that should do the trick.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)



