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

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

安装

  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” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Clear Widget”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

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