My website has a group of main categories with their respective child categories. I am developing custom featured sections but needed help developing a WP_Query condition.
Is there a way to filter out posts filed to a 'Featured' category that also belong a certain category and it's children?
Example. My travel category (ID=1) has sub-categories like Hotels (ID=2), Tickets (ID=3), and Reviews (ID=4). I also have a Featured category (ID=8).
How do I filter posts filed to Featured but also belong to anyone of the above Travel category and/or sub-categories?