Title: Nested conditional placeholders not working.
Last modified: August 21, 2016

---

# Nested conditional placeholders not working.

 *  Resolved [John O](https://wordpress.org/support/users/jossoway/)
 * (@jossoway)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/nested-conditional-placeholders-not-working/)
 * Hi,
 * I am working with the events manager and cannot get nested conditional placeholders
   working on the events list page.
 * I have added the following to wp-config.php
 *     ```
       define('EM_CONDITIONAL_RECURSIONS',2);
       ```
   
 * Conditional placeholders at level one work fine, but when I try something like
   this:
 *     ```
       {is_future}
   
       	{has_spaces}
       		Booking button here
       	{/has_spaces}
   
       	{fully_booked}
   
       		Fully booked message
   
       	{/fully_booked}
   
       {/is_future}
       ```
   
 * it doesn’t work.
 * Can anyone spot where I am going wrong?
 * [http://wordpress.org/plugins/events-manager/](http://wordpress.org/plugins/events-manager/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Philip John](https://wordpress.org/support/users/philipjohn/)
 * (@philipjohn)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/nested-conditional-placeholders-not-working/#post-4358580)
 * Hiya,
 * Hmm that should work – can you try changing that to the below and see if it works
   please?
    `define('EM_CONDITIONAL_RECURSIONS',2);`
 * Thanks
    Phil
 *  Thread Starter [John O](https://wordpress.org/support/users/jossoway/)
 * (@jossoway)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/nested-conditional-placeholders-not-working/#post-4358585)
 * Hi,
 * That looks identical to what I currently have in wp-config.php – I’ve copied 
   and pasted yours in over mine though, still no joy.
 * Is there anywhere specific it should go in wp-config.php that might affect things?
 * John
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/nested-conditional-placeholders-not-working/#post-4358680)
 * Just to let you know I’m continuing this on the Pro thread you started.
 *  Thread Starter [John O](https://wordpress.org/support/users/jossoway/)
 * (@jossoway)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/nested-conditional-placeholders-not-working/#post-4358782)
 * Thanks.
 *  [light_in_tunel](https://wordpress.org/support/users/light_in_tunel/)
 * (@light_in_tunel)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/nested-conditional-placeholders-not-working/#post-4358911)
 * Hi There,
 * I’m also having this problem: changed wp-config but I’m unable to get nested 
   conditional placeholder to work. Can please someone help me?
 * Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Nested conditional placeholders not working.’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [light_in_tunel](https://wordpress.org/support/users/light_in_tunel/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/nested-conditional-placeholders-not-working/#post-4358911)
 * Status: resolved