WordPress.org

Ready to get started?Download WordPress

Forums

How to get blogroll? (2 posts)

  1. brettr
    Member
    Posted 6 years ago #

    I'd like to display the blogroll and another Links category I've created named Links. "Links" has always displayed in the sidebar. It doesn't matter what category my links are in, they will also display. When I view sidebar.php, it looks like this:

    <li>
        <h2 class="sidebartitle"><?php _e('Links'); ?></h2>
        <ul class="list-blogroll">
          <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?>
            </ul>
      </li>

    Here's my blog: http://www.cygen.com/simpledeploy/blog/ and I'm using this theme: http://www.templatesbrowser.com/wordpress-themes/demo/index.php?wptheme=GlossyBlue+-+Advanced.

    I'd like "Links" and "Blogroll" to appear in the sidebar with their respective entries. Do you have any suggestions on how that can be done?

  2. asfodel
    Member
    Posted 6 years ago #

    You can just create a list of links manually. (I always go for the low-tech solution, someone else will probably offer a more sophisticated option.) :)

    <h2><?php _e('Blogroll'); ?></h2>
    			<ul>
    <a href="http://linkurl">Link</a><br>
    <a href="http://linkurl">Link2</a><br>
    <a href="http://linkurl">Link3</a><br>
    </ul>

    There's no limit to how many different sets of links you can make.

    (It won't work if you change themes though.)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.