• Hi,

    I know that your Event Rockets plugin is technically beta and unsupported, but maybe I can still offer bug report(?) here:

    I have a recurring event that I would like to include with shortcakes, displaying upcomning dates as of today and a few months in the future. So I expected this to work:

    [event_embed event="parish-nurse-available"]
    <a href="{link}">Pamela is available again</a> in the Lounge on <strong>{start_date}</strong>
    [/event_embed]

    However; this shows the event with the initial start date (that has already passed.)

    This doesn’t work at all (displays nothing)

    [event_embed event="parish-nurse-available" from="today"]
    <a href="{link}">Pamela is available again</a> in the Lounge on <strong>{start_date}</strong>
    [/event_embed]

    But if I instead use a category to filter out the event (instead of targeting the event directly)

    [event_embed category="parish-nurse" from="today"]
    <a href="{link}">Pamela is available again</a> in the Lounge on <strong>{start_date}</strong>
    [/event_embed]

    it works as expected.

    It is just a shame that I have to create a separate category for each event I want to include. Am I missing something, or is it possible there are a few shortcodes missing from the Event Rocket implementation?

    https://ww.wp.xz.cn/plugins/event-rocket/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Hi!

    This is something of an oversight and stems from the fact that each instance of a recurring event has its own slug which is not the same as that of the initial event.

    I completely undestand this would be frustrating and I’d generally agree it should behave rather like you’ve described, so I logged an issue and if possible I’ll try to address this in the next release 🙂

    Plugin Author Barry

    (@barryhughes-1)

    Once 3.0 is released (which should coincide with the next major update for The Events Calendar itself) this ought to work as you outlined, anderscarlen 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘targeting single recurring events with short code’ is closed to new replies.