• Resolved yannick111

    (@yannick111)


    Hi,

    I tried this extension which looks amazing. Thanks for all the work done.

    I was wondering how can I make Cross-filtering ? I mean if I have differents categories like for example Speed and Height. I would like that the filter displays only articles that have at the same time Speed AND Height category.

    Because what I saw until now, if I select Speed and Height categories then it displays both articles that are labeled Speed or Height but not only Speed and Height ?

    Thank you very much for you help! I appricate it!
    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YMC

    (@wssoffice21)

    Hi!

    The filter works based on the attached terms to the selected posts. If this post is attached to the Speed ​​and Height categories and the required terms are marked in it, then this post will be included in the filtering results. Of course, here you need to take into account the logic of taxonomy connections using the Taxonomy Relation option. Everything will depend on your settings in the plugin.

    Thread Starter yannick111

    (@yannick111)

    Hi!
    Thank you so much for the quick answer.

    I am not sure that my question is fully answered. Sorry I probably misexpress myself haha

    Let me try to explain it better.

    If I have many criterias on each post for example:
    Post 1 categories : Speed + Height

    Post 2 categories : Speed + Light

    Post 3 categories : Light + Height

    Post 4 category : Mushroom

    If someone who is searching by selecting Height then, Post 1 +3 is displayed

    If someone who is searching by selecting Light + Height then Only post 3 will be displayed

    If someone select Mushroom + Height, then No post will be displayed as they dont have both categories.

    Am I more clear by explaining like this ?

    Thank you very much in advance 🙂

    • This reply was modified 8 months, 3 weeks ago by yannick111.
    Plugin Author YMC

    (@wssoffice21)

    Here all logic is based on the relationships between taxonomies. For these purposes, there is an option Taxonomy Relation that manages relationships between different taxonomies. If you need to rigidly bind a post to the necessary terms, then you should set the relationship as “AND”, and if the conditions suggest a less rigid binding, then the option will be “OR”. Everything is built on the basis of the work of the global object WP Query in WordPress

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

The topic ‘Cross-Filters’ is closed to new replies.