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

This topic contains 2 replies, has 2 voices, and was last updated by sison246612 sison246612 1 year, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33686
    sison246612
    sison246612
    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

    View post on imgur.com

    Here I have unchecked the category “Asia”, but the child posts are still showing

    View post on imgur.com

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

    • This topic was modified 1 year, 9 months ago by sison246612 sison246612.
    #33688
    Ernest Marcinko
    Ernest 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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #33691
    sison246612
    sison246612
    Participant

    Solved. Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.