Is there any way to include posts that are in any child of category 982, but exclude those which are only in category 982?
<?php query_posts($query_string . '&cat=-282,-428,,-1046,-1103,-982'); ?>
Is there any way to include posts that are in any child of category 982, but exclude those which are only in category 982?
<?php query_posts($query_string . '&cat=-282,-428,,-1046,-1103,-982'); ?>
You must be logged in to post a comment.
I’d first start by getting the children ID’s of the parent category, storing them in a list, and then passing them in as a parameter as an include.
Something along those lines.
You can also take the non-associative array approach.