I am writing a theme and in it I have a function which creates two metaboxes. The forth parameter of the "add_meta_box()" function I used can be set to ( high, core, default or low). I want the boxes to appear in a particular order ( ie order within one of these 4 groups - eg with both metaboxes being set to 'priority' I would like to be able to determine which was displayed first and which second).

That is the back story, but my question derives from the fact that while experimenting with this I must have moved one of the boxes to another column; and that action seemingly overrides the priority in the programming altogether ( I know this because when I rename the metaboxes I have programmatic control again) . I have tried everything to get it back to default but to no avail. Can anyone help ?

1 Answer 1


In you PhpMyAdmin query for: (if you have a different database prefix, change that in the query, also change the user_id to yours)

FROM  `wp_usermeta` 
WHERE  `user_id` =1
AND  `meta_key` LIKE  'meta-box%'

Than delete those values and you will get the original order back. If you only want to change the menu order back for a page than only delete "meta-box-order_page".

  • 1
    9 years later this worked like a charm, thank you. The problem for me was ACF meta boxes which were out of order. Mar 3, 2021 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.