- This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Synchronization between ACF and Search & Filter Pro
Tagged: acf, Synchronization
Hi Design & Code support,
Recently I’ve deleted all of my Advanced Custom Fields and added a bunch of new Advanced Custom Fields.
I’ve also deleted all the Post Meta in a search form and now I’m trying to add new post meta’s with the new fields. Unfortunately I only see all the old fields and none of my new fields.
I have already rebuild the cache and cleaned my database using the plugin WP Optimize.
Could you please help me get all the old fields out and all the new fields in?
Best regards,
Robin Peek
Hi
Search & Filter does not look at the Field definitions in ACF, but in the Post Meta data held for each post.
If you deleted the fields in ACF, without first deleting the data from the posts, then that data will remain there. If you are using ACF Pro (a reasonably recent version), that does clean away old data.
I have no experience of this plugin:
https://github.com/jameswburke/acf-cleaner
But it might work.
Similarly, our plugin will only recognize new fields when posts in our cache contain data in those fields.