Support » Fixing WordPress » displaying archive of parent & all sub categories

  • As far as I understand, is_category() checks whether the category’s archive page is being displayed, and in_category() checks whether a post has a specific category ID.

    How can I filter a post so that it will be from a parent category or any sub categories thereof (except by listing in_category() for every sub category ID)?

  • The topic ‘displaying archive of parent & all sub categories’ is closed to new replies.