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?
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.
Anonymous
Unregistered
Posted 3 years ago #
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.