Title: Diver
Author: Leandro Arndt
Published: <strong>2015 年 1 月 19 日</strong>
Last modified: 2016 年 2 月 4 日

---

搜索插件

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

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

# Diver

 作者：[Leandro Arndt](https://profiles.wordpress.org/leandroarndt/)

[下载](https://downloads.wordpress.org/plugin/diver.zip)

 * [详情](https://cn.wordpress.org/plugins/diver/#description)
 * [评价](https://cn.wordpress.org/plugins/diver/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/diver/#developers)

 [支持](https://wordpress.org/support/plugin/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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Leandro Arndt ](https://profiles.wordpress.org/leandroarndt/)

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

### 对开发感兴趣吗?

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

## 更新日志

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**10 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **4.4.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/diver/)
 * 标签
 * [div](https://cn.wordpress.org/plugins/tags/div/)[format](https://cn.wordpress.org/plugins/tags/format/)
   [html](https://cn.wordpress.org/plugins/tags/html/)[html tag](https://cn.wordpress.org/plugins/tags/html-tag/)
   [tag](https://cn.wordpress.org/plugins/tags/tag/)
 *  [高级视图](https://cn.wordpress.org/plugins/diver/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Leandro Arndt ](https://profiles.wordpress.org/leandroarndt/)

## 支持

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

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