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


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.'"]');?>

http://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!

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Dean 6 years, 2 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.