Using conditional tag within events_list shortcode?
-
Hi,
First of all great plugin, lots of customization and easy to work with.
secondly, I don’t know what is the deal with the official support forum for this plugin but I have nearly been waiting for a week to get my password but it is never received (and no it is not in spam/junk as well). I tried to resend password but nopes nothing works!!!
Third, I am stuck. I am trying to show a customized list of upcoming events and for that using events_list shortcode. Originally, my events list format (on the settings page) is using events_if conditional tag to check if rsvp is enabled for the event. if yes it shows registration link otherwise showing “coming soon.”
Now the problem: using [events_list] shortcode and defining a new format, I can’t seem to be able to workaround the if conditional tag (because [events_if] is also a short code and shortcode within a shortcode just doesn’t work). Any idea how to get this done?? Maybe I am missing out something?? I have been trying for hours now but failed.
here is the shortcode being used on my page so far:
[events_list limit=0 scope=future format="<ul><li><h3>#_EVENTNAME</h3><p>#j #M, #Y</p> <p>Registeration Fee: #_CURRENCY #_EVENTPRICE</p><p>#_EVENTDETAILS</p> [events_if tag='#_IS_RSVP_ENABLED' value='1']<a href='#_EVENTPAGEURL'>Register Now</a>[/events_if][events_if tag='#_IS_RSVP_ENABLED' value='0']Opening Soon[/events_if]</p></li></ul>"]
- The topic ‘Using conditional tag within events_list shortcode?’ is closed to new replies.