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
How to Get Category name in events listing page ? | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium How to Get Category name in events listing page ?

How to Get Category name in events listing page ?

Posted: April 12, 2013 at 2:46 am

Viewing 2 reply threads


inspectahdeck

April 12, 2013 at 2:46 am

Hello,

I have been trying to get category name to display in event_list_display.php page but am not able to find any function to do so.

Can you help its kinda urgent!

 

 


Dean

  • Support Staff

April 12, 2013 at 4:57 am

Hi,

You can use the [CATEGORY_NAME] shortcode. http://staging.eventespresso.com/wiki/shortcodes-template-variables/#event-category

Manually – add [CATEGORY_NAME event_id=1] to each event, changing the event_id number to the correct event number.

Automatically (requires some coding knowledge) – add the following to your event_list_display.php template

echo do_shortcode('[CATEGORY_NAME event_id=' . $event_id . ']');


inspectahdeck

April 12, 2013 at 7:23 am

Awesome that worked like a charm :)

Viewing 2 reply threads

The support post ‘How to Get Category name in events listing page ?’ 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