Wordpress Widgets Wherever
If you are a Wordpress user then you know how much of a saviour widgets has been. Long gone are the days of keeping your sidebar.php file open to make edits every time you need to add a plugin. And among the many who’ve spent hours customizing their sites only to accidentaly make a typo in the file and mess up your whole site widgets have eliminated that worry. Now when you add a plugin that supports widgets you simply use a drag and drop interface to place the plugin where you want it to display.
If you didn’t know this already you can actually use widgets in other places on your website and not just the sidebars. For example at the bottom of this post just above the comments form is a section that lists related posts. In the past I would have to edit the file single.php and after installing the Related Posts plugin and add some php code to the file for it to show where I want it. Now I can just go to my widgets section in Wordpress and add whatever I want down there as a widget instead of editing php code. You could do the same thing for your header or footer or anywhere else on your site.
To do this edit the file functions.php inside your theme’s folder and look for the function to create a widget, it will look like this:
if ( function_exists('register_sidebar') ) // Sidebar Widget
register_sidebar(array(
'name' => 'Bottom of Post',
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '
',
'after_title' => '
',
));
Copy and paste that code and create and second and even third copy if you want one after the other and then change the name of it to something unique. Next open the theme file that you want to add this new widget section to and add the following code:
Default left sidebar stuff here…
Now when you go to your widgets section you will see another menu you can customize from the dropdown section. Do this as many times as you need to.


Seems this is a niche idea. Most powerful and helpful for wordpress blog. I hope I can use the same to my word press blog. Is there any version of this available for blogger bloggers?
Sherin
[Reply]
[...] help with positioning and using Widgets you can visit my previous article on how to place widgets anywhere in your blog. If you enjoyed this post please leave a comment or subscribe to my rss feed Enter your email [...]
Great post, Cleared many doubts,Will be looking forward to using the technique in the coming projects. Thanks Cheers
[Reply]
Very interesting post. Nice blog by the way!
[Reply]
Hey, great post there! Im first time here visited your blog, definitely will visit back later, keep it up
[Reply]
There are many widget ready themes available and there are many widgets available as well. Thanks for sharing the code and way it works. At least I know now how we can implement our own codes or widgets. Wordpress makes our lives so easy and wonderful.
[Reply]
i’m actually wondering how they put those plugins up. hehe, thanks for the info, i’m a newbie wp user.
[Reply]
Great insights. I was not aware of this. You have nicely described. This information also helps to those who have no idea about it. Thanks for sharing…
[Reply]
Hey,
Nice blog and really thanks for sharing the code and way it works. At least I know now how we can implement our own codes or widgets.
Wordpress makes our lives so easy and wonderful.
:):):)
[Reply]
Wow, that great… It will show option for header and footer as well. That’s mean we can add more widget areas on the blog. Hence make easy to change whole blog, whenever required. good Idea thanks
[Reply]
Thanks for this, I have limited experience with php and less time, so I have been limited to widget ready themes. This gives me some ideas, and it helps me to learn more about php.
RevJeffs last blog post..15 Creative and Profitable Ways to Use Autoresponders
[Reply]
Pretty informative for a short post, my kind of site. Less read with bulks of info. Thanks btw now I’m able to enjoy more my WP blog.
[Reply]
Thanks for your good information and also i like to know about this more details so if you know something related WordPress widgets continue this type of posting.Thanks for sharing your tips.
[Reply]
Thanks for sharing this. There are many plugins out there but all I use now is the CustomWidget pluigins, simply allows you to do anything.
[Reply]
[...] Serial Box Crime » Wordpress Widgets Wherever [...]
its a great information for my realated topics i am also Wordpress user.i am confuse for this topics but for solve to thanks for this information.
[Reply]
Great post,i Will be looking forward to using the technique in the coming projects. Thanks
[Reply]
Leave your response!
Schapelle Corby »
The Next Generation in International Debate
Justtellmewhy.com isn’t just another social networking website. In many ways, it’s the next big step in online communication and learning. It essentially has taken elements from concepts like Wikipedia, Yahoo! Answers and Digg and brought …
True Crime »
On Xena and Murderabilia
There is a stigma that is eternally attached to anyone who collects true crime artifacts. Sure, I have a hard time understanding why someone would pay money for the used socks of a serial killer, but I also have a hard time understanding why someone kills and animal, guts it, mounts it to their wall and calls it “art”. Same goes for people who would pay millions for a dress some starlet wore to the Oscars, a baseball signed by a major leaguer,
web 2.0 »
What is a Tweet and How to Do It? Back To The Basics
At work we are just starting to realize the importance of social networking from a business standpoint and the potential for wild growth and viral advertising. We have a twitter account at work that has …
West Memphis Three »
Victim’s mother believes defendants innocent.
In a telephone interview on Monday, Stevie’s stepfather, Terry Hobbs, confirmed that West Memphis police had videotaped an interview with him within the last three weeks.
Well well well…. After all these years its finally coming …
feed me
Recent Comments
Archives
Archive
Blogroll
Mobile Barcode
This is a 2D-barcode containing the address of our mobile site. If your mobile has a barcode reader, simply snap this bar code with the camera and launch the site.
Many companies provide barcode readers that you can install on your mobile, and all of the following are compatible with this format:
Random Posts
Latest Video Post
Most Commented
Serial Box Crime is Digg proof thanks to caching by WP Super Cache!
Powered by WordPress | Log in | Entries (RSS) | Comments (RSS) | Arthemia Premium theme by Michael Jubel Hutagalung