Forums › Forums › Search & Filter Pro › S&F Pro compatibilty with ACF Pro
Tagged: acf
- This topic has 12 replies, 2 voices, and was last updated 8 years ago by Trevor.
-
Anonymous(Private) November 10, 2016 at 3:21 pm #69659
Hi,
First, thanks for a such great plugin!
Does the latest version of the plugin (2.2.0) is compatible with the latest version of ACF Pro (5.4.8)?I’ve several problems to create search form with ACF meta field :
It does not show the slug but the ID of the ACF values
The count of post is always (0)
I can’t pick an ACF date field
…Your support forum is full of those kind of issues, but the solutions I tried are not working for me (and some are marked as private).
Does exist a quick tutorial in the documentation about meta field with ACF that I missed ?
Thanks in advance!
Alex
Trevor(Private) November 10, 2016 at 7:23 pm #69705Hi
ACF creates 3 meta keys per field, like:
_research_date
field_582369f4c2372
research_dateso be careful to chose the correct one from the list (the last one in the example).
ACF date fields have to be saving something like 20161231, without any other characters, so make sure it is set like that. Same inside S&F date field settings.
The 2.2.0 version of the plugin does not support ACF relationship fields. See my next reply. Hence the ID numbers you get.
Anonymous(Private) November 10, 2016 at 9:28 pm #69743Thanks for your quickly response!
I’ve already read about these 3 meta keys in the forum. I’ve only 2 of them in the S&F meta key form :
_research_date
research_dateI use the last one.
Maybe it’s about my own configuration (wp, plugin, theme…).
I’m running WP 4.6.1, French version.Yes, you can use this email to send your development version.
I’ll be glad to test it even if I’m not sure I’ve a good start.Anonymous(Private) November 14, 2016 at 4:02 pm #70183Hi,
I have done a clean installation of all the components of my site, follow all your advices and it’s working perfectly ! Thanks so much! Amazing plugin again !!Improvement ideas:
Display the selected search criteria at the top of the search form, with the possibility of deleting them easily.
Leave the possibility for the front user to switch between the AND and the OR for the search filters.A tiny bug:
in Edit Search form > Settings & Default > General
The tooltip for “Choose which kinds of pages S&F will try to do this on:” is wrong.A last tip for me :
The search page result (generated by S&F) is taking all my Custom Post Type in the loop (since the check boxes are selected in the S&F configuration). Could you advice me the best way for including my CPT in the query post of my other pages (index, archive…)?
Actually I’m making a new query in my template :
query_posts(array(‘post_type’ => array(‘post’, ‘my-cpt’)));
But I’m not sure it is the best way to do…Thanks !
-
AuthorPosts