{"id":7721749,"date":"2016-09-02T09:52:35","date_gmt":"2016-09-02T09:52:35","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/nested-conditional-placeholders-doesnt-work\/"},"modified":"2016-09-02T09:52:35","modified_gmt":"2016-09-02T09:52:35","slug":"nested-conditional-placeholders-doesnt-work","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/nested-conditional-placeholders-doesnt-work\/","title":{"rendered":"Nested conditional placeholders doesn&#8217;t work"},"content":{"rendered":"<p>Hi,<br \/>\nI&#8217;m trying to use nested conditional placeholders and it seems doesn&#8217;t work for me.<br \/>\nI inserted a line in wp-config-php<br \/>\n<code>define(&#039;EM_CONDITIONAL_RECURSIONS&#039;,2);<\/code><br \/>\nthis is the code I added in the single event page:<\/p>\n<pre><code>\n{has_bookings}\n\t&lt;h1 class=&quot;entry-title&quot;&gt;Come partecipare all&#039;evento&lt;\/h1&gt;\n\t{logged_in}\n\t\tsome text\n\t{\/logged_in}\n\t{not_logged_in}\n\t\tother text\n\t{\/not_logged_in}\n\t#_BOOKINGFORM\n{\/has_bookings}<\/code><\/pre>\n<p>If I try the conditional placeholders not indented, it works.<br \/>\nAny idea?<br \/>\nThanks!<br \/>\nStefi<\/p>\n","protected":false},"template":"","class_list":["post-7721749","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7721749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7721749\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7721749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}