Adding NonWidgets to a Widget Sidebar

Many bloggers that use WordPress have found the power of widgets. The sidebar widget plugin allows you to add many other plugins to your sidebar just by dragging them to where you want and changing the options, no changing code involved. But not all plugins have been converted to widgets yet. Some will work if you add their code to a text or php widget but still many will not.
What I’ve done on some of my other sites and helped friends on theirs is add the wanted plugin above or below the sidebar widget. This may not be the best way, but it works
To add anything before the sidebar widget look in your sidebar code (usually sidebar.php) and find:

php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar() ) :

add anything you want before that code. For adding plugins after the sidebar widget, in the same file search for:

php endif;

(usually toward the bottom of the page) add anything after this bit of code.
Each day new widgets come out so search through the list of them, Also try adding code to a text widget, which comes with the main plugin. But if all else fails try the above. To make the entire sidebar look correct you will have to try li and ul tags. (see how things are structured between the to bits of code that were looked up, tril and error also works)

Technorati Tags:


3 Comments to “Adding NonWidgets to a Widget Sidebar”

  1. […] SideBar Widget – Before SideBar Widget, adding a plugin to WordPress dealt with opening the actual code of the site and adding a snippet of code, hopefully in the correct place. With SideBar Widget, this is a thing of the past. Once installed the admin can drag and drop any widgets to any area in their sidebar. See my post about downloading extra widgets for this plugin and also how to add nonwidgets to a widget sidebar. […]

  2. creamstudents 21 March 2007 at 7:51 pm #

    Nice 🙂 after this I will throw out my problems about installing nonwidget.thanks !

  3. Richard Curry 21 March 2007 at 8:03 pm #

    no problem, you still have to add them at the top or bottom, but at least you have what you want

Leave a Reply