Widget Shortcode – WordPress plugin Free download

Click to Download

Widget Shortcode

Description

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

Screenshots

The plugin generates the shortcode for you
The shortcode generator in TinyMCE editor
The new Widget Shortcode block in Gutenberg

Installation

Upload the whole plugin directory to the /wp-content/plugins/ directory
Activate the plugin through the ‘Plugins’ menu in WordPress
That’s it. Use the [widget] shortcode anywhere you want
Enjoy!

Reviews

Leave a Reply

Your email address will not be published.