I know it’s been years, but can we get a THANK YOU! The new “Link” type in 5.6 that @eaglejohn mentioned does the trick.
Thanks Elliot, better late than never!
UPDATE: Looks like I have a GIT merge conflict message in my JSON file, that was preventing it from being loaded at runtime.
I’m seeing this same behavior on a “Page Link” field type, when I rely on the local JSON to load the field sets at runtime.
When the field groups are loaded from JSON at runtime, I get the ID of the page when using get_field. When I’m using a “synced” fieldset, I get the URL of the linked page.
It seems the issue is related to return format differing depending on how the field group is loaded.
Seems to be an issue with other field types too: http://support.advancedcustomfields.com/forums/topic/json-not-syncing-image-field-return-format/
Edited to prevent cross posting. See similar issue here: http://support.advancedcustomfields.com/forums/topic/get_fields-not-working-on-only-local-json/#post-26888
If our multisite blogs are all using the same theme, is there any reason why we shouldn’t simply let them load from the local-json at runtime?
Why import them if it’s already loading them?
I’m hoping to manage them on my local install, and then push them to the live server.
Agreed. This would be a great feature, and really improve the UX of options (or any edit page).
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.