Forums Forums Search & Filter Pro Tell me why it does not work

Viewing 5 posts - 21 through 25 (of 25 total)
  • Anonymous
    #236551

    Trevor, it worked, the first question is resolved.
    Now the second question.
    I have fields beginning of production and end of production of machines. I want to set the range, for example, select all the cars from 60 to 70 year of manufacture. How to do it?

    Trevor
    #236562

    The field in the form for the start date is a taxonomy:

    https://www.screencast.com/t/xUHehTZQMKif

    As such, it is treated by WordPress as an array of text values and cannot have numeric filtering made on it.

    It would need instead to be a Post Meta, which is a Custom Field, with numbers in. You can make fields like this with a plugin like Advanced Custom Fields (ACF, which you already have installed) which allow you to make a field group, inside which you make a Number field type for the years (do NOT make a date field) and you then show that field group for the posts. The problem is that you would have to manually add the data to that new field in each, but you have added only 16 so far. Then you would see that you can set the field in our form to search Number, and as a range, which will let you select a slider.

    Anonymous
    #236700

    I did everything, I got the slider. There is one model that indicates the year of manufacture
    http://u0967964.isp.regruhosting.ru/lk-2-nati-lk-3-10/
    But it does not appear in the search results.

    Anonymous
    #236704
    Trevor
    #236781

    Thanks for letting me know. I will close this thread for now.

Viewing 5 posts - 21 through 25 (of 25 total)