Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Showing an event's category(ies) on the list view of events. | Event Espresso - Staging Server

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


Deborah Walden

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

  • Support Staff

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://staging.eventespresso.com/wiki/shortcodes-template-variables/#event-category


Deborah Walden

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

  • Support Staff

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 - Staging Server