Widget Shortcode WordPress 插件
描述
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