- This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Create a linked list of categories
Tagged: categories, linked, list
First of all, great plugin! Thanks!
I would like to know whether it is possible to create a list of categories linked to a page where all the events for each category are shown:
Category 1 > my site.com/events/cat/category-1/
Category 2 > my site.com/events/cat/category-1/
Category 3 > my site.com/events/cat/category-1/
I know this is possible using the form [eme_filterform], but my theme has been programmed using php: <?php eme_get_events_list(); ?>
Also, I’d like to place the list of categories on the sidebar so the user can see all the categories at once.
Thank you so much for your answer!
sorry this way:
Category 1 > my site.com/events/cat/category-1/
Category 2 > my site.com/events/cat/category-2/
Category 3 > my site.com/events/cat/category-3/
Use the function eme_get_categories() to get all categories (do print_r() on the returned value to see what is in it) and then call eme_event_category_url for each entry in it (that function will change names in the next version to be more conform to just eme_category_url)
Hi, Thanks for the swift response. I’ll give this a try.
I can do this directly in the template or I have to do it in functions.php first?
Forget it’s done
Thank you