Title: wpautop control
Author: bigsmoke
Published: <strong>2010 年 12 月 16 日</strong>
Last modified: 2015 年 5 月 8 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/wpautop-control.svg)

# wpautop control

 作者：[bigsmoke](https://profiles.wordpress.org/bigsmoke/)

[下载](https://downloads.wordpress.org/plugin/wpautop-control.1.6.zip)

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

 [支持](https://wordpress.org/support/plugin/wpautop-control/)

## 描述

This plugin was born out of a very simple need. Back in the day, when the wpautop
filter was really sucky, I got annoyed and turned it off for my [blog](http://blog.bigsmoke.us/).
However, years later, me (but mostly my co-author, Halfgaar) got equally annoyed
by having to manually type in all the angle brackets. I wanted to turn on the filter
again, but I didn’t want this to affect all my old posts. Hence this plugin. See
[this blog post](http://blog.bigsmoke.us/2010/12/09/wpautop) for more history.

## 安装

 1. Unzip the plugin in the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  Installation Instructions

 1. Unzip the plugin in the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

  How do I turn off automatic formatting for a post?

Add a custom field called `wpautop` to any post. When set to `false`, `no` or `off`,
WordPress will no longer attempt to add `<p>` and `<br>` tags to your posts (so 
you’ll be responsible for adding these yourself).

  How do I turn on automatic formatting for a post?

You can set the field’s value to `true`, `yes` or `on` if you do want WordPress 
to use its `wpautop` filter to add `<p>` and `<br>` tags for you. (Of course, this
only makes sense if you’ve globally disabled `wpautop` in the included option screen.)

  How do I turn of line-end break insertions?

Set the field’s value to ‘-break’ to just disable the conversion of newlines to `
<br>` tags within paragraphs.

  I upgraded the plugin and it lost my default settings!

No, it didn’t. Disable and re-enable the plugin and the setting should be updated
to the new setting.

## 评价

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

### 󠀁[It works. thanks](https://wordpress.org/support/topic/it-works-thanks-3/)󠁿

 [petroe34](https://profiles.wordpress.org/petroe34/) 2016 年 9 月 14 日

It works. thanks

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

### 󠀁[Worked great!](https://wordpress.org/support/topic/worked-great-82/)󠁿

 [kasiamcm](https://profiles.wordpress.org/kasiamcm/) 2016 年 9 月 3 日

I have a premium theme with a lot of plugins activated and this plugin worked right
out of the box. Thank you!

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

### 󠀁[Does the job](https://wordpress.org/support/topic/does-the-job-229/)󠁿

 [sharcs](https://profiles.wordpress.org/sharcs/) 2016 年 9 月 3 日

Needed to remove pesky break tags from a form, the plugin did it in seconds.

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/wpautop-control/reviews/)

## 贡献者及开发者

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

贡献者

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

[帮助将「wpautop control」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wpautop-control)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.6

 * Re-enabled some `on`/`off` aliases.
 * Upgrade routine to update old boolean option (`wpautop_on_by_default`) to new
   option (`wpautop_by_default`).

#### 1.5

 * Fixed Markdown in readme.txt plugin documentation.

#### 1.4

 * Jesse Jacobson contributed a new feature, which disables only the conversion 
   of newlines into `<br>` tags within paragraphs. This is useful, for example, 
   when writing Markdown with a text editor like Vim.

#### 1.3

 * Updated description so that it mentions “angle brackets” instead of “curly braces”.

#### 1.2

 * Improved readme.txt so that usage instructions turn up in the FAQ instead of 
   in Other Notes.

#### 1.1

 * Clarified option screen. It seemed to be causing confusion.
 * Instead of just true/false, you can now also use yes/no or on/off in the wpautop
   custom field.

#### 1.0

 * First release

## 额外信息

 *  版本 **1.6**
 *  最后更新：**11 年前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **4.2.39**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wpautop-control/)
 * 标签
 * [filter](https://cn.wordpress.org/plugins/tags/filter/)[wpautop](https://cn.wordpress.org/plugins/tags/wpautop/)
 *  [高级视图](https://cn.wordpress.org/plugins/wpautop-control/advanced/)

## 评级

 4.7 星（最高 5 星）。

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

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

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

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wpautop-control/)

## 捐助

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

 [ 捐助此插件 ](http://www.bigsmoke.us/donate/)