Support » Themes and Templates » need category #s for wp_list_bookmarks

  • Resolved chutney


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    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.



    The mouse over did it. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘need category #s for wp_list_bookmarks’ is closed to new replies.