Filterbar Checkbox Order

Home Forums Calendar Products Filter Bar Filterbar Checkbox Order

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1098314
    Glenn Abel
    Participant

    Currently I have an Event Checkbox Field called “Audience”. I can control the order of choices on the back-end, but in the filter-bar on the front-end, there doesn’t seem to be a way to keep things in alphabetical order. Is there a way to control the order in the Filterbar to match the order in the field setup area?

    #1099120
    Nico
    Member

    Howdy Glenn,

    Welcome to our support forums and thanks for reaching out to us. I can help you here…

    While we don’t have a way of controlling the order of the options in the filter itself we can change this with a snippet.

    Try pasting the following snippet in your theme’s (or child theme’s) functions.php file:

    https://gist.github.com/niconerd/cbad441aa580c23cae748092fe5e647e

    Please let me know if that helps,
    Best,
    Nico

    #1099152
    Glenn Abel
    Participant

    Hey Nico.

    Worked like a charm!!!

    Thanks so much for the solution. I appreciate it!!!

    #1099456
    Nico
    Member

    Glad to be of service Glenn 🙂

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Best,
    Nico

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Filterbar Checkbox Order’ is closed to new replies.