So ...

Upon activation, go to Appearance => Widgets.

You'll notice a new widget-ready area called "Widget for Shortcodes":


Next, you'll have to drag the widget(s) you want to display in your post or page into this new shortcodes sidebar:


And that's all ... ANY widget added to the shortcodes sidebar can be inserted into your post or page content.

All you have to do, is to open your post/page in the post/page editor, and paste the following shortcode (wherever you like in your content):

[do_widget widgetname]

Since I added the calendar widget, my shortcode will look like this ...

[do_widget calendar]

... and here it is pasted into my content:


If the widget name has space in it, then you'll have to add the widget name in quotes. For example:

[do_widget "recent posts"]

OK. Now let's see the result ...



Join the Discussion
Write something…
Recent messages
jlclayton1 Premium
Excellent again--thank you so much!
Reply
smartketeer Premium
Thanks for stopping by Janelle!
Reply
CandP Premium
Thanks, Zed. Great training as always.
Colette and Philip
Reply
smartketeer Premium
Thanks for the time my friends!
Reply
bigrog44 Premium
Thanks for sharing, Zed.
Reply
smartketeer Premium
Thank YOU!
Reply
mbouteiller Premium Plus
Hey Zed,

Yes, this is very helpful.

Thanks again and yep bookmarked.

Have a wonderful week.

Monica
Reply
smartketeer Premium
Once again, thanks for the time Monica!
Reply
merlynmac Premium
This is great man. Now I just need to find a way to use this for positioning certain widgets exactly where I want them vs, their default location (I have a star rating widget that only lets me place it at the top or bottom of my posts).
Reply
smartketeer Premium
I don't get it Scott ... You can paste the shortcode wherever you want ...
Reply
merlynmac Premium
The widget I use already puts content either at the top or bottom of my content. It's on a per post basis so if I disable it I can't tweak it's post specific settings. It's a rating plugin but I've found another that uses short code so I do t need to worry about it now.
Reply
smartketeer Premium
Problem solved :)
Reply
Top