Watch this video to see how to add cool looking Twitter, YouTube and Facebook icons that link to your social media profiles to your WordPress Website sidebar.
Note: If you are using the SmallBiz WordPress Theme you can just drag the Social Media Widget to your sidebar and bypass the rest of this tutorial. See this tutorial in the User Guide for more details.
The steps that show adding widgets to your sidebar in this video will work with any Widget-enabled WordPress Theme.
Here is the code
Just copy this code and paste it into a WordPress Text Widget. Then replace the # in the hrefs with links to your social media profiles like I show in the video:
<br> <p align="center"><a href="#" target="_blank"><img src="./wp-content/themes/smallbiz/images/twitter_link.gif" class="frame" alt="Expand2Web Twitter Feed"/></a></p> <p align="center"><a href="#" target="_blank"><img src="./wp-content/themes/smallbiz/images/youtube_link.gif" class="frame" alt="Expand2Web YouTube Link"/></a></p> <p align="center"><a href="#" target="_blank"><img src="./wp-content/themes/smallbiz/images/facebook_link.gif" class="frame" alt="Expand2Web Facebook Link"/></a></p> <p align="center">I hope you'll join the conversation with us!</p>
A note on the images
Depending on where you have your WordPress installed, the image icons might break when you navigate to sub directories. This is because I can’t predict whether your WordPress install is in the root of your domain or in a sub directory.
But it’s an easy fix though. All you have to do is replace the relative image path:
img src="./wp-content/themes/smallbiz/images/twitter_link.gif
with an absolute one like this:
img src="http://www.localsearchtips.com/smallbizdemo/wp-content/themes/smallbiz/images/twitter_link.gif
Notice how I replaced the . at the beginning of the image path with the complete URL of where your WordPress is installed.
Here are the icons
If you are not using my SmallBiz WordPress Theme then you will need to upload the images to WordPress yourself. I’ve included them below in case you need them. Just right click and Save them to your desktop, then upload to your WordPress media area.




Note: The SmallBiz Theme allows you to set different sidebars per page. This video tutorial shows you how to do that.
Let me know what you think in the comments below – I’d love to hear from you!
If you enjoyed this article, get email updates (it's free).
See my disclosure about advertising and affiliate links






{ 65 comments… read them below or add one }
← Previous Comments
Thank you so much for your help, I very much appreciate it!
I have added the icons successfully using my own pictures. The only problem is that they wont move next to each other. I have tried to change the position but it doesnt seem to work. Any ideas?
Many thanks.
Awesome post!! very helpful, thanks so much.
I found your tutorial site after I already purchased another theme. (darn) I am attempting to add these social media buttons, but even after I saved the gif images to my media section, I don’t seem to know how to connect them. Can you help? Thanks
Hi Rebecca,
After you’ve uploaded the images to your media library in WordPress, all you have to do is get the direct URL to the image. This video shows you how to do that: How to add an image to your WordPress sidebar.
Thanks for the previous help. Now can you explain why the twitter, facebook pics are only showing up on the home page? The other pages have the connect with us part and then broken images…
Sure Rebecca. Make sure to read the last part of this post and reference your images with absolute URLs rather than relative URLs. That should fix the problem you are seeing.
I am using the Social media icons you provided for facebook, twitter, and linkedin on my webpage. Where can I find similar styles for stumbleupon?
There are so many icons on the internet…I wanted to keep the same theme as the social media icons you provided at:
http://www.expand2web.com/blog/add-social-media-icons-wordpress-website/
Nice post, works great have a look at my site trying to find google + image same style.
← Previous Comments
{ 1 trackback }