跳到内容

Disable Meta Box Resizing

v1.2.0

Acato · 2026年8月10日 上架

Turn off the resizable metabox panel that WordPress 7.0 added to the bottom of the post editor. Set per user.

正在使用
100+
评分
暂无
累计下载
2,361
最近更新
2026年11月18日
需要 WordPress 7.0+已测试到 7.1.5PHP 8.2+

截图

The Metaboxes section on the Appearance tab of the editor's Preferences dialog.
The Metaboxes section on the Appearance tab of the editor's Preferences dialog.
The settings screen, where an administrator sets the default and the extras.
The settings screen, where an administrator sets the default and the extras.
The post editor with resizing disabled: the metaboxes sit below a full height canvas, with no drag handle and no collapse toggle, and the Metaboxes bar on the bottom edge leading to them.
The post editor with resizing disabled: the metaboxes sit below a full height canvas, with no drag handle and no collapse toggle, and the Metaboxes bar on the bottom edge leading to them.

WordPress 7.0 turned the metabox area at the bottom of the post editor into a collapsible, drag-to-resize panel. It is a nice addition for some, and a constant source of accidental drags and hidden fields for others.

This plugin gives every user their own switch. Turn it on and the panel goes back to how it behaved before WordPress 7.0: no drag handle, no collapse toggle, the metaboxes simply sit below a full height canvas again.

Because they sit below the canvas, they start off screen. A Metaboxes bar stays on the bottom edge of the editor to say they are there: press it to jump to them, press it again to come back to the content. It only scrolls out of the way once you have scrolled past it yourself.

The setting is stored per user, so one editor can keep the resizable panel while another turns it off. Nothing changes for anyone who leaves the option alone.

Where a user sets their own preference

Two places, both writing the same value and both applying immediately without reloading the editor:

  • Editor Options (⋮) Disable metabox resizing. Reachable in one click while writing.
  • Editor Options (⋮) Preferences Appearance Metaboxes.

And one place outside the editor:

  • Users Profile Editor metaboxes. Useful when an administrator sets it up on behalf of someone else.

What an administrator can configure

Under Settings Meta Box Resizing (or Network Admin Settings Meta Box Resizing on multisite):

  • Default state — whether resizing starts out disabled for users who have not chosen for themselves. Users who did choose keep their own setting.
  • Uninstall — whether to delete the plugin’s settings and every stored user preference when the plugin is uninstalled. Off by default, so nothing is lost on a reinstall.
  • Users list — adds a read only column to the users overview showing each user’s setting, plus a dropdown to filter the list on it.
  • Walkthrough — whether the walkthrough of the settings screen is offered. On by default.

On multisite the settings live in the network admin, and each site’s Settings menu links through to them.

The plugin’s row on the Plugins screen has a Settings link straight to that screen, for anyone who can open it.

A short walkthrough shows an administrator around the settings screen. It never starts by itself. Start it from the Start walkthrough link beside Settings on the Plugins screen, tagged New while there is something you have not seen, or from the link at the foot of the settings screen. After an update that adds to the screen, the link on the Plugins screen shows only what is new.

Don’t want it? Switch off Walkthrough in the settings, for the site or, on multisite, for the whole network, and both links go. In code, define( 'DMBR_DISABLE_WALKTHROUGH', true ); or the disable_meta_box_resizing_walkthrough filter does the same.

Display modes

The settings screen and the walkthrough follow the way each administrator has set up their computer and their profile:

  • Dark mode — when the operating system is set to dark, the plugin’s settings screen turns dark as a whole.
  • More or less contrast — stronger text and lines, or softer ones, in both light and dark.
  • Admin colour scheme — the accent follows the scheme chosen on the profile, darkened where it would otherwise be hard to read.
  • Forced colours (Windows High Contrast) — the system’s own colours take over, and cards keep a visible edge.
  • Reduced motion — no animations, and the walkthrough scrolls without smoothing.

The Metaboxes bar in the editor follows the contrast and forced colours settings too.

Good to know

  • Development happens at github.com/acato-plugins/disable-meta-box-resizing. The uncompiled sources of the editor script and stylesheet ship in /src, next to the compiled files in /build.
  • The plugin only touches the post editor. The site editor has no metaboxes and is left alone.
  • Two pieces of user meta (the preference, and which walkthrough a user has seen) and one settings array. No front end code.
  • On WordPress older than 7.0 the plugin deactivates itself and explains why, since there is no resizable panel there to switch off.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums