I am trying to add a picture link to the sidebar by adding code. How can I do this? I only see an option to put in a text link and only list the website address that I am trying to link to.
I am trying to add a picture link to the sidebar by adding code. How can I do this? I only see an option to put in a text link and only list the website address that I am trying to link to.
Add a "text" widget and write the html code to display your image.
Example image without clickable link:
<img src="http://www.mysite.com/images/sample.jpg" alt="" width="125" height="125" />
Example image with clickable link:
<img src="http://www.mysite.com/images/sample.jpg" alt="" width="125" height="125" border="0" />
For help with understanding widget, see http://codex.wordpress.org/WordPress_Widgets
Oops, the above post did not appear right. Let me try that again.
Add a "text" widget and write the html code to display your image.
Example image without clickable link:
<img src="http://www.mysite.com/images/sample.jpg" alt="" width="125" height="125" />
Example image with clickable link:
<a href="http://mysite.com"><img src="http://www.mysite.com/images/sample.jpg" alt="" width="125" height="125" border="0" /></a>
For help with understanding widget, see http://codex.wordpress.org/WordPress_Widgets
This topic has been closed to new replies.