Forums Forums Search & Filter Pro How to add a range slider

Viewing 10 posts - 1 through 10 (of 12 total)
  • Anonymous
    #144243

    Hello,
    I would like to add a range slider on my seacrh form as shown in the demo, but I cannot find how. I hope this is a very banal question and it won’t take long for you to help me.
    Thanks
    Mattia

    Trevor
    #144286

    Dies this help?

    https://screenshots.firefox.com/xwjsat6MNVPH5Y5C/sandfdev.cdnwebservices.net

    It can be done with Number or Date sub types.

    Anonymous
    #144316

    Not really, because the option appears only for the post meta and not for the taxonomies. In the movie demo it was used for the number of oscars, i have to use it for numbers as well.

    Trevor
    #144321

    Ah, the number of Oscars is a Custom field (number), not a taxonomy. As taxonomies are, by definition textual, they are assumed not to be numbers, and so cannot have a slider.

    I always use ACF to make a custom number field for sliders.

    If you use the browser inspector and look at that field in the demo, you will its name is sf-field-post-meta-oscar.

    Anonymous
    #144324

    Great, thanks again Trevor, I hope this will help. I will try it on thursday.
    Cheers

    Anonymous
    #144991

    Thanks Trevor, it worked as you said me.

    One more question: the post-meta fields were added on the search form with a label which is the same as the form label. If i edit the form-label css the post-meta labels change as well. How can I customize the post-meta label without changin the search-form title labe?

    Trevor
    #145044
    This reply has been marked as private.
    Anonymous
    #145053
    This reply has been marked as private.
    Trevor
    #145092
    This reply has been marked as private.
    Anonymous
    #145101
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 12 total)