How to add a widget to the sidebar
There are basically two ways to add widgets to the sidebar. The easy one for people who use a widget-ready theme, and then there’s the way for people who are either using a non-widget-ready theme or are weird German guys with too much time on their hands, who prefer to mess with the code. Uhm, yeah, that would be me.
The easy way
Go to your admin panel and click on presentation. Under “widgets” you see your sidebar(s). Don’t worry, that’s just the widgets. The non-witgetized parts of the sidebar are not shown. You didn’t lose them.
Drag a “Text 1″ widget into your sidebar.
Click the configure button on the right.
Paste the code you copied from the widget provider (i. e. BlogCatalog) into the big text field.
Close it, click “Save Changes” and you should be set.
The harder way
Open your sidebar.php in a text editor. I prefer to have the widget above the meta section of the sidebar, so I look for it in the code. Ah, there it is.
<li><h2>Recent Entries</h2>
<ul>
<?php query_posts(’showposts=10′); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><a href=”<?php the_permalink() ?>”><?php the_title() ?></a></li>
<?php endwhile; endif; ?>
</ul>
</li><li><h2>Meta</h2>
<ul>
…
It will look different in your theme. Just make sure you found the meta part. Before you edit anything, you should make sure that you have a backup copy of the file. Now I will paste the code from the widget provider into the theme, which results in this:
<li><h2>Recent Entries</h2>
<ul>
<?php query_posts(’showposts=10′); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<li><a href=”<?php the_permalink() ?>”><?php the_title() ?></a></li>
<?php endwhile; endif; ?>
</ul>
</li><ul>
<li><script type=”text/javascript” src=”http://www.blogcatalog.com/w/recent.php?id=XXXXXX”/script></li>
</ul><li><h2>Meta</h2>
<ul>
…
As you can see, I also gave it ul and li tags, to match the rest of the sidebar. Save the file, upload it to your ftp, thus replacing your old sidebar.php. You should be able to see your shiny new widget now.
I hope this was of help to you. If it was (even if not), drop me line. I’m always interested in feedback.
Share This
Popularity: 60% [?]
Tags: sidebar, theme, widgets, WordPress










