ability to have OR in shortcode filters
-
hello,
we have a website with 3 content types (CT1, CT2, CT3), each having their own unique category (C1, C2, C3). all posts have map coordinates.
from shortocde helper we can show lets say CT1 with specific terms form corresponding C1
[travelers-map post_types=CT1 custom_tax=”C1=term”]we’d like to show all 3 content types with specific term from each category.
[travelers-map post_types=CT1,CT2,CT3 custom_tax=”C1=term&C2=term&C3=term”]
which returns nothing, because it expects any post to have terms on all 3 categoriesso maybe if there was a different syntax like:
[travelers-map post_types=CT1 custom_tax=”C1=term OR post_types=CT2 custom_tax=”C2=term OR post_types=CT3 custom_tax=”C3=term”]
or
[travelers-map post_types=CT1,CT2,CT3 custom_tax=”C1=termORC2=termORC3=term”]is this possible?
- The topic ‘ability to have OR in shortcode filters’ is closed to new replies.