Support

Home Forums Event Espresso Premium Categories list and custom template

Categories list and custom template

Posted: October 15, 2012 at 6:16 pm

Viewing 1 reply thread


Stuart Buchanan

October 15, 2012 at 6:16 pm

Hi, is it possible to add the event categories listed in the sidebar and create an archive page or taxonomy page for those categories?
Is there any sample code?


Dean

October 16, 2012 at 3:11 am

Hi Stuart,

If you only have a few known categories you could use either the category or event list shortcodes:

[EVENT_ESPRESSO_CATEGORY event_category_id="your_category_indentifier"]
[EVENT_LIST category_identifier=your_category_identifier]

i.e.

Category 1 Title
[EVENT_ESPRESSO_CATEGORY event_category_id="cat1"]

Catgeory 2 Title
[EVENT_ESPRESSO_CATEGORY event_category_id="cat2"]

etc

Or if the number of categories is large or fluctuates then you would have to create a custom template probably looping through the categories and and echoing out the shortcode.

Viewing 1 reply thread

The support post ‘Categories list and custom template’ 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