Using Widgets In WordPress
September 13, 2008 by Andy
Widgets allow WordPress users to easily add in new features to the sidebars of their templates without having to hack template code.
e.g. you can add a translator widget that will translate your page into multiple languages, or you could add a Feedburner subscription box. Adding both of these (and the hundreds of other widgets available) would require editing of the sidebar templates if it were not for widgets.
To add widgets to your sidebar, first step is to download and install the widget. Widgets are installed as plugins.
Let’s take the global translator as an example.
You can download the global translator here.
Upload and activate the plugin by following the instructions on how to install WordPress plugins.
Once the plugin is installed, go to the Design –> Widgets menu (note: I am using the Lighter Menus plugin so that my WordPress menus drop down):
You will now see the Translator widget listed in the widget list:
On the right hand side of the screen, you need to select the sidebar that you want to insert the widget into.
Note: Your template may not have more than one sidebar. Mine has three, and I want to insert it into Sidebar 2. Select the sidebar from the drop-down menu, and click the “Show” button.
Now, click the “Add” link next to the Global Translator Widget on the left. You will see it appear on the right under your sidebar:
You can click on the “Edit” link next to the Global Translator widget (on the right) to edit the properties of the widget.
In this case, the widget has no options, so simply click the “Save Changes” button to add the widget to your site. On refreshing your site, the Translator widget now appears in Sidebar 2:
I have just shown you one widget. There are a lot of widgets available, but the method of installing them is the same in each case. Once you install a widget, do check that it works. Widgets need to be upgraded as you upgrade your WordPress installation, but fortunately most will alert you on the plugin page when a new update is ready.
Print This Post
Related Articles
- Adding a Feedburner Subscription Box to your WordPress Site - Feedburner is a great free service (now owned by Google). It allows people to subscribe to your feeds, and will even email your subscribers for you whenever you post new material to your blog. It doesn’t matter whether you post 1 or 100 new articles to your site in any given day – Feedburner will
- Top 10 WordPress Plugins - NOTE: This article is quite old. On 10th May 2009 I posted a new article with an update of what plugins I use. The article is Top 12 WordPress Plugins Here is my top 10 WordPress Plugins. I do use others, but these are the first ones I install when I setup a new WordPress site. 1.
- Activating Plugins in WordPress - OK, hopefully you have uploaded the top 10 WordPress Plugins. The next step is to activate them so that your WordPress install is “using” them. Login to your WordPress Dashboard, and click on the link to the plugins page. When you get to that page, you should see your plugins listed. There are two things to notice here.
- WordPress Tutorial – Adding Similar Posts - Its a great idea to add similar posts to your WordPress sites, as it encourages site stickiness, as well as giving pages on your site an SEO boost. Not only is the page then linking to other related content on your site, but the pages it links to now have inbound links from relevant
- WordPress Template Hierarchy - WordPress template system is confusing for those new to WordPress. There is a simple hierarchy of templates that explains why some templates have certain files, while others do not. Bookmark on Delicious Digg this post Recommend on Facebook Buzz it up Buzz it up share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post






Hi,
Thank you for the instructions on how to install a widget. Here’s my problem: every time I install a video widget in my sidebar (I have 2) one of two things happen; if I install it on sidebar 1 it makes my blogroll disappear completely and no video shows up–save the title.
If I install it on sidebar 2 it shows up on my “about” me page and half of a video at that.
I’m at a complete loss. Help!
~Derrick