Outputs a clearing <div>
As of April 2026, Clear Widget is a WordPress clear plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.8K+ times in total. Requires WordPress 3.2+ and PHP false+. Available on WordPress.org since 2011. Last updated 14 years ago — may have compatibility concerns. Top alternative: Clear Cache for Me.
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:
Example output (default):
<div class="clear" style="clear:both; height:0; visibility: hidden"></div>
| WordPress | 3.2+ requiredTested up to 3.2.1 |
| PHP | false+ required |
__construct() to Groovy_ClearWidget() to allow for PHP4widgets_init hook function instead of using create_function()Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.