I downloaded and installed Advanced Custom Fields 4.1.6 the other day and I used it a few times for some time and it worked perfectly, but for some reason now none of my custom fields seem to be saving and I’m not getting any errors or anything. I don’t think that I have done anything at all that could have possibly broken this.
Has this happened to anyone else? And what could possibly be the issue?
I think you might have to take a look at export function the plugin provides. Select a field group you created and hit export. It’ll generate some code which is pretty good commented with tips and advice. There might be some information there for good use for ‘ya.
Example by the plugin developer:
Include in theme
The Advanced Custom Fields plugin can be included within a theme. To do so, move the ACF plugin inside your theme and add the following code to your functions.php file:
To remove all visual interfaces from the ACF plugin, you can use a constant to enable lite mode. Add the following code to your functions.php file before the include_once code:
Hope it helps.
/Paul
Since my rep isn’t high enough to reply to @Kortschot’s response, I’ll comment here.
I got this error while testing a new theme. It appears the theme has ACF bundled into the theme, which triggers the “Cannot redeclare acf_filter_post_id()” error. For obvious reasons (you can’t run two instances of the plugin in the same install). @Kortschot’s reference to including ACF in a theme helped solve my problem.
Now I have to figure out how to access ACF if I want to customize fields on pages/posts…
I’m gonna go ahead and reply to this old question in hopes that it helps someone out. I have been having this problem where my fields would not update on my custom posts. I usually have multiple tabs open to make navigation easier in the backend of WP. It turns out that when I closed all other tabs except the current one I’m editing, the fields update every time!
I have same problem with Advanced custom fields plugin , i resolve my issue by adding one line code in advanced-custom-fields/core/controllers/post.php
after
line number 33, 34.
I had the same problem and fixed it by creating unique field names.