[wp-testers] wp_list_bookmarks() not behaving for me

Peter Westwood peter.westwood at ftwr.co.uk
Wed Sep 27 13:54:37 GMT 2006


Joefish wrote:
> On 9/27/06, Yosemite <yosemite at samdevol.com> wrote:
>> I have 7 links under 2 categories, Federal (cat=136) and Local(cat=137).
>> Using the following:
>> wp_list_bookmarks('categorize=1&category=136&before=<li>&after=</li>&show_images=0&show_description=1&orderby=name&title_li=""'); 
>>
>>
>> Gives me 2 lists, one titled Federal followed by my 4 Federal links, the
>> next titled Local with the 3 corresponding local links.
>>
>> If I use category_name=federal  instead of category=136:
>> wp_list_bookmarks('categorize=1&category_name=federal&before=<li>&after=</li>&show_images=0&show_description=1&orderby=name&title_li=""'); 
>>
>>
>> I get the same results, 2 lists, 1 titled Federal with the federal links
>> and one titled Local with the FEDERAL links. If I use both
>> category_name=federal and category=136 I get the same results as just
>> using category_name=federal. Using categorize=0 doesn't print anything
>> on my page. title_li seems to be ignored...
>>
>
> I've asked about this before. I got no response. I don't think that
> feature is complete yet.
>

Looking at the code in wp-includes/bookmark-template.php for 
wp_list_bookmarks agrees with the fact that most of it is not yet 
implemented. ( As does the codex page).

The relavent trac ticket is 2587

I will look into implementing some more of this functionality

westi
--
http://blog.ftwr.co.uk




More information about the wp-testers mailing list