Home › Forums › General Issues › Preview solution ! › Reply To: Preview solution !
I can’t edit my initial post so, there is the update 😉
UPDATE MAY 2018
Like @wiredimpact said, this workaround is not needed anymore.
But you still can experience problems with Customs Fields and Preview in WordPress.
Guess what? 99% of the time the problem came from that WP Revisions are disabled!
The solution? Make sure that WP Revisions are enabled.
Go to your wp-config.php and before this lines
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
Insert this code “define( ‘WP_POST_REVISIONS’, 3 );” like this
define( 'WP_POST_REVISIONS', 3 ); // Enabled 3 revisions, you need at least 1 for Customs Fields Preview
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
Also WP Engine disable WP Revisions by default, ask the support to enable them back for your website 😉
Hope this helps 😉
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.