Combining Conditional Placeholders
-
First of all, thanks for such a great plugin. The documentation is fantastic.
I am trying to combine conditional placeholders following the instructions on the doc page: https://wp-events-plugin.com/documentation/conditional-placeholders/.
I added the line on the bottom of wp-config.php – the file that’s in the root of the WordPress installation directory. However, it doesn’t seem to work.
The snippet of code I am trying to get to work:
{is_future} {has_att_event_register_link} <p> <a class="register-button" href="#_ATT{EVENT_REGISTER_LINK}">Register</a> </p> {/has_att_event_register_link} {/is_future}
Note that I have tested the code with one or the other conditional placeholder and it works fine. It only fails when I have both in. I also have code for the custom conditional placeholder.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Combining Conditional Placeholders’ is closed to new replies.