Title: OR Condition
Last modified: May 3, 2020

---

# OR Condition

 *  Resolved [hshah](https://wordpress.org/support/users/hshah/)
 * (@hshah)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/or-condition/)
 * I’ve been reading through the guides and there is a lot to take in, but have 
   to say that this plugin is going to save me a lot of effort.
 * I was just wondering if there was an OR condition as well? I read about AND, 
   NOT and ELSE, but didn’t see anything about OR.
 * I’ve got a basic condition:
 *     ```
       [is author]
          // Another Shortcode Here
       [/is]
       ```
   
 * And in addition to “is author”, I want to add:
    – OR “is admin” – OR “has capability
   xyz”
 * How would I know how to do the above mentioned conditions, just not how to string
   them together.

Viewing 1 replies (of 1 total)

 *  Thread Starter [hshah](https://wordpress.org/support/users/hshah/)
 * (@hshah)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/or-condition/#post-12771379)
 * Well that was easy… I just decided to try OR and it seems to work.
 * Problem solved lol 😀

Viewing 1 replies (of 1 total)

The topic ‘OR Condition’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [hshah](https://wordpress.org/support/users/hshah/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/or-condition/#post-12771379)
 * Status: resolved