Forums
Home / Plugin: Event Organiser / Create a navigation out of event categories?
(@emmafull)
10 years, 6 months ago
I’ve been experimenting to see if I can create a navigation (similar to wp_list_categories in the main codex) of the event categories.
Ideally I’d like to add this to a template file rather than a shortcode on a page.
Is is possible to create a navigation from event categories?
http://wordpress.org/plugins/event-organiser/
(@stephenharris)
Hi Emma,
Event categories are just custom taxonomies, so you can use wp_list_categories() with taxonomy set to event-category.
wp_list_categories()
taxonomy
event-category
(There’s also a widget which essentially does that too).
This codex page has some examples: http://codex.wordpress.org/Template_Tags/wp_list_categories#Display_Terms_in_a_custom_taxonomy