Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#6046 closed defect (bug) (wontfix)

wp_list_bookmarks not honoring title_li

Reported by: anthonycole Owned by: anonymous
Priority: normal Milestone:
Component: Template Version:
Severity: normal Keywords:
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)

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?

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.

  • Component changed from General to Template
  • 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.

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