Support » Fixing WordPress » Link to blogroll from sidebar

  • My blog is Table for Five, and I have the 3K2 theme. I have a page on my Dashboard called “Blogroll”, and I’ve been adding links to it, but now what? I’d like to put it on my sidebar, which I assume I do in a text widget (I do have widgets enabled), but I don’t know what the code is. I’ve looked around the forums and done some Google searches, and I must be asking too easy of a question because I can’t even find an answer!

    I should specify that I’m looking to do one of two things: create a new page called “Blogroll”, transfer all the links to it and then link to it from the sidebar, or figure out how to link to that Dashboard Blogroll page itself. I hope this makes sense to someone!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could probably cheat by creating a new page -> putting all the links in -> adding a new link in the blog roll, which is just a link to the page on your site you’ve just created.

    Oh and then delete all the blog roll links you’ve now transferred I guess..


    Adam, I see what you are saying. I know this is a total newbie question, but how do I get the URL for the page I create?

    Do I put this code into a piece of HTML in a text widget?

    Noo… Try this if you’re on an IIS with “not particularly friendly” urls:
    <a href="<?php bloginfo('siteurl');?>/index.php/links/">My Blogroll</a>

    Or this if you’re on a real server:
    <a href="<?php bloginfo('siteurl');?>/links/">My friendly link</a>

    You can change the name “links” to specify any page with a “Template name”

    Example template name for the Blogroll (or links.php) above:

    Template Name: Links

    All the best,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link to blogroll from sidebar’ is closed to new replies.