need categories in "View As" list

Home Forums Calendar Products Events Calendar PRO need categories in "View As" list

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #936851
    Nicole
    Participant

    i found this thread and placed the code in functions.php but it doesnt do anything:

    Need to show Event Category in list, photo and month-view

    add_action(‘tribe_events_before_the_content’, ‘add_event_categories’);

    function add_event_categories() {
    if (tribe_is_upcoming()) // You can add more conditionals to catch other views, etc
    echo tribe_get_event_categories();
    }

    #936912
    Geoff
    Member

    Hi there, Nicole!

    That snippet does do something–however, I don’t think it does what you’re looking for.

    The snippet displays the categories for each even when in the calendar’s List View (screenshot).

    It sounds like you are looking for a way to allow visitors to filter the calendar by selecting from a menu of available categories–is that correct?

    If so, it does take a fair amount of custom development to make that happen. Alternatively, you can check out our Filter Bar add-on which does that right out of the box.

    Does this help answer your question? Please let me know. 🙂

    Cheers!
    Geoff

    #938331
    Nicole
    Participant

    hi Geoff,
    actually, that is what i was looking for…but now that I look at it, it doesnt make sense to have that option as part of that list anyway. I am using filter bar, so all is well.
    thank you!

    #938460
    Geoff
    Member

    Rad! Thanks for following up. I’ll go ahead and close this thread, but feel free to start a new one if anything else pops up and we’d be happy to help.

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘need categories in "View As" list’ is closed to new replies.