just to narrow down the problem and help us debug the issue is it possible to try the following temporarily:
– deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-specific problems
Done and done. Neither of these resolved the problem.
you can try this instead – http://detroitcomedyscene.com/upcoming-events/feed/
since your events page is set to upcoming-events
same problem here
i added this to my themese function.php (several years ago) and it has been working fine. Now http://www.whatsonoundle.org.uk/events/feed/ is not showing any events
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
add_filter( 'em_events_build_sql_conditions', 'my_em_scope_conditions',1,2);
function my_em_scope_conditions($conditions, $args){
if( !empty($args['scope']) && $args['scope']=='nextweek' ){
$start_date = date('Y-m-d',current_time('timestamp'));
$end_date = date('Y-m-d',strtotime("+7 days", current_time('timestamp')));
$conditions['scope'] = " (event_start_date BETWEEN CAST('$start_date' AS DATE) AND CAST('$end_date' AS DATE)) OR (event_end_date BETWEEN CAST('$end_date' AS DATE) AND CAST('$start_date' AS DATE))";
}
return $conditions;
}
add_filter( 'em_get_scopes','my_em_scopes',1,1);
function my_em_scopes($scopes){
$my_scopes = array(
'nextweek' => 'The Next Week'
);
return $scopes + $my_scopes;
}
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Figured it out. Had to set Settings > Pages > Enable Archives? to ‘Yes.’