Forums

How do I stop blogroll category titles from appearing above links on sidebar? (7 posts)

  1. scottinjapan
    Member
    Posted 5 years ago #

    http://www.scottinjapan.com

    I'm new to WordPress, using version 2.1, and I'm trying to setup my blog using the mesozoic theme.

    The original settings (code) for the blogroll in sidebar.php ( <?php wp_get_links(1); ?> ) didn't end up showing any of my blogroll links, so I replaced it with ( <?php get_links_list(); ?> ). Not sure why the original code didn't show my links...

    The links show up now, but with the name of whatever category they are posted under right on top of the link (see the 'Friends' label above my one Blogroll link). I dont want this text to show up, at all (I have an image that says 'Blogroll', that's enough).

    How do I get rid of it?

    Thanks for your time, I've tried everything and gone through all the files with no luck...

  2. dewknight
    Member
    Posted 5 years ago #

    It's a really annoying change that they made. Just replace that links code with get_links();

  3. scottinjapan
    Member
    Posted 5 years ago #

    Thanks for your reply. When I add that code it gets rid of the category text, but adds the description for each link on every line and removes the bullet (li) graphics. Bah.

  4. dojan
    Member
    Posted 5 years ago #

    I want to ged rid of it too, It was easy before. You just left the space empty in dashboard under link categories. What to do now. It's messing up the entire design.

  5. Otto
    Tech Ninja
    Posted 5 years ago #

    wp_get_links(X) will still work. It's just that your link category of "1" is likely not the same category number anymore.

    Go to Manage->Categories and find out what the category number of your Blogroll category is. Then change the number you're passing to wp_get_links().

  6. scottinjapan
    Member
    Posted 5 years ago #

    thanks, I'll try that.

  7. timjamz
    Member
    Posted 5 years ago #

    Otto42 nailed it - good call.

    Change your sidebar.php file's blogroll reference to point to the correct ID number, which you can find from the WP management interface > Manage > Categories.

    Thanks!
    Tim

Topic Closed

This topic has been closed to new replies.

About this Topic