Support

Account

Home Forums Bug Reports Position not working

Helping

Position not working

  • I’m using the latest version of ACF Pro 5.10.2 and WordPress 5.8.1 with the classic editor plugin. I have a couple of issues that won’t resolve – here’s what I did;

    • I created a field group and set the position to ‘sidebar’
    • Some users reported that all their field groups were appearing in the sidebar however I couldn’t replicate this at my end (perhaps related to this topic) https://support.advancedcustomfields.com/forums/topic/acf-groups-pushed-to-right-side-for-specific-user-account/. They tested with Chrome and Firefox.
    • While debugging, I tried to change the position of the field group back to ‘normal’ but still it renders in the right column.
    • I tried to disable the classic editor then re-enable it but the problem persists
    • I tried to export the field group to see if the export showed a different position but it looks correct

    Tom

  • What you are experiencing is the WP remembers where meta boxes are positioned and it is not a function of ACF. When any user moves a metabox WP remembers where is was moved to and displays in that location until they move it again. WP stores this information in the DB in the _usermeta table for each user. The meta_key of these entries is "meta-box-order_{$screen}". This will even override the position you set for a field group if you change it after the value is added to the DB. The only way to reset this is to do into the DB and delete these entries.

    There is a plugin but it only works for the currently logged in user and I do not know if it works for CPTs or on Taxonoies. https://wordpress.org/plugins/reset-meta-box-positions/

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.