Support

Home Forums Event Espresso Premium my migration from EE3 to 4

my migration from EE3 to 4

Posted: May 15, 2015 at 9:12 pm

Viewing 2 reply threads


mkeenan

May 15, 2015 at 9:12 pm

Just migrated our site on a development server to iron out all the bugs prior to doing our live site, and I have a question.

I have set up a dummy course, see link below, but the page it displays the event on appears not to be a page, but a blog or post page type, I didnt know how to revert it to a normal page, were i can control the look and feel of the template, as i dont want author or blog articles listed below.

please advise

http://rcdemo.com.au/2015/may/events/test-course/


mkeenan

May 17, 2015 at 10:33 pm

Please advise options to fix?


Dean

May 18, 2015 at 12:20 am

Hi,

In EE4, events are custom post types (espresso_events) and are by default controlled by the themes archive.php and single.php.

If the theme doesn’t allow an option or hook/filter to disable the author/recent posts on specific post types, then you could copy the single.php and rename it single-espresso_events.php and edit it to remove the author/recent posts section (EE will always prefer single-espresso_events.php over single.php).

Some more info on templating: https://eventespresso.com/wiki/ee4-themes-templates/

Please note that if you do this, you should ideally add it to a child theme, rather than the actual theme, otherwise theme updates will remove the modified file.

Child theme info: https://codex.wordpress.org/Child_Themes

Viewing 2 reply threads

The support post ‘my migration from EE3 to 4’ 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.

Event Espresso