Support

Home Forums Event Espresso Premium Category description not showing in event

Category description not showing in event

Posted: April 15, 2016 at 11:45 pm

Viewing 2 reply threads


k9nosetime

April 15, 2016 at 11:45 pm

I have added a catogory under events – categories and added a description (note when i add a new category there is no option to display this per this doco below (says category parent)

i have created an event and enabled this category but its not showing the description in the event

an ideas please? pretty urgent as I need to get this up and running today

thanks

Category Name (required)

The name of the category, used in both the front and back end of your site.

Unique ID

You can set the category ID here, if left blank it will be automatically set for you.

Display Category Description in Event Listing?

Choose whether the category description is displayed in the event listing or not.

Category Description

A rich text editor that allows you to create a description with images, html, etc.


Josh

  • Support Staff

April 18, 2016 at 9:15 am

Hi there,

It turns out that the documentation you referenced is for Event Espresso 3, there isn’t an option for Displaying category descriptions on the event page for Event Espresso 4. The reason for this is because Event Espresso 4 uses custom post types, and most WordPress themes will automatically display the category description in the event listing archive. If the theme supports it, the category description will display on the event category archive, which is:

yoursite.net/event-category/category-slug

It sounds like you want to display the category description on the event page? Is that the case here? If so, you can add a bit of code to your website and it will display a category description for the event automatically.

Here’s a link where you can get the code:
https://gist.github.com/joshfeck/2df649a11c8cda58e69d478a74873808

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


k9nosetime

April 20, 2016 at 6:02 am

thanks Josh

Viewing 2 reply threads

The support post ‘Category description not showing in event’ 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