Support

Home Forums Event Espresso Premium Updating to EE4 vs staying with EE3

Updating to EE4 vs staying with EE3

Posted: December 5, 2019 at 6:40 am


Brossess14

December 5, 2019 at 6:40 am

Hello, I am considering updating our website from EE3 to EE4, but we have done some custom coding to create a sidebar of events on our location pages specific to those venues. How might I acheieve a similar result with EE4 or would it be better to just stay with EE3?


Tony

  • Support Staff

December 5, 2019 at 7:00 am

Hi there,

EE4 events are a custom post type so you can use ‘normal’ wp queries to pull events in and display them if you are comfortable doing so. We do have custom tables for additional information you’ll likely need, so we recommend using our model system.

EE4 uses a model system that also allows you to pull all data you need fairly easily and the models take care of joining the custom tables etc, an example of using that for an event list can be found here:

https://gist.github.com/joshfeck/6e33532c37a123bbf532

The specifics on what you need to do will vary but you get a general idea above and we have some documentation on using the models here:

https://github.com/eventespresso/event-espresso-core/tree/master/docs/G–Model-System

However, EE4 works very differently to EE3, have you tested EE4 to see what customizations you may need?

The support post ‘Updating to EE4 vs staying with EE3’ 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