I tried the hard way once and broke my blog…thank god for drag and drop!
Thanks, this was really helpful
For those who break their blogs like Andy, try any changes you want to make on a test blog first. Keep your test blog as similar to your original one in production.
sometimes, widgeting end up my blog into mess. So, i better don’t this to better control of my sidebars.
For your keyword research try using KeywordSpy.com - a keyword research technology that will help you know what keywords your competitors are using and how it generates money for them, you can use those keywords to drive traffic to your site and give your business the exposure it needs. It offers Free trials.- http://www.keywordspy.com/
Thanks for the info. Having some problems with my side bar.
wow spoer
Hi
I want to ADD a widget (plug-in) “Event Calendar” to my friend’s blog at: http://www.womenonair.biz/blog to the right sidebar
when I drag and drop the Event Calendar widget, it REPLACES the entire existing sidebar
I just want to ADD the new widget; actually I want to replace an existing graphic on that right sidebar with the widget
can you tell me how to do that without my entire sidebar disappearing??
thanks for this very informative site!!
Thanks, this was really helpful
Thanks for the info. This might sort my problem. If not I will be back..
sometimes, widgeting end up my blog into mess. So, i better don’t this to better control of my sidebars.
It worked, at last. Thanks so much
Thanks for this, i know this before, click on the small plus/add button located at the top of the sidebar. In the pop-up window, you will see a range of commonly used widgets. To add a widget, double-click the widget.
In wp its very simple but you need the widgets type layout.
thanks for providing information…. nice one..
Thanks for the valuable and informative post it is helpful for all of us.
I couldnt figure that out, thanks for the info. Now I can add a widget, huray
hey thanks for the post. It was really helpful…thanks again for sharing it.
That is why I like this blog, you always post the solution with examples that we just follow step by step. That’s amazing!
If ever I plan to run a blog, does it really have to be Wordpress to run Widgets? Can I do it the same way like in Blogger?
thanks a lot for shairing such informative post.
Thanks for information about how to add widgets to side bar it will be very helpful to me thank a lot. Have a nice day.
Very useful information. It’s wonderful when people who know share their knowledge with those of use who don’t!
I tried the hard way once and broke my blog…thank god for drag and drop
i needed that info.
Thanks, this was really helpful
sometimes, widgeting end up my blog into mess. So, i better don’t this to better control of my sidebars. This is what i do
completely agree with the above comment, the internet is with a doubt growing into the most important medium of communication across the globe and its due to sites like this that ideas are spreading so quickly.
Thanks for the great article, do you have any additional resources you can point us to to learn more?
This is truly innovative and insightful information- thanks a lot for the post.
sexshop
acı cehre
penis büyütücü
Thanks for the information.
Awesome article - concise and correct. Really article is is informative I would like to thank the author for shearing the information.
Thanks for the post. What do you all think of the future of blogging? I have been reading a lot about google’s attempt to gain preferential treatment for its site from internet providers. This will result in their sites being faster than sites owned by individuals and/or smaller comapnies. It’s my beleif that if google is able to succeed there will be far less websites out there and therefore far less blogging.
I have just started a WP blog on travel in Pattaya and to be honest have been having a difficult time with these widgets, I seem to have broken the blog a couple of times but eventually did it the easy way thanks to you.
I always like “how-to” articles.
Thanks for it!
Intimnij Dnepropetrovsk
I tried hard way and It mess up all the layout of my blog. I always try to understand all those coding things and for this i have to take the hard way
I tried a lots of another widget but not worked , so is it possible that problem in skin or in layout
How do i get my old sidebar back?I’ve recently installed Google Desktop, and chose to put the Google Sidebar on in place of the original sidebar, however, i don’t like the Google Sidebar and would like to get the original Vista Sidebar back but i don’t know how, can someone help me?
Thx for such a useful information specially related to widget and blogs how to attach with sidebar.
Same problem with my blogs i tried some of the widget but not worked, so can any one help where actual problem
real estate tampa bay
easier then I thought it would be, even the hard way seems easy thank you for this.
Easy! Great tips and great instruction! Nice to see someone still hacking at the code this way.
Sex shop
Thanks for all the great info.
I DIDNT EVEN KNOW THAT U COULD DO THAT THANKS FOR SHARING THAT WITH ME THOUGH,
For the longest time I was using an older theme with no widget support, now that I’ve switched to one that does allow widgets it’s so much easier
Nice post, nice to see someone showing how to do this rather than drag and drop. lol
New blogger like us not having extra knowledge about how to add different widget to sidebar thx for information, it will be helpful to enhance blog sidebar.
Aww another great and informative article , thanks for your tips and information dear
How to add a widget to the sidebar great article thank you.
Verry nice article, thanks for share..
I always do error when starting to add widget to my wp, this is very great guide …thanks
Very helpful. I love wordpress because everyone uses it and as a result, there are tons of great tutorials around! Thanks!
Sidebar Widgets allows you to move things (widgets)
around, in and out of your sidebar. A widget is something that you might want
on your sidebar, such as a category list or the most recent comments or a link
to your admin pages.
Thanks for the valuable and informative post, these code help me widget to the sidebar.
Useful info, cheers
It works the same on a computer with MAC? Can you still drag stuff?
Have often heard from blogger, Attractive widget helpful to enhance blog thx for such Widgets…
In the present day of ever increasing cost of advertising.Its high time we start looking the different free or low cost traffic options available to us on the internet.
Thanks for tip. You make it look much simpler to use.
It will look different in your theme. Just make sure you found the meta part. Before you edit anything, you should make sure that you have a backup copy of the file.
gogus buyutme
şişme bebek
şişme manken
erotik giyim
This is pretty cpomplicated. I don’t know if I can keep up with all the new technonlogy coming out.
Great always hungry for such useful widgets for my Network Cabling Florida blog. Looking forward for more Widgets.
[…] Имеет форму пениса, мягкую и нежную поверхность. Вакуумная помпа «P3 Penis Pump Clear» Купить сейчас! Цена: 1978 […]
Informative and helpful post.Thanks
Well…For those who break their blogs like Andy, try any changes you want to make on a test blog first. Keep your test blog as similar to your original one in production.
Well…For those who break their blogs like Andy, try any changes you want to make on a test blog first. Keep your test blog as similar to your original one in production.
Nice post guys, keep them coming
very good post!
I am agree with the post, Such a nice Post and informative aw well.Can you please provide me some more links for similar articles on my mail id.
Adding recent comments to the sidebar of your blog makes sense if you want to readily share the comments. Most blogs place the recent comments at the end of the blog, but with the use of a widget, you can change the location of the recent comments to the sidebar. The directions that follow are for Blogger blogs. Similar widgets are available for other blogs. Read on to learn more.
Benches and Storage
How to add a widget to the sidebar good article thank you.
How to add a widget to the sidebar good article thank you. teşekkürler
How to add a widget to the sidebar great article thank you.
Great Post. Does anyone know if there is a legal way I can display this content on my own website- thanks
Make sure that you don’t have the gadget installed already that your sidebar isn’t full and if everything fails, exit the sidebar by clicking the sidebar icon in your icon tray (beside the system clock @ the task bar) and restart it by going to the start menu, searching for sidebar and pressing enter or clicking on well,windows sidebar.
Nice Post. does anyone know if there is a legal way I can display this content on my own website- Many thanks
I have some appts and school assignments I have inputted into my windows Microsoft works calendar. Is there any vista sidebar widget that can display the data/calendar? All I can find is the standard date/time one, not any that can pull data from windows calendar.thanks!
Ultimate post, I really like it, can you please share some more info on it, which is quite more helpful for us.
How to add a widget to the sidebar good article thank you.
Informative and helpful post.Thanks
I’ve wondered how to do this, thanks.
hey thats a good one thank you
As blogging is meant for the updates i used to do regularly,but these are too tensed with my work i am unable to do blogging frequently..Thanks for the post.
perfect article. thank you
one number. thanks
thank you very much
thanx for the post,very helpful
Nice tips …
As blogging is meant for the updates i used to do regularly,but these are too tensed with my work i am unable to do blogging frequently..Thanks for the post.
Great Tips…. thanks to nice share.
great article thank you.
good article thank you
useful ost. thank
thank you very much
thanks. a great work this site very much like ‘re doing
emeğinize sağlık
thanks. a great work this site very much like ‘re doing
thank you very much
What are the benefits of doing it the hard way vs. the easy way? More customizable?
I think some companies are targeting “web optimization” because less internet savvy clients are using that term accidentally when actually looking for search engine optimization.
It’s helpfull and I really like it.I’ll try , thanks anyway… I wish you share some more info on it.
I wish you share some more info on it.
Oh that was much easier to read than to understand someone telling me. I finally understand the widget! Amen!
thanks. a great work this site very much
Well done and good luck with your work.
Useful blog!Search engine optimization is one of the low cost maneuvers to bring visitors to your site. Web surfers look for information from sites that differ from the other sites with their back link specialty.
thank you very much
Thanks for great information.
I have some appts and school assignments I have inputted into my windows Microsoft works calendar. Is there any vista sidebar widget that can display the data/calendar? All I can find is the standard date/time one, not any that can pull data from windows calendar.thanks!
good article thank you
Nice solution buddy !!!!!!!!1
thank you very much. usefull article
Thanks u admin. Its important for me
Can I use it on my blog in different languages.
Good article. Can I use it on my blog?
ugg outlet
cheap ugg
cheap ugg boots online
thanks a lot for shairing such informative post.
thanks a lot for shairing such informative post!
Thanks, this was really helpful
Wow! Its Superb.Keep it up..
[…] образу особую таинственность и сексуальность. Черное боди «Кружева» В этом роскошном белье вы почувствуете себя хищной […]
[…] Virtual Server vs Shared vs Dedicated ? - VPS Bible Pt 1 - GUVNRHow to add a widget to the sidebar […]
thank you very much
Many people are dreaming of wearing rolex watch as it is a great brand designer watch.Women like to wear all kinds of fashionable accessories sun as the Replica Yachtmaster watches which make them look more fashionable and graceful.man like to wear all kins of Franck Muller watches to highlight them life style at a fraction of the cost.
Our watches are all beautifully decorated stainless steel or 18k gold designer replica watches,perfectly fitted to you wirst ,once you wear our watch you will never look back ,Now I will show you some thing wonderful: Rolex Replica Watches, Corum Replica Watches, Dewitt Replica Watches, Rolex Replica Watches, Ferrari Replica Watches…………
Shopping for a Rolex
watch online can tag heuer make the job Rolex Watches easier
but you Replica Watches
lso have to be patek philippe wary about the reputation of
the dealer Chanel Watches and the brand of Breitling Watches watch
you are audemars piguet getting. The more mont blanc watches
considerable you are, the less danger you would come to armani
watches when buying a Omega Watches gold watch online.
thank you very much
Welcome to our website,and you will enjoy the sunshine service. Let’s
abandon all the worry,and enjoy the happy shopping travel.All the
replica watches paypal and replica watches are most in fashion
boutique this year.rolex replica and rolex replica paypal and the
replica rolex paypal show your chaming temperament. In addtin, the
fake watches paypal and the other fake rolex paypal make you mold
your unique glamour this winter.The swiss rolex replica have the high
quality but low price. replica watch paypal and replica rolex have
all the style and cheapest price replica rolex watches. Enjoying the
fun of net purchase! replica rolex We will supply you the perfect
service and after sale support system. Our honest will bring you
absolute satisfaction.
That’s exactly for me - I have no idea of php and etc but I want to make some changes in my codes. So I rely on posts like this one.
Thanks for the info. Having some problems with my side bar.
First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics , i will be always checking your blog thanks.
Thanks for this, i know this before, click on the small plus/add button located at the top of the sidebar. In the pop-up window, you will see a range of commonly used widgets. To add a widget, double-click the widget. my web page web tasarım
thanks dear brother i am very thankful to you because you solve my problem in few minutes
Although the subject is good work, I think more details should be.
thank you very much
bosta domain
php asp kodlari
online odev
Yabanci trafik
sicak saatler
Thank Administrator…
As an occasional Archivist I can appreciate the complexity of RM systems, but the fact is there are usually examples around of people who have done things the right way. Generally businesses can’t afford to spend $5 Million (or 5 years for that matter) on things that don’t work. One wonders if governments ever take the time to look at examples of well managed projects before embarking on this sort of thing.
Farklı olabilmek için müşterileri için özel hizmetler sunabilmekte ve hızlı çözümler üretebilmektedir.
Great info - been doing the hard way - tried your tip - was so much easier. Thanks!
[…] How to Get Unlimited Target Traffic in Only 15 Minutes |How to add a widget to the sidebar […]
Your article is very important & really helpful to us.
Thank you to give us this.
Thanks a lot! I’ve just used your coupon
Nice interesting post and the following tips are also great. Thanks for sharing them. Hope you will share more tips like this.
great post, thank you for sharing the good information.
i appreciate to read this good content and i will use this information for my
download
game download
webmaster-and-grafik-wallpapers
mp3
mp3
download
film download
download
domain
domain
dizi izle
dizi izle
film izle
thank you very much. succesfull article
great post, thank you for sharing the good information.
i appreciate to read this good content and i will use this information for my
Wow! I was just looking for that information, ’cause I need to put a widget into my blog. Thanks a lot.
thanks.
Thanks for the info. this is very useful to me.
keep going on.
Продать слона
This is a very interesting blog. Thanks for sharing.
GHD hair straighteners have become the number one brands for professional hair straighteners. At HaircareHeaven we sell the complete range of GHD Gift Set Precious hair straightener Straighteners. Including the new
Chi Flat Iron and Hot Pink GHD.we are a approved GHD internet retailer and only sell genuine hair straighteners.
That’s very helpful for me ,thanks!
Nice post. It was just what i was surfing the web for. will it work with cms’s like joomla, wordpress as well ? any ways it is still excellent piece of code.