How do you embed links into the Text sidebar widget?

  • Author
    Posts
  • #25415

    hanso
    Member

    I tried using the generic html tags “[url=http://….]text[/url], but its not working, what am I supposed to do?

    #25652

    scrambled
    Member

    You’ll have to use HTML…

    TITLE OF LINK HERE

    More HTML help

    #25653

    engtech
    Member

    The HTML got converted in scrambled’s post so it isn’t clear how to do it.

    hanso: your problem is that you aren’t using HTML, you are trying to use bulletin board mark up code ([url=] is used on Wikis, and forums, but it isn’t HTML).

    You need to use the “A HREF” HTML tag to create links.

    http://www.w3schools.com/html/html_links.asp

    #25654

    scrambled
    Member

    Sorry about that. I was using the code tag, but it didn’t seem to work… How exactly do you show HTML in a post?

    #25658

    hanso
    Member

    Hmm, thanks, ok I’ve got the links working. However, I have a problem. The text is bigger than all the other sidebar widgets, it looks incongruent and awkward. Whats the font size of the text in the other sidebar widgets, and how do I shrink it?

    #25666

    engtech
    Member

    scrambled: Wish I knew, I thought it would be CODE, but that doesn’t seem to do it.

    Testing HTML this should be unlinked text

    hanso:

    Try putting [p][a href=””][/p], I’ve had that work for me before.

    #25670

    hanso
    Member

    What, for the font? What font number should I use?

    #25671

    engtech
    Member

    No, not for the font number. I was thinking it might be a CSS issue.

    Hanso, could you post the address of the blog you are trying this with?

    #25673

    hanso
    Member

    http://azandi.wordpress.com/

    The categories section isn’t the categories widget, I fashioned it through the text widget, thus it looks bigger than all the others.

    #25674

    engtech
    Member

    You’re running to a CSS issue with the theme you are using.

    Try putting an unordered list around the categories [ul][li][/li][/ul]

    This is what it should look like, but with greater-than/less-than instead of square brackets:

    [ul][li]
    [a href=”http://azandi.wordpress.com/tag/general/”]
    General[/a]
    [/li]

    [li]
    [a href=”http://azandi.wordpress.com/tag/the-daily-intrigue/”]
    The Daily Intrigue[/a]
    [/li]

    [li]
    [a href=”http://azandi.wordpress.com/tag/political-rants/”]
    Political Rants[/a]
    [/li]

    [li]
    [a href=”http://azandi.wordpress.com/tag/reviews/”]
    Reviews[/a]
    [/li]
    [/ul]

    #25677

    hanso
    Member

    Ok, so all I have to do is copy and paste that into the Text widget and replace all the brackets with “<” and “>”?

    #25678

    engtech
    Member

    Yes.

    What happens is there’s this stuff called CSS that redefines how all of the HTML tags look like. So by adding the LI tags you are going to make the HTML code the same as in your Recent Posts box, so they should display the same.

    #25682

    hanso
    Member

    Ahh, just got back from shower, tried it, success! Thanks a LOT man, I really appreciate it. :)

    #25956

    shashiingale
    Member

    simple solution is
    Whatever you want to be in widget, just type that in your regular post and then click on html tab and get the html code. just copy it and paste it in your text widget…

The topic ‘How do you embed links into the Text sidebar widget?’ is closed to new replies.