upcoming template shortcode before & after
-
I am trying to format upcoming events with the template attributes and shortcodes. The default template string for list view does not work. The strong html tags show up as text rather than tags. When I change them to be included as before and after attributes of the {date} shortcode they work. However, when I add another shortcode with before and after attributes things get weird. Below are two examples of upcoming template strings and their respective results, neither of which are completely correct. I have tried various combinations of squotes, double quotes and backslash double quotes:
[my_calendar_upcoming template="{date before=\"<strong>\" after=\"</strong>\"}, {time}: {link_title}{shortdesc}" type="event" order="asc"] [my_calendar_upcoming template='{date before="<strong>" after="</strong>"}, {time}: {link_title} {shortdesc}' type="event" order="asc"]
The first one correctly makes the date bold but does not show the shortdesc.
The second one inserts the strong tags as text but shows the shortdesc.
- The topic ‘upcoming template shortcode before & after’ is closed to new replies.