How can I make the image widget on sidebar open a URL in new window?
-
I would like the link URL on the image widget on the side bar to open in a new window. Is this possible? Thank you!
Blog url: http://travelwhiz.wordpress.com/ -
That’s not an option in the image widget, but you could insert an image in a text widget using html and add target=”_blank” to the img tag similar to this:
<img src="LINK_URL" target="_blank" /> -
Thank you for the tip, expect I’m not very familiar with html…what is wrong with the following:
-
The code you pasted is the code to display the image, you need to put around it the code for the link itself, and this is the one that will get the target=”_blank” parameter:
- The topic ‘How can I make the image widget on sidebar open a URL in new window?’ is closed to new replies.