Get current event
-
I need to get the current event. At the moment it outputs all events for the day.
Here is my shortcode so far:
<?php echo do_shortcode('[my_calendar format="list" above="none" below="none" time="day" before="0" after="0" type="event" fallback="No events coming up!" template="{title before="<h4>" after="</h4>"} {time after="-"} {endtime} {image} {host} {description}" order="asc" skip="0"]'); ?>
You’ll see the results if you visit this page and scroll down. The events show up under the date on the right-hand sidebar. https://www.radioherzclub.com
Also {host} is not working, although each event has a host set.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get current event’ is closed to new replies.