plugin-icon

Post Lockdown

作者:andyexeter·
Stop non-admin users trashing, deleting or unpublishing your site-critical posts and pages. Lock content down in seconds - no code required.
评级
4.6
版本
4.1.1
活跃安装
1K
最后更新
Jul 31, 2026
Post Lockdown

Your homepage. Your contact page. The landing page that took three weeks to sign off. One accidental click from a contributor or a well-meaning editor and it’s in the trash – or worse, gone for good.

Post Lockdown puts your site-critical content out of reach. Choose which posts and pages matter, and Post Lockdown stops non-admin users from trashing or deleting them – no custom code, no role editor, no rebuilding permissions from scratch.

Two levels of safety

  • Protected – the post can still be edited, but it can’t be trashed, deleted, or unpublished. Editors keep working; the page stays live.
  • Locked – the post can’t be edited, trashed or deleted at all. Use it for content that must not change.

Set it up in under a minute

Post Lockdown adds a single settings page under Settings > Post Lockdown. Start typing to search every post, page, attachment and custom post type on your site, click an item to add it to the Locked or Protected box, then hit Save Changes. That’s it.

Built to stay out of the way

  • Locked and protected items are clearly flagged in a status column on your post and page lists, so nobody wonders why an action is missing.
  • Works with both the block editor and the classic editor. If someone tries to unpublish a protected post, the change is reverted and a notice explains why.
  • Optional bulk actions let you lock or protect items straight from the post list.
  • Manage everything from the command line with WP-CLI – run wp postlockdown to see the available commands.
  • A full set of filters lets developers change which capability counts as “admin”, set locked and protected posts programmatically, and customise the status column. See the FAQ for the complete list.

See the screenshots for exactly what an Editor sees when they open a list of locked and protected posts.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.2
这个插件是可用的下载,适用于您的站点。