- This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › List other events that occur the same day as a recurring event
I have two types of events on my site: recurring events (category 1) and oneshot events (category 2).
When a user views a recurring event, I’d like to list the oneshot events that occur on the same day as that particular occurence of the recurring event.
so basically I want to use the [eme_events category=2 scope=???] but I have no clue how I can make the scope to be “the date of the current event”.
When viewing an event, just put this in the single event format:
[eme_events category=2 scope=#_{Y-m-d}]
Because it is inside the single event format, the scope will get replaced with e.g.: scope=2015-08-13
And since the single event format supports other placeholders (but are only evaluated at the end), this should do what you want.