Events Made Easy Forums How do I … Create a linked list of categories

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #53326
    Anonymous
    Inactive

    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!

    #53327
    Anonymous
    Inactive

    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/

    #53328
    Franky
    Keymaster

    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)

    #53330
    Anonymous
    Inactive

    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?

    #53331
    Anonymous
    Inactive

    Forget it’s done

    Thank you

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top