The “shortcode any widget” handles multiple instances
The shortcode any widget plugin can reference multiple instances of the same widget individually by targeting the instances unique id. If you use the general name without the id, it will list all widgets with that name.
[do_widget "Tag Cloud"]
The trick is to be sure that you have the correct id’s, and the id names correct. For example, to double check I added two tag cloud widgets to my play system. The id’s ended up being “tag_cloud-3″ and “tag_cloud-4″. You also need a separate do_widget for each – don’t put in the same shortcode
- the underscore and the hyphen
- the fact that they were not numbered 1 and 2, even though I currently had no other tag cloud widgets
How to find out the widget id?
In the post or page where you have entered the shortcode, add to the url:
(replace ? with & if you already have a ?)
If the do_widget shortcode fires, then it will list your sidebars and the widget ids and a bunch of other statements. Find the shortcode sidebar and see what the id of the widget is
In some browser you can hover over your widgets or the edit links in the widget sidebar to really see what the id’s are.
and the result is……..