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

Filter by child category without having to also check parent category

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Filter by child category without having to also check parent category

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55720
    danielschwindt_zjjcdanielschwindt_zjjc
    Participant

    See here: https://www.newageindustrial.com/resources/?p_asid=3&p_asp_data=1&filters_initial=1&filters_changed=0&qtranslate_lang=0&current_page_id=4453&asp_s=

    The column on the left shows all categories for CPT “Resources”. We have a parent category “Videos” with various child categories, such as “Product Demo”. All of the posts are assigned to BOTH the parent and one of the child categories. The problem is that people naturally click just “Product Demo” when filtering and that returns zero.

    Am I going to need to change the assignments such that all posts belong ONLY to the lowest level (child) category? Or is there a setting I could use so that if someone checks just “Product Demo” they get all those videos without having to check “Video” + “Product Demo”.

    Just seeing if there’s an easy way before I re-do all the category assignments.

    #55723
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    There is a better way in my opinion, by changing the checkbox logic here: https://i.imgur.com/NTMG5qR.png

    That way, it is sufficient to have either of the categories checked to yield a result belonging to any of the selection. I think it will work in your case the best.

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