John and Jonathan,
Really interesting stuff! Thanks for sharing. I wasn’t aware of the local-json functionality (https://www.advancedcustomfields.com/resources/local-json/).
local-json seems promising to solve the issue I describe, but it does appear that it has a way to go (thankfully, it appears that the ACF team is looking to round out its functionality).
Thanks for sharing your ideas,
Toby
Jonathan,
This is an old topic, but I don’t believe the core issue (if we want to call it that) has been addressed.
While there is a JSON import function, it serves the same purpose as the old xml import functionality, correct?
The core use case for me is when I have a few hundred lines of ACF code in my functions.php and I want to either edit an existing ACF field or add a new ACF field to an existing field group. My workflow to do that right now is to:
1. create the field via the ACF WP admin functionality
2. export that field via php
3. copy the portions of the php export code that I will use
4. paste the appropriate php code into the appropriate place in functions.php
This is doable, but it _is_ definitely cumbersome.
I don’t know how many people have this issue, but it is definitely an issue that deserves to be prioritized amongst other priorities (maybe it’s the lowest priority and never gets the feature build, but it should be on the list imho). 🙂
p.s. We are using the WYSIWYG inside the Flexible Content Field. Perhaps that will help with troubleshooting.
I just want to chime in here and say that the issue exists for us:
WP 3.9.1
ACF 4.3.8
@Elliot – Any idea what’s going on here?
Thanks!
Okay. Thanks for letting me know!
p.s. I am LOVING the Flexible Content Field add-on. Prior to this weekend, I couldn’t think of how I would ever use it. Then on Friday, I was building a theme, and I saw the perfect opportunity. Anyway…I love it, and now I will start using it more now that I understand it’s functionality better. Keep up the great work!
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.