Reply To: Search specific pages

#9312

Ernest Marcinko
Keymaster

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 :)