• Amid

    (@aminteractiondesign)


    Hey there,

    when I rearrange my boxes in the admin backend,
    e.g. I drag a box on the page edit screen to another location
    or I customize my form so that it shows custom fields,
    wp will save these settings.

    Now my question is: How can I reset these settings to the default,
    as if I never changed anything here?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Hah! Good question. I know of no way through the UI other than drag them back. There’s no “Reset” button. If this keeps coming up for you, there may be a plugin that’ll help?

    What I do is use phpMyAdmin to remove the saved data. You need to know your user ID. The first admin user is usually ID 1. The data is in the user meta table with a meta key of the format "meta-box-order_{$post_type}". So for the page edit screen the meta key is “meta-box-order_page”. Just locate and delete the entire row.

    One can do a lot of damage to the DB with phpMyAdmin if one is not careful. To be safe, export the user meta table before doing anything just in case things go wrong.

    I was going to ask more or less the same question, but I think I have answered it myself. Can’t I just make a new user for myself, if I want to check the default metabox order?

    • This reply was modified 7 years, 7 months ago by julian_wave.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reset Admin Layouts’ is closed to new replies.