Image Widget URL Linking Question

  • Unknown's avatar

    Hi. I put an image widget in my sidebar and made it a link to another website. However, I want it to open in a new window, and I can’t figure out how to have that happen. Is this possible with an image widget? Any suggestions for what to do if it isn’t? We don’t really want people going to that other website and not coming back.
    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    http://en.support.wordpress.com/links/#visual-editor-links

    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>

  • Unknown's avatar

    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):
    target=”_blank”

  • Unknown's avatar

    Ok, thanks for your help. I took a look, and I guess my next question is, how do I access the html editor for a widget? I can’t see any way to do that. I know how to do all this in a post or page, but how to see the html for a widget – I’m clueless. Did I mention this is wordpress.com, not .net?
    Thanks.

  • Unknown's avatar

    Clickable images in Image widgets can’t be made to open in a new window. you need a Text widget instead. Coding here:

    Codes useful for text widgets

  • The topic ‘Image Widget URL Linking Question’ is closed to new replies.