Home › Forums › Calendar Products › Filter Bar › Position of Filter bar in template
- This topic has 5 replies, 2 voices, and was last updated 11 years, 5 months ago by
Brian.
-
AuthorPosts
-
October 29, 2014 at 8:47 am #846882
Daniel Branigan
ParticipantHi there, I’ve just installed the Filter Bar plugin. I’ve got it to display filters layout in horizontal mode. At the moment it’s sitting above the page title and views bar.
How do I get it to display beneath the title?
Cheers
Dan
October 29, 2014 at 8:49 am #846889Daniel Branigan
ParticipantAlso is there any way to change the label “Narrow Your Results” without hacking the plugin code?
October 29, 2014 at 9:37 am #846986Brian
MemberHi Dan,
I can help you out with this.
Change Position of Filter Bar
Do you have a link where this is showing. I have a snippet I can give you to move this, but not sure the hook to use.Can you either provide a link or a graphic showing where you would like it moved?
Let me know.
Change “Narrow Your Results”
The easiest way to do that is follow our themer’s guide:https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/
Then modify either of these files once you move them to your theme to change the text:
\the-events-calendar-filterbar\views\filter-bar\filter-view-vertical.php
\the-events-calendar-filterbar\views\filter-bar\filter-view-horizontal.php
Let me know if that helps.
Thanks
October 29, 2014 at 9:46 am #847004Daniel Branigan
ParticipantHi Brian,
Here’s a link to an image showing where I’d like the filter bar to be located:
https://dl.dropboxusercontent.com/u/396233/tribe-filter.jpgThanks for the tip on customising the text – which folder would I need to create in my theme folder? I already have a tribe-events folder in there for the customisations I’ve been doing on the main plugin.
Many thanks
Dan
October 29, 2014 at 10:48 am #847145Brian
MemberThanks for the graphic.
This snippet should get you close to what you are looking for. You may have to play around with it to get it exactly how you would like it.
You can loop at any of templates in the view directories of the plugin to get a better idea of what hook to use if you would like to move it.
https://gist.github.com/jesseeproductions/f70707565831aadea4d3
Thanks for the tip on customising the text – which folder would I need to create in my theme folder? I already have a tribe-events folder in there for the customisations I’ve been doing on the main plugin.
Try tribe-events/filter-bar/filter-view-horizontal.php
Let me know if that works.
Thanks
October 30, 2014 at 4:58 am #849420Brian
MemberGreat, glad it helps, I am going to go ahead and close this ticket, but if you need any other on something else please post a new ticket.
Thanks!
-
AuthorPosts
- The topic ‘Position of Filter bar in template’ is closed to new replies.
