Need shortcode to display one event at a time
-
We have about 20 events a year that we need to display one at a time. the arrow should allow users to cycle five events one at a time. Currently the shortcode is displaying multiple events on the page. Your help would be appreciated.
Here is the current code:
<div class="event-slider grid"> <div class="event-controls"> <a href="index.php?page_id=113">Events</a><a id="prev-event" href="#">∧</a><a id="next-event" href="#">∨</a> </div> <div class="event-slides"> <?php echo do_shortcode('[my_calendar_upcoming category="2" fallback="No events coming up!" template="0cd1df173d80fa37ac50199b1a0dd4f9" before="0" after="5" skip="0" show_today="yes" type="event" order="asc"]'); ?> </div> <div class="event-p"> <p>Scriptural days begin at sundown of the previous day</p> </div> </div>
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Need shortcode to display one event at a time’ is closed to new replies.