Adds a [widget] shortcode which enables you to output a widget anywhere you like.
Author: | Hassan Derakhshandeh (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | 5.4.1 |
Plugin version: | 0.3.5 |
Added to WordPress repository: | 23-12-2011 |
Last updated: | 04-05-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 98 |
Rated by: | 67 |
Plugin URI: | |
Total downloads: | 636 029 |
Active installs: | 80 000+ |
Click to start download |
The shortcode requires the widget ID, but no need to guess, the plugin generates the code for you. To override the widget title for a widget you can use the “title” parameter:
[widget id=”text-1″ title=”New title”]
You can also hide the widget title entirely if desired:
[widget id=”text-1″ title=”0″]
Additional Parameters:
- container_tag: the HTML tag to use for the widget container, default:
div
- container_class: CSS classname added to the widget container, default:
widget %2$s
(Note: uses sprintf for variable substitution) - container_id: HTML ID attribute for the widget container, default:
%1$s
(Note: uses sprintf for variable substitution) - title_tag: HTML tag to use for the widget title wrapper, default:
h2
- title_class: CSS classname for the widget title wrapper, default:
widgettitle