Open Sidebar Image Links in New Tab?
You upload the image, click File URL, insert it, then click on the image (in the visual editor), click on the edit button (mountain icon), click “Advanced Settings”, scroll down to “Target”, tick “Open link in a new window”, click Update, click Update Post.
Or, you upload the image, click File URL, insert it, then in the html editor add this to the image code (after href… etc… jpg, with a space before it):
In the html editor (as well as in text widgets), instead of this:
<a href="URL HERE">TEXT HERE</a>
you write this:
<a href="URL HERE" target="_blank">TEXT HERE</a>
Thanks for your advice, timethief, but unfortunately, that doesn’t seem to work in the sidebar image widgets–because they don’t have a place for html. The widget automatically converts the link url you type in into a hyperlink on the image you upload. So when I try to add the target=_”blank” bit, it nullifies the link because it can’t recognize the html.
Anyone know how to change this setting within the sidebar image widget? Or is there a way to edit existing sidebar images in the visual editor that I’m missing? Thanks!
You need a text widget. Codes here:
The topic ‘Open Sidebar Image Links in New Tab?’ is closed to new replies.