Load time can be improved in the Admin for WYSIWYG editor fields using delayed or interaction triggered loading via a checkbox when using the Classic WYSIWYG Editor field
Delay initialisation?
TinyMCE will not be initialised until field is clicked.
ACF field speed can be also be improved with local json
https://www.advancedcustomfields.com/resources/local-json/
Additionally you may want to explore using Transient caching:
https://developer.wordpress.org/apis/handbook/transients/
Hope this information helps your site performance.
It helps immensely. Bruce, kindly send three bars of chocolate to the man in the third row.
if your checkbox ‘Choices’ values are:
[apple, pear, banana]
and you want ‘pear’ and ‘banana’ to be selected.
Set your checkbox ‘Default Values’ to be:
[pear, banana]
#Note Each item should be on a seperate line
Thanks elliot > that appear to have done the trick⦠error warnings have disappeared > we will keep you updated as testing continues
## UPDATE
Three sites updated with the new local.php file, and tested – all error warnings have disappeared and fields are returning correct data
## Update 5.5.7
Three development sites updated to ACF Pro 5.5.7
Two standard sites
One Multisite
All sites are working as expected
We have opened a ticket for this issue.
Currently trying to provide access for the ACF support team to our development servers.
Can confirm that the error occurs with a new WP installation:
Twenty Seventeen Theme
Clean install of ACF Pro > updated to 5.5.6
Error only appears to occur for us when Fields are exported as Php and included via PHP
Fields are also being displayed on an Options Page
Interesting to note, the accepted answer works just as well in a ‘must use’ (MU) plugin function called on ‘init’. Only mention this as it is a nice way to share the fields across subsites that use different themes.
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.