
內容簡介
Disable Meta Box Resizing 外掛可讓使用者關閉 WordPress 7.0 版本後的可調整大小的元框功能,恢復到舊版的編輯器介面,避免意外拖曳和隱藏欄位的問題,提升使用者編輯體驗。
【主要功能】
• 恢復舊版元框行為,無需調整大小
• 每位使用者可獨立設定偏好
• 管理員可設定預設狀態和用戶選項
• 提供簡單的介面切換選項
• 支援多站點管理功能
外掛標籤
開發者團隊
原文外掛簡介
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.
