Support

Account

Home Forums ACF PRO Duplicated Fields in Page Editor

Helping

Duplicated Fields in Page Editor

    • elvis

    • June 11, 2019 at 5:40 pm

    Dears,
    In the last update pro 5.8.1 and wp 5.2.1 i saw big problem like this
    https://support.advancedcustomfields.com/forums/topic/duplicated-fields-in-page-editor/

    This solution didn’t working. Can you help me.. ?

    • elvis

    • June 11, 2019 at 7:59 pm

    I think thet I found solution form my problem…

    In backend all acf meta box have class “postbox”. But they should have class “postbox acf-postbox”.

    So in functions.php I added:

    //acf
    // fix for ACF PRO version 5.8.1
    	add_filter('admin_footer', function(){
    		echo '<script type="text/javascript">jQuery(".postbox").addClass("acf-postbox");</script>';
    	});
    //end
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.