• Hello!
    I have a custom post type with lot of parent categories which have child categories.
    I’d like to filter posts with this great plugin.
    I was wondering if there was any chance to display child categories only when parent category is selected with a checkbox.

    I would like something like that:
    Phase 1: I have selected First Category, so Sub 1 and Sub 2 are selected too.
    First Category <–
    Sub 1
    Sub 2
    Second Category
    Third Category

    and now, I look at Second Category.
    First Category
    Second Category <—
    Sub 1
    Sub 2

    If The first category fold back up, it would reveal the second category. That would be really awesome.

    https://wordpress.org/plugins/ultimate-wp-query-search-filter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TC.K

    (@wp_dummy)

    Theoretically, yes it is possible.
    But it will require customization.

    Thread Starter whoaloic

    (@whoaloic)

    Do you think there is any chance to implement this in a next update?
    I mean I need to handle Child categories but the plugin does not allow this.
    I’ve created custom post taxonomy “Family” where I have 3 parent categories “Family A”, “Family B”, “Family C”. Inside these parent categories, there are multiple child categories “Sub family A1”, “Sub family B1”, etc.

    The plugin displays the taxonomy terms in an alphabetical order :
    “Family A”
    “Family B”
    “Family C”
    “Sub family A1”
    “Sub family B1”.

    So I’d prefer to keep the hierarchical logic.
    “Family A”
    “Sub family A1”
    “Family B”
    “Sub family B1”
    “Family C”

    To get this display, I have a non pretty solution which would be to create multiple custom post taxonomies which would fit to “Family A”, “Family B”, “Family C”. Then I will create terms per taxonomy (“Sub family A1”, “Sub family B1”).

    Looking forward to reading from you.

    Plugin Author TC.K

    (@wp_dummy)

    Unlikely to implement it to next update.
    This is too complicated to fit in the plugin for general use , and better to do it in own customization.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display child categories when parent category is selected’ is closed to new replies.