[resolved] need category #s for wp_list_bookmarks (3 posts)

  1. chutney
    Posted 6 years ago #

    I've got <?php wp_list_bookmarks('category=1'); ?> running in my sidebar but it doesn't supply anything.

    I'm guessing it's one of two things. (1) I don't have the category number right. I only have two categories, so I can only assume that "1" will work in the code. But how do I make sure I've got the numbers right?

    Or (2) I've got the code wrong. Isn't this the code I would use to list the links under my first category as list items?

  2. Your category number is almost certainly wrong.

    Go to the Manage->Link Categories screen and hover over the category to find its URL and therefore its ID number.

  3. chutney
    Posted 6 years ago #

    The mouse over did it. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic