Title: Edit Lock
Author: doublejar
Published: <strong>2020 年 8 月 19 日</strong>
Last modified: 2022 年 10 月 9 日

---

搜尋外掛

![](https://ps.w.org/edit-lock/assets/banner-772x250.png?rev=2364700)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/edit-lock/assets/icon.svg?rev=2364682)

# Edit Lock

 由 [doublejar](https://profiles.wordpress.org/doublejar/) 開發

[下載](https://downloads.wordpress.org/plugin/edit-lock.1.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/edit-lock/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/edit-lock/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/edit-lock/#developers)

 [技術支援](https://wordpress.org/support/plugin/edit-lock/)

## 外掛說明

When you build a custom-made website, either for your client or yourself, there 
often are pages which contains HTML codes which may break if edited by casual users.

This plugin allows you to disable editing on selected pages, to protect the pages
from accidental or unwanted changes. By locking pages and posts, these crucial pages
cannot be edited or deleted by users. An exception can be added for administrators
to modify pages irregardless of locking status.

Features:

 * Locks any pages, posts, and even media files
 * Custom post types are also supported
 * Works with Gutenberg and Classic Editor
 * Two locking mechanisms available
 * Allows admin users to modify pages without unlocking or lock for everyone

Locking mechanisms:

 * Lock mode — Disable editing or deleting locked posts.
 * Warn mode — Warn users when editing locked posts. Quick edit and deletion are
   disabled.

## 螢幕擷圖

[⌊Page listing on WP-Admin showing a locked page.⌉⌊Page listing on WP-Admin showing
a locked page.⌉[

Page listing on WP-Admin showing a locked page.

[⌊An error message is displayed when trying to edit a locked post.⌉⌊An error message
is displayed when trying to edit a locked post.⌉[

An error message is displayed when trying to edit a locked post.

[⌊In case of warn mode, a warning popup message is displayed when trying to edit
a locked post, similar to when you are editing plugin or theme file for the first
time.⌉⌊In case of warn mode, a warning popup message is displayed when trying to
edit a locked post, similar to when you are editing plugin or theme file for the
first time.⌉[

In case of `warn mode`, a warning popup message is displayed when trying to edit
a locked post, similar to when you are editing plugin or theme file for the first
time.

[⌊Edit lock settings page.⌉⌊Edit lock settings page.⌉[

Edit lock settings page.

## 常見問題集

### How to lock a post?

If `lock toggle` option is enabled, you could lock/unlock a post when browsing posts
on the admin page. Hover a post and click the lock icon below the post title.

If the lock toggle is not enabled, you could lock a post by specifying its ID on
the settings page. Enter one ID per row into the `Locked posts` field.

### Are locked posts accessible by visitors on the site?

Yes, locking posts only disables editing and still allows them to be viewed.

## 使用者評論

![](https://secure.gravatar.com/avatar/62fe212021d456e5fdb54e3ee53bdd71b42a195b3e9ca74c7c0494cb96425d30?
s=60&d=retro&r=g)

### 󠀁[Worth It’s Weight in Gold!!](https://wordpress.org/support/topic/worth-its-weight-in-gold-5/)󠁿

 [stevieboy23](https://profiles.wordpress.org/stevieboy23/) 2022 年 1 月 22 日

Still working in WP 5.8.3! If you build WP websites for teams of non-techies, this
is an ESSENTIAL utility for protecting your Homepage (and any other crucial pages)
from unwanted meddling… So easy to set up, this functionality should be in core.

![](https://secure.gravatar.com/avatar/152747e46f10cc51be8b0e9683a7b5a2f691cd63d507277b3768cc9166a84021?
s=60&d=retro&r=g)

### 󠀁[The plugin you never knew you needed till you use it](https://wordpress.org/support/topic/the-plugin-you-never-knew-you-needed-till-you-use-it/)󠁿

 [birdbrainsolutions](https://profiles.wordpress.org/birdbrainsolutions/) 2021 年
2 月 22 日

Thanks for creating the plugin, highly recommended! note: Any possibility of adding
the same functionality to the plugins page? edit: I tried to edit a locked page 
on the frontend, and I couldn’t, seriously loving the plugin!

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/edit-lock/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Edit Lock〉的開發相關工作。

參與者

 *   [ doublejar ](https://profiles.wordpress.org/doublejar/)

[將〈Edit Lock〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/edit-lock)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/edit-lock/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/edit-lock/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/edit-lock/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/edit-lock/)。

## 變更記錄

#### 1.0.3

 * Tested compatibility with WordPress 6.1

#### 1.0

 * First release

## 中繼資料

 *  版本 **1.0.3**
 *  最後更新 **4 年前**
 *  啟用安裝數 **500+**
 *  WordPress 版本需求 ** 5.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.1.10**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/edit-lock/)
 * 標籤:
 * [disable post edit](https://tw.wordpress.org/plugins/tags/disable-post-edit/)
   [posts](https://tw.wordpress.org/plugins/tags/posts/)[security](https://tw.wordpress.org/plugins/tags/security/)
   [wp-admin](https://tw.wordpress.org/plugins/tags/wp-admin/)
 *  [進階檢視](https://tw.wordpress.org/plugins/edit-lock/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/edit-lock/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/edit-lock/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/edit-lock/reviews/)

## 參與者

 *   [ doublejar ](https://profiles.wordpress.org/doublejar/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/edit-lock/)