Home › Forums › ACF PRO › Duplicated Fields in Page Editor › Reply To: Duplicated Fields in Page Editor
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
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.