this is the way WP sorts posts out (events are custom post types). your option is to either copy single.php, rename it to single-event.php and modify as needed
or just remove this page layout style and use pages by going to Events > Settings > Pages > Event Pages > Show as page.
Thank you for the reply. I understand that I will need to modify the single.php / single-event.php but that is where I get stuck. Exactly what would I need to do so it would go from one event to the next based on calendar date?
Also, if I go to pages, I run into the same issue… what exactly needs to be done code wise to achieve this ?
I’d like to have this too. I just noticed that the “next post” and “previous posts” links are referring to “events” that I had deleted completely from the system (by emptying the “trash”).
I don’t mind not having the next/prev links and using “Show as Page”, but I want to have comments on the Pages. I’ve enabled the theme to allow page comments, but for some reason, there’s still no comment section.
@srdriggers one way would be to use WP_Query to find event post types and you can search by timestamp which is stored as post custom fields.
The ones you want are _event_start_ts and _event_end_ts which are start date/time and end date/time of each event.
@lazyazian
that should be possible, but you need to enable comments in EM settings too, as well as on the posts you want comments to be enabled.
Thanks Marcus, but I enabled comments in EM settings and on the individual and recurring events.
It’s weird. Not sure why the “Pages” still don’t have comments allowed.
@marcus – is there a way to remove the “next / prev post” links?
Not sure of what to add to the single-event.php in my Child Theme. The only code currently in the file is:
global $EM_Event;
/* @var $EM_Event EM_Event */
echo $EM_Event->output_single();
@lazyazian
Comments:
EM settings at Settings > Pages > Event Pages
should be okay? do you have any sample link?
Removing next/prev link:
Make events page as Page at Settings > Pages > Event Pages > Display events as - Page
@agelonwl
Thanks for the help! Unfortunately, if I change the settings to “Display events as – Page,” it removes the comments. You can see the site currently at http://www.mashupasia.com/mashups (that’s the list of events).
It’s currently set as “Posts” because I’d prefer to have comments there versus no comments.