Display your blogroll links with both text and images
Built for the sole purpose of displaying WordPress bookmark links that show both text and an attached icon. Utilizing the 'Links' tab ( WordPress 2.7 + up ), it is possible to display them as either a list of text links or a list of icon links but not both at the same time.
Enter PictureBook, a small plugin that provides the necessary code to list your bookmarks with both text and icons. An example use might be in the footer of a website that contains social bookmarking links, each link could show the name of the social media website and a small icon next to it just by entering your information into the WordPress' "Links" tab. Achieving this goal is possible with a little core manipulation but we thought it would be more productive to simply install a plugin and not worry about the next WordPress update.
The plugin code itself is just a re-functioning the current wp_list_bookmarks. By altering the link_image output to display the link_name, it becomes possible to achieve our desired effect. The biggest benefit of this plugin is that a user is allowed to display their bookmarks in three separate formats: text-only, image-only and a combination of both.
In the following example, we are using the standard WordPress wp_list_bookmarks formatting with a new function name wp_list_picturebook. All parameters associated with the original tag are functional. The code shown here will display a list of bookmarks with both text and images, no headline and only list those bookmarks from category 4. Because WordPress auto adds our line item tags (
Requires: 2.3 or higher
Compatible up to: 4.2.11
Last Updated: 2 years ago
Active Installs: 50+
Got something to say? Need help?