I'm trying to narrow the data source in WP Visual Composer to posts that have 2 categories (cat1 and cat2).
This is the complete element (a post grid):
[vc_basic_grid post_type="post" max_items="-1" element_width="2" gap="20" item="masonryGrid_Default" grid_id="vc_gid:1531579131384-317a2fc3-f3e3-3" taxonomies="7, 4" el_class="relatedMedals"]
The interface for my theme has no options to exclude categories, or to define posts that belong to more than one.
Is there anything I can write here that would filter posts so that only those containing BOTH categories show?
from:
taxonomies="7, 4"
to:
taxonomies="(ONLY ITEMS WITH BOTH) 7 (AND) 4"