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
Keymaster
Great!
In that case the $id in the arguments list is actually the search id, so you can change the $args line accordingly:
[php]if ( $id == 1 )
$args["post_in"] = array(1, 2, 3, 4);[/php]
..and basically that’s it, that should do the trick.