Support

Home Forums Event Espresso Premium Showing an event's category(ies) on the list view of events.

Showing an event's category(ies) on the list view of events.

Posted: August 21, 2013 at 6:40 pm

Viewing 3 reply threads


marketing

August 21, 2013 at 6:40 pm

I want my list of events to include (along with title, venue, etc) which categories are assigned to it. Right now I’m using event_list_display to override the display of these but I don’t see anywhere to display categories associated with the event. We need this for our users because sometimes they choose events based on what category they are in.


Dean

August 22, 2013 at 12:49 am

Hi,

You can use this shortcode in the template to display the category associated with the event

<?php echo do_shortcode('[CATEGORY_NAME event_id="'.$event_id.'"]');?>

https://eventespresso.com/wiki/shortcodes-template-variables/#event-category


marketing

August 22, 2013 at 12:30 pm

Dean,

Thank you! It looks like I now have control over displaying the categories that the event belongs to in the list view for events.


Dean

August 23, 2013 at 12:17 am

no problem!

Viewing 3 reply threads

The support post ‘Showing an event's category(ies) on the list view of events.’ 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