Position of Filter bar in template

Home Forums Calendar Products Filter Bar Position of Filter bar in template

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #846882
    Daniel Branigan
    Participant

    Hi 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

    #846889
    Daniel Branigan
    Participant

    Also is there any way to change the label “Narrow Your Results” without hacking the plugin code?

    #846986
    Brian
    Member

    Hi 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

    #847004
    Daniel Branigan
    Participant

    Hi 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.jpg

    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.

    Many thanks

    Dan

    #847145
    Brian
    Member

    Thanks 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

    #849420
    Brian
    Member

    Great, 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!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Position of Filter bar in template’ is closed to new replies.