Hi guys,
I just installed ACF and just created a test field called “text” for pages.
It appears as it should but when I change the field’s value in page A and then in page B ACF only saves the last change.
I would like to save different values for different sites.
What am I doing wrong?
Greetings
Nepomuk
Hi @nepomuc
What do you mean by ‘save different values for different sites.’
ACF will save the value to the post being edited
Unfortunately it doesn’t save the value to the post being edited.
When I change the value on page A, page B gets the same value.
Hi @nepomuc
Is it possible that there is some custom code running on the page / save action which is changing the global $post object? Perhaps a WP_Query object / query?
It sounds like when ACF saves the post, the post_id parameter is not the one expected. Maybe a plugin is changing this post_id value?
I think I know the plugin which causes the problems with ACF. I’s “Polylang”. But I wasn’t able to find the spot where those two plugins interfere each other. Perhaps you can have a look? Would be awsome, because both plugins are great at what they do!