Support

Home Forums Event Espresso Premium [EE4] Custom Events Listing Display

[EE4] Custom Events Listing Display

Posted: March 5, 2014 at 3:50 pm

Viewing 3 reply threads


Ryan Mayer

March 5, 2014 at 3:50 pm

——————————————————-
Wordpress Version 3.8.1
New installation of Event Espresso 4, with no add-ons.
——————————————————-

Hey Guys,

I’ve search everywhere for this, but can only find instructions in the docs for EE3 and things are a little different in EE4. Apologies if I’ve missed this help elsewhere.

I’m trying to customize the way the events listings page looks along with what information is displayed. Basically, I’m wishing to style the event box and only want to display the title only. What’s the template I can customize and how can I display only the info I want?

Thanks in advance and all the best,


Dean

March 6, 2014 at 2:51 am

Hi Ryan,

EE4’s events are now Custom Post Types. As such the styling is done via the theme.

Here’s some docs, though it is a little developer heavy in its tone – https://eventespresso.com/wiki/ee4-themes-templates/

Basically, the best course of action would be to create a child theme for your theme, and then create a new archive and single page based on that called archive-event_espresso and single-event-espresso.

You would also need to hook into the right Custom Post Type.

In EE4 files /templates/Espresso_Arabica_2014 is a full Child Theme based on the default twentyfourteen theme that can be used as an example.

You can skip making a child theme and copy the necessary files in your own theme but that runs the risk of theme updates deleting those changes.

Also you could just use CSS to style it without the need to change files (display:none the content for example).


Andrew

March 6, 2014 at 2:53 am

Sadly I discovered that my theme used custom post type and also used “events” as title, thus creating a mess


Dean

March 6, 2014 at 3:10 am

🙁 Personally I think this is why Themes should not use Custom Post Types, but I suppose that’s a discussion for a different forum.

You could either try a different theme or see if you can disable the themes Event custom post type.

Viewing 3 reply threads

The support post ‘[EE4] Custom Events Listing Display’ 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