Is it possible to use widgets outside of the sidebar? When you assign them in the admin panel you have to drag them to your sidebar but I would like to implement a search function outside the sidebar. Can I do this?
Leave a Reply
You must be logged in to post a comment.
The correct answer is use the_widget()
I used it to integrate a widget into my own custom widget. Check out the codex for details on how to use it.
Absolutely. This thread in the WordPress support forums should get you going. It creates a new widget area ready called
Homepage
that can then be used in any of your theme’s template files:Your theme’s functions.php
The template file you want the Homepage widget in
Alternatively, you can use the My Custom Widgets plugin to do the same thing.