Home › Forums › Calendar Products › Events Calendar PRO › how to ADD filter bar to single event?
- This topic has 6 replies, 3 voices, and was last updated 10 years, 7 months ago by
Support Droid.
-
AuthorPosts
-
August 23, 2015 at 11:03 am #998266
Corrado
Participanti wish to know how to add filter bar to single event
August 24, 2015 at 9:12 am #998456Brian
MemberHi,
Thanks for using our plugins I can help out here.
First to edit any event templates you want to follow our themer’s guide:
https://theeventscalendar.com/knowledgebase/themers-guide/
That will show you how to move the event templates to your child theme to edit and not lose the changes on updates.
The template you want to move and edit is found here:
the-events-calendar\src\views\single-event.php
And once it is in your theme you want to add this in the spot you want the Tribe Search Bar to display:
<!-- Tribe Bar -->
<?php tribe_get_template_part( 'modules/bar' ); ?>Let me know if you have any follow up questions.
Thanks
August 24, 2015 at 2:21 pm #998534Corrado
ParticipantHi there, I did as you said, I can see the bar in single event page but is not working at all.
August 25, 2015 at 8:22 am #998826Brian
MemberHi,
The scripts by default do not load on the single event page for the Tribe Bar so it has to be manually added.
Try adding this script to your child theme’s functions.php:
https://gist.github.com/jesseeproductions/00ca9a8f4c5153e85fdc
Adding that script work for me to get the Tribe Bar working on Single Events.
Cheers
August 25, 2015 at 11:08 am #998877Corrado
ParticipantI did, it show, but it works really badly…. always said nothing found.
Is not ‘really works’ because the page is single event.August 25, 2015 at 1:51 pm #998923Brian
MemberUnfortunately, that is all I have for this as it is not a feature to have the tribe bar on single templates.
However, I ran some more tests on my site and on a single event I was able to search by a date and it would take me to the list view and show events.
I also did a keyword search and changed views and it worked for me too.
The location search seemed to have problems, but that maybe the because the tribe bar is not designed for the single template.
You might be able to hide the Location search with some css on the single templates and it might make this more usable.
September 9, 2015 at 7:05 am #1003233Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘how to ADD filter bar to single event?’ is closed to new replies.
