BookMaster is our answer to what we feel is an odd issue with the WordPress wp_list_bookmarks tag. For those that have exercised the use of wp_list_bookmarks, you are well aware that it is not possible to use the bookmark category title alone without calling on the bookmarks themselves. This is, of course, with the exception of excluding all bookmark categories and this can be painful if there are a lot of them.
With the introduction of BookMaster, we have resolved this small issue. The plugin allows you to place a bookmark category title anywhere you want without showing the bookmark links. This presents the administrator with the option of changing the bookmarks title using the bookmarks menu which will auto change the bookmark title within the code. Using this plugin will prevent the unnecessary need to alter template files.
In the example below we are displaying only the title of bookmark category 3 within an h1 style tag. We can now alter this information from the bookmarks admin panel simply by changing the bookmark category name. Displaying directly below the title the bookmarks from Category 7 will print in an unordered list.
While not the most effective use of this plugin the example utilized below is for educational purposes.
<h1><?php wp_list_bookmaster('category=3'); ?></h1>
<ul><?php wp_list_bookmarks('categorize=0&category=7'); ?></ul>
- Download the plugin and expand it.
- Copy the bookmaster folder into your plugins folder ( wp-content/plugins ).
- Log-in to the WordPress administration panel and visit the Plugins page.
- Locate the BookMaster plugin and click on the activate link.
- Insert the example code wherever you would like to show a bookmark category title.