[SHORTCODE] “NOT” in custom WHERE
-
Hi all,
Can someone tell me how I can set my Pods shortcode to not select all CPT that are NOT in a specific taxonomy ?
To select CPT that are in a specific taxonomy I use
taxonomy_name.slug = "a"
in my WHERE condition and it works fine, but how can I do if I want to select all items that are NOT in the “a” taxonomy ? I triedtaxonomy_name.slug != "a"
but it doesn’t work at all.Help would be much appreciated ??
Thx
[EDIT] I’ve tried the “NOT” syntaxe (cf https://www.w3schools.com/sql/sql_and_or.asp) :
NOT taxonomy_name.slug = "a"
by it doesn’t work either.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[SHORTCODE] “NOT” in custom WHERE’ is closed to new replies.