Workaround to Use in Multiple Sidebars
-
It appears this plugin was last being developed when the ability to use a widget in multiple sidebars was not the standard. A simple workaround for this is to install the Duplicate Widget Plugin. The only downside is that the settings will be the same on each instance (or it’s an upside if that’s what you wanted I suppose). So, for example, you put Diamond Bloglist on your Homepage Sidebar. Then put the Duplicate Widget on your Regular Page Sidebar and select “Diamond Bloglist on the Homepage Sidebar” as the setting.
The single instance problem can be fixed by changing how the plugin registers itself with WordPress. I did so and I could add it multiple times. It had the same limitation with respect to options as above though. The newer WordPress widget API tracks options on a per instance basis, but since the internal code of Diamond is just reading options straight out of the database it can’t take advantage of that. My changes also broke the admin page for Diamond that appears under Settings (I assume for related reasons).
It just isn’t worth it to me to fix everything when the Duplicate Widget Plugin does what I need. Besides, I am a complete WordPress newbie so it might take a while for me to fix it, but I hope this workaround helps.
- The topic ‘Workaround to Use in Multiple Sidebars’ is closed to new replies.