• Resolved plaisir

    (@plaisir)


    Hello,

    Here’s our blog address – http://www.plaisirblog.com.

    As you can see, we’re brand new to wordpress and can’t get hyperlinks to work in any of our widgets. To create a hyperlinked image, the instructions for our theme say to include this code in a text widget:

    <a style=”float:left;margin-right:6px;” href=”http://sponsorlink.com” target=”_blank”><img src=”http://mysite.com/myimage.jpg” /></a>

    so this is what we’ve done:

    <a style=”float:left;margin-right:6px;” href=”http://plaisirshop.co.uk/faq” target=”_blank”><img src="http://farm6.static.flickr.com/5051/5392207739_d4af8f9c1e_m.jpg" width="240" height="75" alt="hold dear box 2" /></a>

    The correct image (the “What We Hold Dear” box) appears, but when we click on it we get this:

    404 Error File Not Found
    The page you are looking for might have been removed,
    had its name changed, or is temporarily unavailable.

    * If you typed in the URL, please check the spelling
    * You can try to click the Back button and try another link

    When we get this error, this is the address in our browser:

    http://www.plaisirblog.com/"http://plaisirshop.co.uk/faq"

    To our untrained eyes, it looks like it’s adding the target address onto the address of our blog and trying to find that, so maybe it’s no wonder it’s not working. Could this be something to do with permalinks? Have we messed up the settings somewhere, or is it to do with the code for our new theme?

    Thanks for your help!

    Clare

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your link markup contains what appears to be styled (fancy) quote marks. Either type the markup directly into the text widget or into a plain text editor for later pasting.

    Thread Starter plaisir

    (@plaisir)

    Esmi, you’re a star! Works perfectly now – we were racking our brains thinking it must be something complicated. We’d simply copied the code straight from the instructions and a fancy bit of font got left over. Thank you so much!

    Clare

    No problem 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hyperlink in text widget gets added on to blog address?’ is closed to new replies.