WordPress.org

Support

Support » Themes and Templates » [Resolved] [Help] TwnetyTen Church – Sidebar Text Widget Problem

[Resolved] [Help] TwnetyTen Church – Sidebar Text Widget Problem

  • Hello,
    I have been using TwentyTen Child Theme – TwentyTen Church for my website. The problem I have faced so far is that when I add a text widget and enter some text or add any image linking to external source, it wraps with the site’s link.

    For example;

    I entered the text “Find me on facebook” and linked it like below.

    <a title="Find Us" target="_blank" href="www.facebook.com/xxxxxxxxx">Find me on facebook</a>

    Then I saved it and clicked to test it. But I was directed to,
    http://prefects.bandaranayakecollege.org/www.facebook.com/xxxxxxxxx

    not to www.facebook.com/xxxxxxxxx. Why does this happen? Any solution will be appreciated.

    Thank you.
    Anuradha

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Michael

    @alchymyth

    Forum Moderator

    this is what the browser sees in the textwidget:
    <a title="Find Us" target="_blank" href="bandaranayakecollege"><img src="http://prefects.bandaranayakecollege.org/wp-content/uploads/2011/07/fb-find.png" /></a>
    double check it and insert the intended link.

    Sorry, my bad. Even if I put that code, it directs me to prefects.bandaranayakecollege.org/bandaranayakecollege not to bandaranayakecollege.

    I corrected it now. The text, “Find me on facebook” is replaced with the image.

    <a title="Find Us" target="_blank" href="www.facebook.com/bandaranayakecollege"><img src="http://prefects.bandaranayakecollege.org/wp-content/uploads/2011/07/fb-find.png"/></a>

    Something is wrapping the code it put there. I can’t figure out why that happens.

    Moderator Michael

    @alchymyth

    Forum Moderator

    try and use http:// with all absolute link urls;

    i.e.:

    <a title="Find Us" target="_blank" href="http://www.facebook.com/bandaranayakecollege"><img src="http://prefects.bandaranayakecollege.org/wp-content/uploads/2011/07/fb-find.png"/></a>

    Now it works. Thank you very much.

    Hi, I am new to HTML and have followed the instructions in the text widget for placing an image– here is the code:

    <img src=”http://www.mywebsite.org/wp-content/uploads/USMS-Logo-FINAL-tm.jpg” width=”200″ />

    Now I would like to link that image to another website, opening in a separate window. I have searched these forums before asking, but being new to HTML, I didn’t understand some of the responses. One responder said to look it up on W3 School, but I was lost there too. Any help is appreciated.

    <a title="your-website-name" target="_blank" href="your-website-url"><img src="http://www.mywebsite.org/wp-content/uploads/USMS-Logo-FINAL-tm.jpg" width="200" /></a>

    Copy and paste this in text widget and rename “your-website-name” and “your-website-url” to relevant name and url.

    Thank you very much! This worked great.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Help] TwnetyTen Church – Sidebar Text Widget Problem’ is closed to new replies.