Here is something I get asked a lot – how can I add an image to my WordPress sidebar?
This video shows you how:
In the video, I’ll show you how to upload the widget using the WordPress Media Library, grab the URL for the uploaded image, and then use a WordPress Text Widget to display your image in the sidebar.
In this case I’m using the Expand2Web SmallBiz WordPress theme, but this tip will work with any WordPress theme that is widget enabled.
Here is the code snippet I used in the video for the sidebar widget:
<a href="#"><img src=" " /></a>
Just put the URL of your image in between the quotes of the image source tag.
Note: You should resize the image to the width of your sidebar before uploading. In this case the image is 200px wide. The width of the sidebar will depend on your WordPress theme.
See my disclosure about advertising and affiliate links