Make WordPress Core

Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#6046 closed defect (bug) (wontfix)

wp_list_bookmarks not honoring title_li

Reported by: anthonycole's profile anthonycole Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Template Keywords:
Focuses: Cc:

Description

I had this problem a few months ago and thought it might be some misconfiguration somewhere on my part, but someone else just tipped me off on it and I reconfirmed it. wp_list_bookmarks will NOT honor title_li whatsoever. I'm not sure what's going on exactly.

Change History (5)

#1 @anthonycole
17 years ago

Apparently <?php wp_list_bookmarks('categorize=0&title_li=Title'); ?> works. But that's only if you pass categorize=0 through it as well. Should it be that way?

#2 @anthonycole
17 years ago

I'm not sure what to make of this. I've been talking to a few people and it could be argued both ways. I think it's more or less a lack of documentation that started this whole thing.

According to DD32 in #wordpress-dev, the default is to organise it into categories, In that case, it uses the category names as the title. If you set categorize to 0 then it doesnt categorize the results, and uses title_li instead for the title.

So essentially if I'm understanding this right, for those of us who have 1 set of links, it's really frustrating. Those with multiple categories will find it convenient.

I think the best approach would be to reorganize/tidy things up a bit here.

#3 @Denis-de-Bernardy
16 years ago

  • Component changed from General to Template

#4 @thee17
16 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

I think this should be a wontfix. It is now documented in the codex, and if you are only using 1 category, then it is just as simple to change the category name in the admin, or choose categorize=0 in the tag.

#5 @thee17
16 years ago

  • Milestone 2.9 deleted
Note: See TracTickets for help on using tickets.