Title: Conditional shortcode info
Last modified: September 24, 2019

---

# Conditional shortcode info

 *  Resolved [blanch80](https://wordpress.org/support/users/blanch80/)
 * (@blanch80)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/conditional-shortcode-info/)
 * Hi Franky,
 * I’m hoping you can help with the conditional shortcodes as I can’t get one part
   working.
 * I have the below, which works in that it shows the text if the all main spaces
   are booked but there are spaces on the waiting list.
 * [eme_if tag=’#_WAITING_LIST_ACTIVATED’ value=’1′, eme_if2 tag=’#_IS_REGISTERED’
   value=’0′]
    <b>PLEASE NOTE THIS EVENT IS CURRENTLY FULL. <br /> SENDING THE BOOKING
   DETAILS BELOW WILL ADD YOU TO THE WAITING LIST, IT WILL NOT BOOK YOU A PLACE.
   <br /> IF A PLACE BECOMES AVAILABLE WE WILL CONTACT YOU VIA EMAIL.</b><br /> [/
   eme_if]
 * I’m trying to do the same around text to say that if someone has booked a place
   they can cancel using the below booking form, the code below works fine.
 * [eme_if tag=’#_IS_REGISTERED’ value=’1′, eme_if2 tag=’#_WAITING_LIST_ACTIVATED’
   value=’1′]
    <hr> <b>You already have a place booked on this event. To cancel 
   your place please use the form below. [/eme_if]
 * Then I’m also trying to add conditional text for people who are on the waiting
   list to say they are on the waiting list, and if they want to cancel their place
   on the waiting list to use the form below, code:
 * [eme_if tag=’#_IS_REGISTERED’ value=’0′, eme_if2 tag=’#_WAITING_LIST_ACTIVATED’
   value=’1′]
    <hr> <b>You are currently on the waiting list for this event. To 
   cancel your place please use the form below. [/eme_if]
 * This code however shows either way, i think because although they don’t have 
   a place booked they are on the waiting list so #_IS_REGISTERED is true, even 
   though they don’t have a actual place. Is this correct?
 * I’m hoping you can help, hope I’ve explained things properly. Just let me know
   if you need things clearing up.
 * Thanks,
    David.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-shortcode-info%2Fpage%2F2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/conditional-shortcode-info/?output_format=md)
[1](https://wordpress.org/support/topic/conditional-shortcode-info/?output_format=md)
2

 *  Thread Starter [blanch80](https://wordpress.org/support/users/blanch80/)
 * (@blanch80)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/conditional-shortcode-info/page/2/#post-11967720)
 * Spot on, worked a treat. Thanks for your help with this one.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/conditional-shortcode-info/page/2/#post-11976053)
 * The next version will allow this text to be changed via an option.

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/conditional-shortcode-info/?output_format=md)
[1](https://wordpress.org/support/topic/conditional-shortcode-info/?output_format=md)
2

The topic ‘Conditional shortcode info’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 17 replies
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/conditional-shortcode-info/page/2/#post-11976053)
 * Status: resolved