このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

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. 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 for more history.

インストール

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

FAQ

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.

評価

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!
2016年9月3日
Needed to remove pesky break tags from a form, the plugin did it in seconds.
7件のレビューをすべて表示

貢献者と開発者

wpautop control はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“wpautop control” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

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