Only standalone events are returned, not recurring events.
Somehow I am only able to create a sitewide ESS feed ( /?em_ess=1 ) with standalone events while the posts in it are in fact part of a recurring event.
<item type="standalone" unit="hour" priority="1"> <name>Date: 2014-03-24T16:00:00 01:00</name> <start>2014-03-24T16:00:00+01:00</start> <duration>1</duration> </item>
I noticed that in the plugin-code there is built-in support for recurrence, and recurrence works when a single parent recurring $event_id is given. It seems that the following only returns standalone (child) events when no $event_id is given:
File: /inc/views/ESS_Feed.php EM_Events::get( apply_filters( 'em_calendar_template_args', array( 'limit' => get_option('ess_feed_limit'), 'page' => $page, 'owner' => FALSE, 'orderby' => 'event_start_date' ) ) )
Edit: /?em_ess=1&event_id=2 (the parent event) in fact returns
<item type="recurrent" unit="week" selected_day="monday" limit="3" priority="1"> <name>Date: 2014-03-21T16:00:00 01:00</name> <start>2014-03-21T16:00:00+01:00</start> </item>
… but /?em_ess=1 only returns the standalone child events…
- The topic ‘Only standalone events are returned, not recurring events.’ is closed to new replies.