Adding a simple RSS icon to the sidebar

If you are using FeedBurner to process your RSS feed, then you can also use FeedBurner’s icon on your toolbar to link to the feed page.

This is useful, as not all visitors are aware of the RSS options in their browser, especially those browsers that do not automatically show when a feed is available.

To add the orange RSS icon for your feed, first log into WordPress with an administrator account.

1. Select “Widgets” from the “Appearance” section on the sidebar.

Select Widgets on the sidebar

2. Now drag the “Text” widget onto the “Primary Widget Area”.

... into the Primary Widget Area

Drag the text widget...

3. Copy the following HTML code into the widget’s large field, changing the code highlighted in red to match your FeedBurner settings:

<div align="center"><table><tr><td><a
title="Subscribe to The DIY Blogger"
rel="alternate" type="application/rss+xml"><img
alt="" style="border:0"/></a>

4. The widget should now look something like this:

The HTML code in the widget

5. Click on “Save”.  Finished.

The RSS icon on the sidebar

OK, so this isn’t the most creative RSS feed icon, but it is a good start to make sure you get some subscribers.  The other disadvantage is that it is hosted on FeedBurner’s server, so it requires the browser to do a bit more work in order to load it.

In further posts I will look at other icons, where to find them and how to install them.

About Graham Tappenden

Graham Tappenden is a blogger from Germany. He has written code for WordPress themes since 2006 and been creating websites since 1994.
This entry was posted in TwentyTen and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *