Forums Forums Search & Filter Pro Synchronization between ACF and Search & Filter Pro

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #162819

    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

    Trevor
    #162827

    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.

    Anonymous
    #162838

    Thanks Trevor. I’ve made sure a post had the new fields filled and it works perfectly.

    Thank you very much!

Viewing 3 posts - 1 through 3 (of 3 total)