danatiber
Member
Posted 2 years ago #
hello- i put an image in my text widget, but now i want to add a link to it - how is this done?
this is the code i put in the widget:
'<img src="http://www.sigidi.com/wp-content/uploads/2010/02/כפתור1-copy-copy.png" width="220"/>'
the site is http://www.sigidi.com
Just wrap the image in an anchor tag like you would any other link. For example:
<a href="http://www.sigidi.com/"><img src="http://www.sigidi.com/wp-content/uploads/2010/02/כפתור1-copy-copy.png" width="220"/></a>
danatiber
Member
Posted 2 years ago #
thanks - but how can i link it to a page??
to a page in your WP install? They all have permalinks....use the same code, but with the permalink to that page
<a href="http://www.sigidi.com/permalink/goes/here"><img src="http://www.sigidi.com/wp-content/uploads/2010/02/כפתור1-copy-copy.png" width="220"/></a>