Search & Filter
[resolved] Multiple Tags separated by hierarchy is possible? (7 posts)

  1. pedroarnau23
    Posted 2 years ago #


    I know that in the new update, multiple tags is possible.
    Thank you for this new update!! ;-)

    But I would want to know if it is possible to filter like the wordpress themes, that has a hierarchy for filtering:

    Is this possible with this plugin?

    Thank you!!


  2. DesignsAndCode
    Plugin Author

    Posted 2 years ago #

    Hi pedroarnau23, do you mean like this link? http://docs.designsandcode.com/search-filter/#example-11

  3. DesignsAndCode
    Plugin Author

    Posted 2 years ago #

    Ah I see what you mean, where you can choose include ALL the tick boxes or ANY of them?

    A latest update changes the way checkboxes and multiselects works - I haven't documented it yet but you can see my post about it here with an example, instead of ALL and ANY, I am using "AND" and "OR"


    Let me know if it works!! :)

  4. pedroarnau23
    Posted 2 years ago #

    Hi DesignsAndCode,

    Thank you for that fast answer.

    I mean a separator between diferent hierarchies.
    For example here:

    We have Colors and then all the differnet colors (that we can check).
    On the other hand we have Columns (and all the different options of coulmns that we can check)
    Then we have "Layout", etc.

    Is this possible with this plugin?
    For example I would want to have a hirarchy of colors, but the main category "Colors" shouldnt be checked but it should appear...

    I don't know if I've explained myself.

    Thank you for all your work!!

  5. DesignsAndCode
    Plugin Author

    Posted 2 years ago #

    Hi pedroarnau23, so do you mean visually, you would like things to be seperated out? This is easy enough if you know a little CSS just depends on your data

    Sorry but finding it hard to understand... Also, by different hierarchies do you mean actually mean, colors, columns etc? This would be different taxonomies.

    What you would need to do is use taxonomies for each type of variable you want (in the example you gave, you would have a taxonomy for colors, columns, layout, features & subject) - I would use a plugin like this one to create them - http://wordpress.org/plugins/ultimate-taxonomy-manager/

  6. pedroarnau23
    Posted 2 years ago #

    Thank you for your answer,

    Yes I mean separated but my question was to do withput checking the taxonomies, and with that plugin I hope that will be possible.

    Once the different taxonomies are created, this is the code I should use:
    [searchandfilter fields="search,category,post_tag,taxonomyone,taxonomytwo"]

    Am I right? ;-)

    I will try and tell you if all is OK.

    Thank you again!!

  7. DesignsAndCode
    Plugin Author

    Posted 2 years ago #

    Ah yes of course, please read the documentation there are examples with checkboxes - your shortcode should be:

    [searchandfilter fields="search,category,post_tag,taxonomyone,taxonomytwo" types=",select,select,checkbox,checkbox"]

    If you wanted to show taxonomyone and taxonomytwo as checkboxes :)

    Let me know how it goes

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Search & Filter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic