Posted: March 25, 2014 at 1:32 pm
|
Hello i have the latest version of WordPress as well as latest EE4 available. It appears that my events lists as well as each event are being displayed like a blogpost so next to the event desc. there is a date and time it was published..etc.. how can i make EE4 to treat it’s pages as Full-Width pages and NOT blog posts? Thank you! |
Hi Andriy, There are a few methods available for customizing Event Espresso 4: https://eventespresso.com/2014/02/developers-corner-theming-event-espresso-4/ Before creating a child theme, I would try creating some theme templates from some existing files in your theme folder: archive-espresso_events.php – used for /events/ page single-espresso_events.php – used for /events/my-new-event/ page They should go in this location: wp-content/themes/YourThemeFolder — |
|
|
Hello, |
Hi Andriy, It really depends on how your theme is structured, so we do not have step by step instructions for this. Event Espresso 3 did not have support for events as custom post types, everything happened on regular WordPress pages. You can achieve an event list archive page much like the way Event Espresso 3 worked by creating a new page and placing the [ESPRESSO_EVENTS] shortcode on it. This will allow you to select a full page template. The single event view is a little trickier because events are custom post types they display within your theme’s single post template. One way to accomplish a full width layout is by taking the theme’s full-width page template and making a copy of it, then renaming it single-espresso_events.php and swapping in this line of code where it loads up page content: espresso_get_template_part( 'content', 'espresso_events' ); -or- copy over single-espresso_events.php from the templates folder in the Event Espresso plugin like Lorenzo mentioned and remove the call to get the sidebar: get_sidebar( 'content' ); get_sidebar(); Again, this will depend on how your theme is structured and will likely require some additional tweaking to get it just right. |
|
The support post ‘EE4 Events Displayed like Blog Posts’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.