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.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘How do I …’ is closed to new topics and replies.
Manage Cookie Consent
We use cookies to optimize our website and our service.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.