Widget Shortcode

説明

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

評価

Hi, this is really helping me out, thank you!
Very nice that it is working with Gutenberg, inserting widgets in the content from a drop-down, no copy-pasting of shortcodes, and a preview inside the block editor!
Just some minor glitches/enhancements:
https://wordpress.org/support/topic/advanced-additional-css-class-broken-wp-5-1-gutenberg/
https://wordpress.org/support/topic/make-link-inside-widget-non-clickable-in-the-preview-in-the-editor/
https://wordpress.org/support/topic/make-additional-attributes-available-in-block-editor-gutenberg/
Fixing the first two of these, would totally earn you that fifth star—and a donation 😉 TIA

The plugin works really well and it feels very lightweight. I'm glad I stumbled upon this plugin long time ago and marked it as favorite, I thought 'um.. this looks interesting and it might come in handy sometime later. That time came working on a theme that strictly shows post grid throught the use of widgets but only in 'home', so with the help of this plugin I was able to put the post grid in any page I wanted. You just saved me hours of doing custom PHP code.
Thank you!

I do not see how to use it. No any info neither in the support page, nor in the FAQ...
How to use it? No any controls in the editor...
I tried to insert [widget] in my pages - nothing happens. What else I have to do?

Well, really not much to say - it works very well, does exactly what it is supposed to do, is super useful!
I especially like the button in the TinyMCE Toolbox, where you can find all the widgets from the "Widget Shortcode" widget area - it's a great shortcut.
Thank you for developing this plugin!