• Resolved a2withkids

    (@a2withkids)


    Is my title confusing enough?
    I have a multi-day festival that has several events daily that are each on the calendar. Some events repeat daily so they are recurring events, others are one time events. They all have the same tag – “festival”. On any given event, I want to display the other events that day.
    [events_list tag=”festival” scope=<date>][/events_list]

    For the individual events, I know <date> and can type it in (“2010-06-20”). But, I’m stuck for the recurring event. Say it recurred daily, June 20-July 1. When I’m viewing the June 23 instance, I want to see the events for June 23. If I’m viewing the June 20 date, I want to see events for June 20.

    If I was doing this for every event and to show all events that day, I could set it in the events manager settings using #_EVENTDATES, but that doesn’t work when I’m using it in the content of the event.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    using search attribute scope, you can try like scope=”2010-06-23″ or using events listing group shortcode like [events_list_grouped mode=”daily” scope=”future”]

    Thread Starter a2withkids

    (@a2withkids)

    Thanks, but that isn’t solving my full problem.

    The actual date works for one time events (ie an event that only occurs on June 23), but not a recurring event.

    I have a recurring event (say June 20, June 21, June 22, June 23, June 24). When I’m looking at the June 23 event that is created from the recurring event, I want the short code to only list events on June 23. But if I’m looking at the June 22 event, I want it to only list June 22 events so I can’t hard code a date.

    Using future would list all upcoming events. Using today would list based on today’s date.

    TreeTrail

    (@aprilschmitt27)

    You’re probably looking for something more complex, but just in case …something like this would limit a lengthy recurring event display:

    [events_list category=“55” scope=“future” limit=“2”]
    #_EVENTLINK
    [/events_list]

    ~April

    @a2withkids, just to be clear… You do want to show the “same day events” for every event, right? Then I would suggest extending @aprilschmitt27’s suggestion.

    In Events > Settings > Formatting > Single Event, add something like:
    [events_list tag="festival" scope=#_EVENTDATE]#_EVENTLINK[/events_list]
    The #_EVENTDATE will be processed for the single event of that post_id/event_id. And you can use the placeholder, because it’s in the formatting settings.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Use Event Information in Shortcode Within a Description’ is closed to new replies.