Conditional placeholders
-
I’m trying to use
{has_category_X}content{/has_category_X}
on the single event page, but nothing seems to happen. The code itself is also not being showm (unless i break the placeholder).I want to use two different forms depending on the event category.
I figured, from reading the documentation on the website, i was sepose to use it like so:
{has_category_diner}Content when the event category is diner{/has_category_diner} {no_category_diner}Content shown when the event category is NOT diner{/no_category_diner}
Where “diner” can be either the name, id or slug. (the slug i want to use in this case is “diner” or NOT “diner”).
Any help on the matter would be much appreciated ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Conditional placeholders’ is closed to new replies.