The purpose of this plugin is to add the ability to output a list of link categories and a complete list of links with notes and descriptions.
This plugin is used to be able to create a page on your web site that will contain a list of all of the link categories that you have defined inside of the Links section of the WordPress administration, along with all links defined in these categories. The user can select a sub-set of categories to be displayed or not displayed. Link Library also offers a mode where only one category is shown at a time, using AJAX or HTML Get queries to load other categories based on user input. It can display a search box and find results based on queries. It can also display a form to accept user submissions and allow the site administrator to moderate them before listing the new entries. Finally, it can generate an RSS feed for your link collection so that people can be aware of additions to your link library.
You can try it out in a temporary copy of WordPress here.
For links that carry RSS feed information, Link Library can display a preview of the latest feed items inline with the all links or in a separate preview window.
This plugin uses the filter method to add contents to the pages. It also contains a configuration page under the admin tools to be able to configure all outputs. This page allows for an unlimited number of different configurations to be created to display links on different pages of a WordPress site.
For screenshots showing how to achieve these results, check out my site
All pages are generated using different configurations all managed by Link Library. Link Library is compatible with the Simple Custom Post Order plugin to define category and link ordering.
To get a basic Link Library list showing on one of your WordPress pages:
1. In the WordPress Admin, create a new page and type the following text, where # should be replaced by the Settings Set number:
[link-library settings=#]
To add a list of categories to jump to a certain point in the list, add the following text to your page:
[link-library-cats settings=#]
To add a search box to your Link Library list, add the following text to your page:
[link-library-search]
To add a form for users to be able to submit new links:
[link-library-addlink settings=#]
In addition to specifying a library, categories to be displayed can be specified using addition keywords. Read the FAQ for more information on this topic.
Further configuration is available under the Link Library Settings panel.
Visit the official documentation for Link Library
The category IDs are numeric IDs. You can find them by going to the page to see and edit link categories, then placing your mouse over a category and seeing its numeric ID in the link that is associated with that name.
If you want all of your link pages to have the same layout, create a single setting set, then specify the category to be displayed when you add the short code to each page. For example: [link-library categorylistoverride=”28″]
If the different pages have different styles for different categories, then you should create distinct setting sets for each page and set the categories to be displayed in the “Categories to be Displayed” field in the admin panel.
When using this option, the short code [link-library-addlinkcustommsg] should be placed on the destination page.
To override the settings specified inside of the plugin settings page, the two commands can be called with options. Here is the syntax to call these options:
[link-library-cats categorylistoverride=”28″]
Overrides the list of categories to be displayed in the category list
[link-library-cats excludecategoryoverride=”28″]
Overrides the list of categories to be excluded in the category list
[link-library categorylistoverride=”28″]
Overrides the list of categories to be displayed in the link list
[link-library excludecategoryoverride=”28″]
Overrides the list of categories to be excluded in the link list
[link-library notesoverride=0]
Set to 0 or 1 to display or not display link notes
[link-library descoverride=0]
Set to 0 or 1 to display or not display link descriptions
[link-library rssoverride=0]
Set to 0 or 1 to display or not display rss information
[link-library tableoverride=0]
Set to 0 or 1 to display links in an unordered list or a table.
For legacy users of Link Library (pre-1.0), it is still possible to call the back-end functions of the plugin from PHP code to display the contents of your library directly from a page template.
The main differences are that the function names have been changed to reflect the plugin name. However, the parameters are compatible with the previous function, with a few additions having been made. Also, it is important to note that the function does not output the Link Library content by themselves as they did. You now need to print the return value of these functions, which can be simply done with the echo command. Finally, it is possible to call these PHP functions with a single argument (‘AdminSettings1’, ‘AdminSettings2’, ‘AdminSettings3’, ‘AdminSettings4’ or ‘AdminSettings5’) so that the settings defined in the Admin section are used.
Here would be the installation procedure:
Use the following functions in a new template and select this template for your page that should display your Link Library.
<?php echo $my_link_library_plugin->LinkLibraryCategories(‘name’, 1, 100, 3, 1, 0, ”, ”, ”, false, ”, ”); ?>
<br />
<?php echo $my_link_library_plugin->LinkLibrary(‘name’, 1, 1, 1, 1, 0, 0, ”, 0, 0, 1, 1, ‘<td>’, ‘</td>’, 1, ”, ‘<tr>’, ‘</tr>’, ‘<td>’, ‘</td>’, 1, ‘<td>’, ‘</td>’, 1, “Application”, “Description”, “Similar to”, 1, ”, ”, ”, false, ‘linklistcatname’, false, 0, null, null, null, false, false, false, false, ”, ”); ?>