There is probably more than one way to do this, but I know this way has worked for me. This process will work for Blogger or WordPress, although in WordPress you have the option of using a plugin instead. You’ll need access to your blogger dashboard and a text document of some kind to write the code in, e.g. a Word document.
Download your icons to your computer. There are lots of free sets out there. (Or I can make you a set like mine for a very small fee.)
Create a new blog post and upload your icons into it as if you were adding pictures to a post. Save it but don’t publish it. This is a way of storing your icons online where you can find them. You could also upload them to Photobucket or a similar site.
Copy the URL of each button and paste it into a text document so you can write our code with it. Writing the code in a text document first, then copying it and pasting it into blogger just makes it a little easier.
To find that URL, click on the image in your Blogger post. You should get this pop up:
Click on “Edit link” and you should see this:
Copy the link in the box next to Web Address. It will probably start with “http:” and end with the file name. Paste that into your text document so you have it for later. Do the same thing for each of your images.
Now you need to create the HTML code. This is the snippet you need for each of your buttons:
<a border=”0″ href=”URL to go to” target=”_blank”><img src=”where the image is” /></a>
See the parts in red? They are what you are going to change.
- URL to go to – is the link to the place you want people to go to when they click on your button. It might be your Facebook page, your Twitter profile, your store or your Flickr photostream. You can send them to any URL on the net.
- where the image is – this is the URL for your image online. We put your images in a Blogger post and copied the URL of each one in Step 3.
URL for my RSS feed: http://feeds.feedburner.com/FriendsWhoCook
URL for RSS image: http://3.bp.blogspot.com/-aswCOYTQgwc/Tkm4tyb6DVI/AAAAAAAACxc/p-I72JOnIc8/s1600/rss.png
So here’s the code with my URLs replacing the red bits:
<a border=”0″ href=”http://feeds.feedburner.com/FriendsWhoCook” target=”_blank”><img src=”http://3.bp.blogspot.com/-aswCOYTQgwc/Tkm4tyb6DVI/AAAAAAAACxc/p-I72JOnIc8/s1600/rss.png” /></a>
Do this for each of your buttons. You will end up with a block of code like this for each button.
EDIT: Check that your text program doesn’t change the URL’s into hyperlinks (you know, change them into links that you can click on and go to the page). If it does, then when you paste the code into Blogger it won’t like it. You might need to tell the document to save as “text only”, or right click on the links and “un-link” them. (Different text programs have different terms so have a look at the Help if you need to.)
- If you want the buttons centred in the column, add <center> at the start of the code and </center> at the end.
- You can create groups of buttons if you want to. For example, put the <center></center> codes around two of your buttons, and then again around the next two. You’ll end up with the two sets underneath each other.
- If you want a little space between the buttons, add some spaces at the end of the code like this:
- You can add text into that space, too. I’d recommend a space before and after the text so it doesn’t touch the buttons.