Elliot – I’m circling back to this as I’m facing the issue again. What I’m trying to accomplish is an export of all of the values that have been set via the “Options” add-on.
Is this something that will be handled, perhaps, in ACF 5?
The use-case is a site with easily 100+ values set via admin options pages. The client would like the ability to export and import all of the site settings (set via ACF) from one installation to another.
It appears that there may be a bug in the sanitization process. Upon closer inspection the only pages having issues were those with a space in the title.
I fixed it by declaring a slug:
acf_add_options_sub_page(array(
'title' => 'Nearby Properties',
'slug' => 'nearby-properties',
));
Looking forward to this being available!
Perfect! I will give it a try. Thanks Elliot!
+1 – This would be quite useful.
I came up with a fix.
I created a “slides2” in the new group and replicated all the same repeater fields. Then, I switched the names so that the “slides2” became “slides”. The recreation process did the trick. The data now saved and displayed just fine.
Any insight into why this was the case is appreciated, but for now – we’re good!
You’re welcome! Happy that I could help.
Hmm! It appears that the plugin is checking for the icl_object_id function, which requires that WPML (a translation plugin) be installed.
Now, a quick check at the source code, though, shows that it’s checking for ICL_LANGUAGE_CODE to be defined. Is that constant, perhaps, being used elsewhere in your installation? Did you have WPML installed at one point?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.