Allow AND condition on GVLOGIC, please
it is very very helpful if, AND condition will be included on If- Else statement of gvlogic
18
votes
![](https://secure.gravatar.com/avatar/8d83f2cf4286f0012b070dd35e284427?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Good news!
In the next update of GravityView, you’ll be able to use AND or OR statements inside the [gvlogic] shortcode.
• Use && to match all values: [gvlogic if=“abc” contains=“a&&b”]
• Use || to match any values: [gvlogic if=“abc” equals=“abc||efg”]
The next release will be coming out within a week; keep your eyes out for it.
Thanks for voting for this feature.
-
chris commented
Surely the GVLOGIC2 , GVLOGIC3 function etc solve the 'AND' part of this , but there is certainly a need for the 'OR' part to be included.
-
Moorey commented
A full XOR/OR/AND etc logic would be great
-
JR commented
OR logic as well.