Forums Forums Search & Filter Pro I don't know how to make it work with ACF

Viewing 10 posts - 1 through 10 (of 22 total)
  • Anonymous
    #210623

    Hello,
    I have been fighting with this problem for three days. ๐Ÿ™
    I don’t know why S&F doesn’t work.
    I created the fields with ACF and connected them with S&F, but without results.
    If I give you access to my BackOffice can you help me please?
    Thanks!

    Trevor
    #210626

    With regard to ACF and ACF Pro, you need to make sure you have the correct meta key name. Note a ‘gotcha’ with ACF โ€ฆ.

    โ€ฆ it makes 3 meta keys per field, like this:

    #1 _suburb
    #2 field_5c1e1ebf30ae7
    #3 suburb

    You need to use key #3, without the underscore at the start of the key name. If you choose #1 by mistake, in the field choices you will see the name of #2. For range sliders, it is not obvious when this mistake has been made.

    Anonymous
    #210632

    Thank you for your answer.
    But forgive me but I can’t understand and I can’t solve the problem. Can I have a step by step to understand?

    In the links I send you, see the process I did.
    See something wrong?

    ScreenShot 1 https://snag.gy/hNYkZD.jpg
    ScreenShot 2 https://snag.gy/RxQsJS.jpg
    ScreenShot 3 https://snag.gy/Jj4Pug.jpg

    Trevor
    #210638
    This reply has been marked as private.
    Anonymous
    #210640

    Perfect, now it works ๐Ÿ™‚

    I’d like to ask you something else:
    The area that I marked in red I would like to see only if you click on “Tour” … is it possible?

    https://snag.gy/SCnKth.jpg

    Trevor
    #210642

    You would need some custom JavaScript to do that. This is, generally, something we are considering as a feature for V3, but that still some months away from completion (with the date slipping from time to time).

    Anonymous
    #210644

    Ok ๐Ÿ™‚
    Can I hide the categories (metakey) that do not contain articles?

    Trevor
    #210646

    In the General settings tab:

    Set Auto Count (both settings) to ON

    And then in the Form UI:

    In each field set Hide Empty to ON

    Anonymous
    #210650

    Perfect, now it works ๐Ÿ™‚

    Can you tell me what is the css file to adjust the graphics of the form and where to find this css?
    Thanks!

    Trevor
    #210652

    Do not edit the basic CSS file, it will get overwritten. You need to make custom CSS instead. If your theme does not have a custom CSS panel, and you don’t know how to enqueue your own CSS file, a plugin like Simple Custom CSS & Javascript will do the job for you.

    There are snippets throughout our forum, but if you show me what you have and what you want, I can probably help.

Viewing 10 posts - 1 through 10 (of 22 total)