Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#7847 closed enhancement (fixed)

Allow wp_list_bookmarks() to show images AND names

Reported by: otto42's profile Otto42 Owned by:
Milestone: 2.7 Priority: high
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:


wp_list_bookmarks has a fairly serious shortcoming in that it cannot display both the image and the name of a given Link item, only one or the other. This is rather annoying when I want to show icons along with a name, like when showing links to other profiles of mine on various services (flickr, facebook, twitter, etc).

It would be nice if showing the name was an option, just as showing the images is. To this end, I added a "show_name" option to the _walk_bookmarks function, which functions similarly to the show_images option.

Patch attached.

Attachments (1)

bookmark-name.diff (1.3 KB) - added by Otto42 16 years ago.
Add show_name option to wp_list_bookmarks capabilities.

Download all attachments as: .zip

Change History (3)

16 years ago

Add show_name option to wp_list_bookmarks capabilities.

#1 @Otto42
16 years ago

  • Keywords has-patch added

#2 @ryan
16 years ago

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

(In [9139]) Add show_name to wp_list_bookmarks(). Props Otto42. fixes #7847

Note: See TracTickets for help on using tickets.