Forums

[resolved] My links are showing up twice in the sidebar (4 posts)

  1. Anonymous
    Unregistered
    Posted 3 years ago #

    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?

  2. Xamataca
    Member
    Posted 3 years ago #

    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.

  3. Anonymous
    Unregistered
    Posted 3 years ago #

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

  4. Xamataca
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags