How to list events by category and month with plugin Event Organiser?
You can use the plug-in provided function eo_get_events(). This is essentially a wrapper for get_posts(), and so is intended for ‘secondary’ loops. The plug-in specific arguments can also be given to a WP_Query object – in case you wanted to modify the main loop. (Related: When to use WP_query(), query_posts() and pre_get_posts ) $events = … Read more