• Resolved 748037

    I have 2 categories of links. One is called ‘links’ the other is ‘blogs’. In my sidebar.php if i do wp_list_bookmarks(‘category_name=blogs’) the blogs category links will show up twice in the sidebar. If i put both wp_list_bookmarks(‘category_name=blogs’) and wp_list_bookmarks(‘category_name=links’) the two categories of links show up twice. If i just use the standard default wp_list_bookmarks() everything is fine (they show only once). But why are the links showing up twice when I add a parameter to it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • http://codex.wordpress.org/wp_list_bookmarks

    category:
    (string) Comma separated list of numeric Category IDs to be displayed. If none is specified, all Categories with bookmarks are shown. Defaults to (all Categories).

    Example:
    wp_list_bookmarks('category=X&category_name=blogs')
    X = the category ID number you want to be displayed.

    Thread Starter 748037

    Thanks Xamataca but that didn’t solve the problem. The two different lists are still showing twice.

    Please, post the code you are using to list the bookmarks in your sidebar.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My links are showing up twice in the sidebar’ is closed to new replies.