Title: HTML Mode Locker
Author: Max Chirkov
Published: <strong>2011 年 8 月 30 日</strong>
Last modified: 2014 年 1 月 13 日

---

搜索插件

![](https://ps.w.org/html-mode-locker/assets/banner-772x250.png?rev=497039)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/html-mode-locker_f9f9f9.svg)

# HTML Mode Locker

 作者：[Max Chirkov](https://profiles.wordpress.org/maxchirkov/)

[下载](https://downloads.wordpress.org/plugin/html-mode-locker.0.5.zip)

 * [详情](https://cn.wordpress.org/plugins/html-mode-locker/#description)
 * [评价](https://cn.wordpress.org/plugins/html-mode-locker/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/html-mode-locker/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/html-mode-locker/#developers)

 [支持](https://wordpress.org/support/plugin/html-mode-locker/)

## 描述

We all experienced frustration of using WYSIWYG editor especially when switching
between Visual and HTML modes. If you have a need to use Visual editor in your day-
to-day operations, but you also need the ability to have some posts or pages in 
pure HTML format – HTML Mode Locker allows you to do that on per-post basis.

 * Author: Max Chirkov
 * Author URI: [http://simplerealtytheme.com](http://simplerealtytheme.com)
 * Copyright: Released under GNU GENERAL PUBLIC LICENSE

## 屏幕截图

[⌊HTML Mode Locker settings under Settings => Writing.⌉⌊HTML Mode Locker settings
under Settings => Writing.⌉[

HTML Mode Locker settings under Settings => Writing.

[⌊HTML Mode Locker meta box in the post editor.⌉⌊HTML Mode Locker meta box in the
post editor.⌉[

HTML Mode Locker meta box in the post editor.

## 安装

 1. Install and activate like any other basic plugin.
 2. Go to Settings => Writing and scroll down until you see HTML Mode Locker section.
 3. Activate HTML Mode Locker on desired post types and save your settings.

The HTML Locker meta box will appear to the right of the content editor on selected
post types.

## 评价

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

### 󠀁[Amazing!](https://wordpress.org/support/topic/amazing-2049/)󠁿

 [Angelsrock](https://profiles.wordpress.org/angelsrock/) 2019 年 1 月 21 日

Works great and keeps the code in place!

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

### 󠀁[didn’t work](https://wordpress.org/support/topic/didnt-work-202/)󠁿

 [tomhart](https://profiles.wordpress.org/tomhart/) 2017 年 5 月 16 日

Installed on current site and it didn’t work. Was trying to keep wordpress from 
rewriting [text_block text=”<p style="text-align: center;">Cables are an to the 
bad [text_block text=”<p style=”text-align: center;”>Cables are an

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/html-mode-locker/reviews/)

## 贡献者及开发者

「HTML Mode Locker」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Max Chirkov ](https://profiles.wordpress.org/maxchirkov/)

[帮助将「HTML Mode Locker」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/html-mode-locker)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/html-mode-locker/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/html-mode-locker/)，或通过[RSS](https://plugins.trac.wordpress.org/log/html-mode-locker/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/html-mode-locker/)。

## 更新日志

#### 0.5

 * WP 3.8 compatibility update.

#### 0.4

 * Fixed: WP 3.5 compatibility issue – HTML Mode Locker wasn’t locking HTML/Text
   view in WordPress 3.5

#### 0.3

 * Added a “Plugin Tour” with new pointers feature.

#### 0.2

 * Minor cleanup of PHP warnings and notices.

#### 0.1

 * Initial release.

## 额外信息

 *  版本 **0.5**
 *  最后更新：**12 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.7.41**
 *  语言
 * [English (US)](https://wordpress.org/plugins/html-mode-locker/)
 * 标签
 * [editor](https://cn.wordpress.org/plugins/tags/editor/)[html](https://cn.wordpress.org/plugins/tags/html/)
   [HTML Mode](https://cn.wordpress.org/plugins/tags/html-mode/)
 *  [高级视图](https://cn.wordpress.org/plugins/html-mode-locker/advanced/)

## 评级

 4.2 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/html-mode-locker/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/html-mode-locker/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/html-mode-locker/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/html-mode-locker/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/html-mode-locker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/html-mode-locker/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/html-mode-locker/reviews/)

## 贡献者

 *   [ Max Chirkov ](https://profiles.wordpress.org/maxchirkov/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/html-mode-locker/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4ESAQKUA5AF7E)