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

Diver

描述

Add HTML <div> tags directly on the visual editor using [div] shortcode.
Usage:

  • [div]Your content here[/div]
  • [div class=”your css classes”]Content[/div]
  • [div embed=”http://em.bd/123″]
  • [div embed=”http://em.bd/123″ class=”your css classes”]
  • [div class=”your css classes”]http://em.bd/123[/div]

etc.

Diver development home: http://github.com/leandroarndt/diver/

常见问题

1. Do I heave to close the [div] shortcode?

The closing ([/div]) shortcode is optional. However note that you will have
only the embed attribute to enter contents if you don’t close the shortcode
manually.

2. Does [div] shortcode allow code injection?

No. All content from \”class\” and \”embed\” parameters is sanitized and quotes
are substituted by the corresponding HTML entities.

3. May the user create a CSS style different from those on the stylesheet?

No. Diver WordPress plugin is intended to respect theme styles and be away from
direct style definitions. Style definition and content shouldn\’t be mixed up,
should them?

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

帮助将「Diver」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

  • 2015-01-15: First release.
  • 2015-01-21: Better readme.txt formatting.
  • 2016-02-04: readme.txt changes.