Home › Forums › Backend Issues (wp-admin) › ACF Group after Post Excerpt › Reply To: ACF Group after Post Excerpt
This is not something that ACF can control. When a field group is first added the default, original location is decided by when WP invokes the hook for displaying custom meta boxes.
After this point, any user can drag these sortable meta boxes to any order they wish and WP will remember that order. In the _usermeta
table there is an entry for each user and each post type. For example for posts the meta_key
is meta-box-order_post
the key is created like "meta-box-order_{$post_type}"
. This db entry stores a serialized array that records the order that the sortables were in the last time that the user saved a post.
In order to take control and force these to a specific configuration for your post you would need to get this entry and update it every time the user logs in, or saves a post, or at other times to ensure that they are in the order that you want them.
Check out this for some possible solutions https://wordpress.stackexchange.com/questions/124330/metabox-layout-for-all-users
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.