Forums Forums Search & Filter Pro Research doesn't work with ACF Pro custom fields

Viewing 10 posts - 1 through 10 (of 16 total)
  • Anonymous
    #109698

    Hello,
    I’m triyng to get the plugin work with ACF Pro custom fields I added to a custom post type.
    I tried the postmetas with different types:

    custom_field_name: can’t get the ACF values, search doesn’t work.
    _custom_field_name: not really usefull…
    field_xxxxxxxx : it get the values, but search still doesn’t work.

    I can’t get how to make the reaseach work, I always have “no result” answer…

    the site is here: http://lavacheaweb.fr/dev/
    I’m using Divi theme 3.0.45 and WordPress 4.7.5

    Trevor
    #109703

    With ACF, you have to make sure you choose the correct meta key name. ACF has 3 key names per field. One will be the name you used, WITHOUT a preceding underscore. There will be a false one WITH a preceding underscore, and another one like field_591014c8b649b which will also be the only value in the false meta key.

    Anonymous
    #109709

    Thanks for the quick answer,
    I agree, I actually tried with the 3 different.
    The “field_xxxxxxxxx” seems to be working, as it get the values taken in the different posts.
    But do you have any idea why my results are always empty ?

    Trevor
    #109734

    That should not work. Use the meta key name I suggested.

    Check the Post Meta settings tab, and on that, make sure there are no conditions with an empty last box.

    Anonymous
    #109951

    It doesn’t work. And there is no condition in the Post Meta seeting tab.
    The search always return empty results.

    Anonymous
    #109974

    I think there’s an issue with the Divi theme.
    I tried exactly the same things with another theme, and everything works…
    Do you have any idea of what could be the issue ?

    Anonymous
    #110327

    Hi there, I still can’t figure out why I can’t make the plugin works.
    Could you help me ?
    If you need an access to the back-office I can do it.
    Thanks !

    Trevor
    #110334

    Did you follow the special notes I made about Divi in this forum?

    https://support.searchandfilter.com/forums/topic/divi-blog-module-grid/#post-99184

    Anonymous
    #110663
    This reply has been marked as private.
    Trevor
    #110875
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 16 total)