WordPress.org

Ready to get started?Download WordPress

Forums

Link to blogroll from sidebar (4 posts)

  1. table4five
    Member
    Posted 7 years ago #

    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!

  2. adam-
    Member
    Posted 7 years ago #

    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

  3. table4five
    Member
    Posted 7 years ago #

    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? http://table4five.net/wp-admin/link-manager.php

  4. Tdude
    Member
    Posted 6 years ago #

    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:

    <?php
    /*
    Template Name: Links
    */
    ?>

    All the best,
    T

Topic Closed

This topic has been closed to new replies.

About this Topic