How To Display Blogroll in Wordpress 2.1

January 25, 2007 by Josh · 2 Comments
Filed under: Tech 

If your current theme is spitting out nonsense such as placing your links outside the actual sidebar after upgrading to Wordpress 2.1 You may need to replace the code that calls for the links. Below I have the code you see running on the sidebar to the right. The only downside is that it places a bullet point to the left of the category, but I will make do until I have time to find a more elegant solution.

In your wordpress administration menu choose presentation

Then choose Theme Editor

Choose Sidebar

Look through for the current code it will have ‘cat’ somewhere in the right code. You can also look at what is below or above it on your sidebar for example, is it in between some google ads and your gamertag.

Replace your code with the following.

<li class=”widget”>
<ul>
<?php get_links_list(’id’); ?>
</ul>
</li>

Enjoy, If you have a more elegant solution please post it in the comments.



Comments

2 Responses to “How To Display Blogroll in Wordpress 2.1”
  1. ARTiFactor says:

    I, too, had my blogroll pushed out of the sidebar. I am too chicken to change code but switched back to the default theme.
    In looking at the CSS code for the main style sheet I think I found how to get rid of your bullets. The code was something like:
    /* Begin Lists

    Special stylized non-IE bullets
    Do not work in Internet Explorer, which merely default to normal bullets. */
    .postmetadata ul, .postmetadata li {
    display: inline;
    list-style-type: none;
    list-style-image: none;
    }

  2. Josh says:

    Thanks, for the tip. I will try it out this weekend!

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!