This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Child Category Still Shows After Parent Filter Unchecked

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Child Category Still Shows After Parent Filter Unchecked

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33686
    sison246612sison246612
    Participant

    I have a nested category Asia->Philippines

    However, I prefer to only show the parent categories on the filter to reduce clutter

    If the user unchecks the parent category, shouldn’t the child also not show

    Here the parent category “Asia” is checked and the posts under the child “Philippines” is showing
    https://i.imgur.com/1yIEJoG.jpg

    Here I have unchecked the category “Asia”, but the child posts are still showing
    https://i.imgur.com/VNnrjQF.jpg

    Is there a way for the child posts to not be shown without adding the child category in the filter?

    • This topic was modified 4 years, 11 months ago by sison246612sison246612.
    #33688
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    It should be excluded.

    Are those items actually within the “Asia” category as well? Or only in the “Philippinies”?
    If they are not assigned the “Asia” category, then they will not be excluded – as there is no direct connection bewteen the item and the parent category.

    #33691
    sison246612sison246612
    Participant

    Solved. Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.