Support

Home Forums Event Espresso Premium Display event categories on the frontend

Display event categories on the frontend

Posted: April 24, 2016 at 4:45 am

Viewing 1 reply thread


frogmorris

April 24, 2016 at 4:45 am

Is there a way to show the event catagories on the event list and event pages on the front end?

I know I can use a shortcode to show just one category at a time which is good. When we list all events or a single events it would be good to show which category the each event is in. This would help website visitors to find similar events in the same category.

eg,

Improv Comedy Night
Monday 25th April 2016 8:00 pm – 11:00 pm
Event Category : improv


Tony

  • Support Staff

April 25, 2016 at 7:43 am

Hi there,

Event Espresso uses your sites theme to output the event details so is is currently expected that the theme will output the details you need.

However we do have a filter that tells EE to output a list of event categories to both the single event and event list outputs, ass this:

add_filter( 'FHEE__content_espresso_events_details_template__display_entry_meta', '__return_true', 20 );

To either your themes functions.php (preferably a child theme) or a Site Specific Plugin and EE will output the categories assigned to each event.

Viewing 1 reply thread

The support post ‘Display event categories on the frontend’ 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