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

No Format Shortcode

描述

This plugin provides a shortcode to selectively disable WordPress’ automatic formatting. Very useful for anyone looking to write some custom HTML, but doesn’t want to completely diasble wpautop.

Usage

Wrap any HTML content, or content for which you wish to disable formatting inside of the [noformat] shortcode, like this:

[noformat]
  • This content won't be formatted.
You'll notice no automatic

's or
's are added within this shortcode. [/noformat]

安装

  1. Upload the no-format-shortcode folder to the /wp-content/plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That’s it! Start using the [noformat] shortcode.

常见问题

Installation Instructions
  1. Upload the no-format-shortcode folder to the /wp-content/plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That’s it! Start using the [noformat] shortcode.

评价

2018 年 4 月 23 日
I find the ability to selectively turn of wpautop very handy. This will definitely be a plugin I keep in my toolbox just in case. Thanks!
阅读所有1条评价

贡献者及开发者

“No Format Shortcode” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“No Format Shortcode”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Start of a simple plugin.