Syntax for IN Cat1 And NOT IN Tag1
-
Thanks for your previous help with use of AND
My SQL is not too hot, hence I am not so good at getting what I want with MLA galleries. This is what I am trying to do:
attachment_category=’cat1′ AND attachment_tag= NOT IN ‘cat1’
I have tried using tax_operator=”IN” and tax_operator=”NOT IN” within the same statement.
In case my query is not clear:
I have categories, Small, Medium and Large
And tags Red, Blue and Green
When an item is no longer available, (which may be temporary or permanent) – rather than deleting it or changing it’s category to ‘Deleted’ I want to add a ‘deleted’ tag so it is not included in the results.
If item becomes available again I will just have to remove the ‘deleted’ tag.
- The topic ‘Syntax for IN Cat1 And NOT IN Tag1’ is closed to new replies.