Knowledge Base

Limiting results to specific posts by parent ID

While there is no option to limit the results pool to posts with specific parents only, it is possible with a filter, very easily.

Use this custom filter in the functions.php file in your active theme directory:

..same code, but to apply only for specific search instances: