Title: Clear Widget
Author: jevets
Published: <strong>2011 年 7 月 15 日</strong>
Last modified: 2011 年 7 月 18 日

---

搜索插件

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

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

# Clear Widget

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

[下载](https://downloads.wordpress.org/plugin/clear-widget.0.2.zip)

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

 [支持](https://wordpress.org/support/plugin/clear-widget/)

## 描述

Outputs a clearing <div>. You may configure the CSS class and height and disable
inline style output. Useful when you want to ensure that a widget clears its predecessor
where the predecessor’s contents are dynamic.

Simply activate the plugin and visit Appearance > Widgets to use. You may choose
to disable the inline style output (if your CSS already has a clear rule). You may
also specify height and the CSS class of the clear block. If not specified, the 
defaults are used:

 * Height: 0
 * Class: ‘clear’

Example output (default):

    ```
    <div class="clear" style="clear:both; height:0; visibility: hidden"></div>
    ```

## 屏幕截图

[⌊Widget Settings⌉⌊Widget Settings⌉[

Widget Settings

## 安装

 1. Upload `clear-widget` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Visit Appearance > Widgets

## 常见问题

None yet.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 0.2

 * Updated `__construct()` to `Groovy_ClearWidget()` to allow for PHP4
 * Created a full `widgets_init` hook function instead of using `create_function()`

#### 0.1

Initial state

## 额外信息

 *  版本 **0.2**
 *  最后更新：**15 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.2 或更高版本 **
 *  已测试的最高版本为 **3.2.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/clear-widget/)
 * 标签
 * [clear](https://cn.wordpress.org/plugins/tags/clear/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/clear-widget/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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