Forums

What is proper syntax for the title_li parameter for wp_list_bookmarks? (8 posts)

  1. rwt
    Member
    Posted 5 years ago #

    I don't believe the codex is correct in its syntax for the wp_list_bookmarks template tag. I have been unable to get the title_li parameter to function correctly with this tag. Either the codex is wrong or the code supporting the tag is incorrect. Anyone been able to use the title_li parameter with this tag and get it to work?

  2. itswoody
    Member
    Posted 5 years ago #

    I came upon exactly the same problem today, what a coincidence! I've tried everything and it simply doesn't work... any help appreciated!

  3. Otto
    Tech Ninja
    Posted 5 years ago #

    The title_li parameter will only work with categorize=0.

  4. itswoody
    Member
    Posted 5 years ago #

    Wow! Thanks for that, working as expected now!! I did see this:

    http://trac.wordpress.org/ticket/3664

    which gives me the impression that there is a bug that will be fixed shortly?

  5. Otto
    Tech Ninja
    Posted 5 years ago #

    Yes, wp_list_bookmarks() is not problem free. There will be changes to it in 2.1.1 (which won't be out until April, I think).

  6. itswoody
    Member
    Posted 5 years ago #

    Thanks Otto.

    For the benefit of rwt above, to get this working I applied the fix available at the above link and added the categorize=0 argument. Now I've run in to another problem however, when I add images to my bookmarks it no longer displays the text! Oh well...

  7. Otto
    Tech Ninja
    Posted 5 years ago #

    Add show_images=0 to the wp_list_bookmarks arguments.

  8. Michael
    Member
    Posted 5 years ago #

    http://trac.wordpress.org/ticket/3664

    yep, that was the bug that was killin me.

    documentation actually reflecting functionality, ftw!

Topic Closed

This topic has been closed to new replies.

About this Topic