Remove Title from Blogroll

Posted on: December 2, 2009 by Chris Coyier

Typically when you use one of WordPress functions to output a list of “stuff” from WordPress, you can pass a parameter to eliminate the “title” that WordPress likes to put in there by default. For example, with wp_list_categories you pass along “title_li=” with nothing after the equals sign to remove the title that normally accompanies the output. With the function to output links (e.g. blogroll), you use the function wp_list_bookmarks, but unfortunately using that same parameter the same way is ineffective at removing the title.

Quick Fix

Pass the categorize parameter (blank) in addition to the title_li parameter (blank) and you’ll be set!

<?php wp_list_bookmarks("categorize=&title_li="); ?>
Thumb for Remove Title from Blogroll

Let's talk it out, folks.

  1. Jaap van der Heijden said on December 3, 2009:

    Thanx, this works good. Just what I was looking for.

    #1
  2. Exactly what I was looking for for http://jamesspratt.org but stil working on the full refit.

    Thanks

    #2
  3. This sounds like exactly what I want to do … remove the word “Blogroll” that is inserted above my links … however I need instructions more suited to a rank amateur.

    “Pass the categorize parameter (blank) in addition to the title_li parameter (blank) and you’ll be set!”

    I have no idea what that means. Could you give more explanation, such as where “” should be placed? (As you can see, I *can* copy and paste!)

    Thanks so much.

    #3
  4. Well, found an easier solution. I just put an empty Text widget where the word “Blogroll” was showing up and it’s gone.

    #4
  5. Judy, should you come back to this, “Pass the categorize parameter (blank) in addition to the title_li parameter (blank)” means not indicating anything after the = symbol in the code below:

    <?php wp_list_bookmarks("categorize=&title_li="); ?>

    All that appears there is the closing "

    #5

Comments are closed. If you have something really important to add, contact us. Thank you!