Ticket #7847 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Allow wp_list_bookmarks() to show images AND names

Reported by: Otto42 Owned by: anonymous
Priority: high Milestone: 2.7
Component: General Version:
Severity: normal Keywords: has-patch
Cc:

Description

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

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

Change History

Otto424 years ago

Add show_name option to wp_list_bookmarks capabilities.

  • Keywords has-patch added

comment:2   ryan4 years ago

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

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

Note: See TracTickets for help on using tickets.