[Plugin: My Calendar] Upcoming events shortcode
-
I am using upcoming events widget in sidebar but also using upcoming events shortcode in a page.
My shortcode is as follows:
[my_calendar_upcoming before="0" after="3" type="event" fallback="No events coming up!" category="" author="" template="{date} {location}" order="asc" show_today="yes" skip="0"]
This behaves as I’d expect, and outputs an unordered list item with the date and location data only.
However, as soon as I add any before and after attributes to my template tags like so;
[my_calendar_upcoming before="0" after="3" type="event" fallback="No events coming up!" category="" author="" template="{date before="<strong>" after="</strong>"} {location}" order="asc" show_today="yes" skip="0"]
I get an unordered list output of;
date – title</br>
time, CategoryWhy does this happen? It is not picking up this output from my sidebar widget as tags are not same, it seems to be defaulting to some other template?
- The topic ‘[Plugin: My Calendar] Upcoming events shortcode’ is closed to new replies.