Support

Account

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 😉