• Resolved bonnerl17

    (@bonnerl17)


    How do I make wp_list_bookmaarks to JUST list the bookmarks and exclude the title of categories and not put the links in a

      then an

    • .
Viewing 5 replies - 1 through 5 (of 5 total)
  • Check out the Codex article wp_list_bookmarks and the parameters, categorize, title_li, before, and after.

    I’m having the same trouble, having just upgraded, but the article you referenced is particularly unclear about formatting the title_li so that no titles appear. In the paragraph concerning that feature it’s shown several different ways [ ‘__(‘Bookmarks’)’ / (the __(”) / (”) ] but there’s no actual examples to show it being used without category title headings. There’s also mention of having to use it with the “categorize” function but that, too, is vague. I’ve tried it several different ways and it continues to always display the category heading, and not only that but it shoves it outside of my sidebar. It would be very useful if an example could be shown on how to use that function. Thanks, J

    Okay, I came up with a solution after much tinkering that works for me, at least. You need to put it inside the <ul> and </ul> tags in order to remove the leading bullets, though I’m not sure if that may be because of how my CSS is set.

    Here’s the code that displays “JUST the bookmarks” with no title or bullets:

      <?php wp_list_bookmarks(‘category=105&title_before=0&title_after=0&categorize=0&title_li’); ?>

    Obviously you’ll replace # 105 with the appropriate category you want to display.

    Thread Starter bonnerl17

    (@bonnerl17)

    sweetness. thanks for your help.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    You don’t use a zero to clear the text items, you should use nothing at all. So, the above is incorrect and it should be this:

    wp_list_bookmarks('category=105&title_before=&title_after=&categorize=0&title_li=');

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wp_list_bookmarks’ is closed to new replies.