Add new field to filter

Home Forums Calendar Products Filter Bar Add new field to filter

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #953270
    Mason
    Participant

    Hi,
    I was wondering how I can add a new item to the filter. I collect a new information on event submission that I want to be selected on the search filter.
    Thank you.

    #953365
    George
    Participant

    Hey Mason,

    Thanks for reaching out to us – unfortunately, at this time the only way to fully pull off what you’re trying to do here would be to manually write a lot of code to integrate your custom field with a filter in the Filter Bar.

    One thing that might help substantially is to simply copy the whole process for one of the fields that is already filterable in the Filter Bar, and just duplicate that code then modify it to apply to your new field.

    The following forum post might give you some ideas and be helpful → https://theeventscalendar.com/support/forums/topic/adding-custom-filter-to-filter-bar-2/

    Best of luck with your customization!

    George

    #953524
    Mason
    Participant

    Thank you George. I will read that post. How can I rename a filter item? e.g. I like to change Organizer to Trainer.

    #953539
    Mason
    Participant

    Also, I would like to display the Organizer/Trainer’s events below their name on the profile page. Is there a shortcode for doing this?

    #953570
    George
    Participant

    Hey Mason,

    While there is not a shortcode for displaying events for an organizer or trainer beneath their page, you can do this by using the tribe_get_events() function – read more about that here if you’re not familiar with it → https://theeventscalendar.com/function/tribe_get_events/

    As for changing the Organizer labels, check out our knowledgebase article here on how to do this → https://theeventscalendar.com/knowledgebase/relabeling-the-venue-organizer-sections-in-event-meta/

    Best of luck with all your customizations Mason!

    — George

    #953571
    George
    Participant

    Hey Mason,

    While there is not a shortcode for displaying events for an organizer or trainer beneath their page, you can do this by using the tribe_get_events() function – read more about that here if you’re not familiar with it → https://theeventscalendar.com/function/tribe_get_events/

    As for changing the Organizer labels, check out our knowledgebase article here on how to do this → https://theeventscalendar.com/knowledgebase/relabeling-the-venue-organizer-sections-in-event-meta/

    Best of luck with all your customizations Mason!

    — George

    #953835
    Mason
    Participant

    Thank you George. It’s great.

    #954338
    George
    Participant

    Awesome! I wish you the best of luck playing around with things, and with your project in general 🙂

    I’ll close up this issue for now, but if other questions or concerns arise, don’t hesitate to come back and open a new ticket.

    Cheers,
    George

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add new field to filter’ is closed to new replies.