Events Made Easy Forums How do I … List other events that occur the same day as a recurring event

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53234
    Anonymous
    Inactive

    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”.

    #53236
    Franky
    Keymaster

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top