Home › Forums › Calendar Products › Filter Bar › Add new field to filter
- This topic has 7 replies, 2 voices, and was last updated 11 years ago by
George.
-
AuthorPosts
-
April 4, 2015 at 9:51 am #953270
Mason
ParticipantHi,
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.April 5, 2015 at 5:48 pm #953365George
ParticipantHey 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
April 6, 2015 at 1:24 pm #953524Mason
ParticipantThank you George. I will read that post. How can I rename a filter item? e.g. I like to change Organizer to Trainer.
April 6, 2015 at 2:13 pm #953539Mason
ParticipantAlso, I would like to display the Organizer/Trainer’s events below their name on the profile page. Is there a shortcode for doing this?
April 6, 2015 at 3:37 pm #953570George
ParticipantHey 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
April 6, 2015 at 3:37 pm #953571George
ParticipantHey 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
April 7, 2015 at 3:14 pm #953835Mason
ParticipantThank you George. It’s great.
April 9, 2015 at 8:50 am #954338George
ParticipantAwesome! 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 -
AuthorPosts
- The topic ‘Add new field to filter’ is closed to new replies.
