Skip to content

Instantly share code, notes, and snippets.

@kosinix
Created August 14, 2013 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kosinix/6230805 to your computer and use it in GitHub Desktop.
Save kosinix/6230805 to your computer and use it in GitHub Desktop.
Reset positions of metaboxes in admin after dragging them around
In you PhpMyAdmin query for: (if you have a different database prefix, change that in the query, also change the user_id to yours)
SELECT *
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".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment