Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Link Library

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.

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.

You can see a few examples of pages using Link Library on my personal site:

For screenshots showing how to achieve these results, check out my site

Examples from actual users can be found on my site.

All pages are generated using different configurations all managed by Link Library. Link Library is compatible with the My Link Order plugin to define category and link ordering.

Author Yannick Lefebvre
Contributors jackdewey
Tags add, AJAX, batch, directory, feeds, import, inline, library, link, list, page, paging, pop-up, rss, search, submit
  1. link-library screenshot 1

    The Settings Panel used to configure the output of Link Library

  2. link-library screenshot 2

    A sample output page, displaying a list of categories and the links for all categories in a table form.

  3. link-library screenshot 3

    A second sample output showing a list of links with RSS feed icons and RSS preview link.

  1. Download the plugin
  2. Upload link-library.php to the /wp-content/plugins/ directory
  3. Activate the plugin in the Wordpress Admin

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=#]

  1. 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=#]

  2. To add a search box to your Link Library list, add the following text to your page:

  3. 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.

  • Re-do of changes from
  • Fixed problem on link activation with table creation syntax
  • Fixed bug with after last link field in advanced configuration table
  • Added new link display mode that is not a table or unordered list

  • Rollback of modications made in

  • Fixed problem on link activation with table creation syntax
  • Fixed bug with after last link field in advanced configuration table
  • Added new link display mode that is not a table or unordered list

  • Renamed Reciprocal Link Checker to Link checking tools
  • Added new tool to check for duplicate links (URL or name)

  • Fix to use moderator e-mail for link submission notification

  • Fixed issue with search not working when using Basic permalinks (e.g.
  • Fixed issue with cat alpha filter and pagination landing on pages that don't exist

  • Updated constructors for RSS Genesis and Captcha classes to use __construct instead of PHP 4 style constructors
  • Added field to user submission config to add content to initial e-mail sent to link submitters

  • Set initial value of user-submission URL fields to http://

  • User submitted link are nwo properly saved with a submitted date
  • Clarified message for URL missing http in user submission form.

  • Added hook for users to register their own link reciprocal check function

  • Fixed issue with copying library settings in Internet Explorer

  • Fixed javascript errors with quotes in translated langauges for user submission form messages

  • Updated translation template file

  • Fixed issue with suppression of Link Library message from rejection e-mails

  • Fixed issue with CSS not appearing problem in some themes
  • Added new span class around link count for category display
  • Modified div for category link count display

  • Fixed issues with RSS Preview pop-up window
  • Changed RSS inline display to respect site date format
  • Changes RSS inline display to translate dates
  • Added option under general settings to allow user to change RSS cache duration for RSS feeds

  • Fixed issue with telephone output introduced in

  • Fixed issue with user link submission with spam filtering on and Contact Form 7 not installed
  • Added new option to Link Name field to be able to display description as tooltip
  • Added new option in Advanced tab to not display fields that do not contain any data (note that this could have negative effects on page layout)
  • Added new item in Advanced tab to display category description as part of Link Library output


  • Corrected XSS vulnerability

  • Modified hook to add button to editor to make it removable by users

  • Fixed issue with export section when site has too many pages

  • Added new variable for pop-up content %link_email_link%

  • Modified FAQ links to point to new wiki

  • Modified code that generates update timestamp to avoid conflict with other plugins

  • Modifications to Akismet user link validation code to avoid sending empty fields

  • Fixed mailto output to accept HTML web links in addition to e-mails

  • Added missing file for update

  • Added buttons to delete all locally stored thumbnails or all locally stored favicons for links

  • Added new section to Import/Export to import links from existing site content (pages, posts, CPTs)

  • Added option to reject user links where reciprocal link is on same domain as an existing reciprocal link

  • Fix to allow multiple libraries configured to use AJAX updates working on the same page

  • Updated RSS feed generation code to fix header

  • Updates supported version number and removed surveys

  • Adds submitter name as a field that can be displayed

  • Fix to only display a single link when using singlelinkid parameter

  • Added ability to only display links submitted by the current logged user

  • Fix div error in previous release

  • Added ability to only display RSS feed inline if they are no older than a certain number of days
  • Added ability to hide links if they do not have any inline RSS items to display

  • Added support to specify multiple categories for imported links, comma-separated

  • Fixes to avoid possible division by 0 if number of columns if set to null or 0

  • Corrections to link submission generated e-mails

  • Fixed issues for PHP 7 compatibility
  • Added conditions only to filter unused fields from e-mail notification for new user links
  • Added information fields to visitor e-mail when new link is submitted

  • Fix issue where deleting Settings #1 resets general options

  • Added general setting to enable Akismet filtering for all libraries

  • Fix for link pop-up not working properly from link image

  • Added ability to translate messages from link submission form validation script
  • Fixed min length validation of link submission form fields
  • Made URL a link in user submission notification e-mail and added textual category name instead of having only ID

  • Added option to specify default category in user link submission form
  • Added support to validate user links using Akismet (requires Akismet plugin and valid Akismet key)
  • Corrected issue with phantom links appearing in Moderation list

  • Added configuration field under Search tab to allow users to define No Results text to be displayed
  • Added max lengths to field in user submission form
  • Added option to send e-mail notification to visitors when they submit links


  • Change way that lik pop-up dialog content is loaded to avoid conflicts with other plugins

  • Allow shortcodes to be executed in link pop-up content

  • Added new mode to Web Link display element to only output URL

  • Added %link_url% to variables that can be used in link pop-up dialog
  • Added set_time_limit in reciprocal link checker to avoid issues when checking a large number of links

  • Changed reciprocal link checker output to send steady data to browser instead of building entire buffer to avoid timeout

  • Added validation for submitter e-mail field

  • Added call to process shortcodes in Link Library output content
  • Updated french translation

  • Added more advanced validation for e-mail and URL fields in user-submission form


  • Updated reciprocal link check to work on sites without allow_url_fopen
  • Added broken link checker
  • Added Form validation script to user-submission form to catch required fields before form submission

  • Fix for search page target not working

  • Changes to accept UTF8 characters in large description field (deactivate and reactivate the plugin to fix the database)
  • Pre-fill submitter name and e-mail address field if user is logged in

  • Added action hooks on user-submitted link approval and rejection. Actions are called link_library_approval_email and link_library_rejection_email. They receive two parameters, $linkdata and $linkextradata.

  • Fix for fields not appearing after submitting user link with bad captcha


  • Added user survey results

  • User-created links will now set the Updated Date field

  • Fix for large description field HTML tags getting messed up on save

  • Fixes to category drop-down list display mode

  • Fix to avoid re-writing .htacess file when you save settings

  • Added span and class to edit link to facilitate positioning or hiding

  • Corrections to link importer
  • Fix for required field when using a Link Acknowledgement URL

  • Prevent submission of search form if visitor has not changed search box content

  • Modified importer to update links with same URL instead of creating new ones
  • Export of links and library settings now directly trigger file download


  • New option to specify search box initial text
  • New option to specify Category filter text

  • Change to save paragraph indicators in large description field

  • Fix for duplicate link visit counts when multiple instances of Link Library on a page

  • Add new field for link target in link export and import operations


  • Add default stylesheet elements for alpha filter
  • Update french translation

  • Fix problem with Alpha filter in link-library-cats shortcode

  • Added ability to import and export link rating information

  • Corrected issue where some library configurations led to no links being displayed after update

  • Fixed problem with featured link mode to make features links appear correctly in each category

  • Adds options to specify code/text to be output before first link in each category and last link in each category


  • Fixed problem with Link Display Format not saving correctly in admin

  • Improvements to alphabetic category filter to play nice with the search feature


  • Fixed for add_query_arg potential XSS vulnerabilty issue

  • Adds message to invite users to participate to Link Library User Survey. Message can be dismissed.

  • Added new alphabetic category filter feature, configurable under Common Library Settings

  • Adds a new shortcode [link-library-count] to display the number of links that a library will show

  • Added visual editor for large description
  • Allow HTML code to be part of large description

  • Added Serbian translation


  • Correct problem with user-submission form, displaying a choice for user-defined categories even if configured not to allow them

  • Additional fix for 'Show link name when no image is assigned' option

  • Fix for 'Show link name when no image is assigned' option

  • Fix for new functionality introduced in when using HTML Get with category names method

  • Added new option for category drop-down list to go directly to selection without needed visitor to press Go button


  • Fix monthly update mechanism. Setting number and leaving for a few days to make sure update occurs

  • Corrected unexpected output on plugin reactivation

  • Corrects activation error for new users


  • Added ability to approve user-submitted links automatically if they provide a valid reciprocal link

  • Correction to resolve PHP warning

  • Added new option to build URLs for one category at a time mode using category names

  • Additional corrections for RSS feeds

  • Changed to RSS feed generation to make it compatible with feedburner and other rss services. RSS feed address is now site/feed/linklibraryfeed?settingsset=1.

  • Corrected to modified image display code

  • Modification to image display code to always show before and after tags, whether or not an image is present

  • Modified thumbnail generation to skip items that already have images when option 'Give priority to images assigned to links if present' is active


  • Added new option to build URLs for one category at a time mode using category slugs

  • Fixed issue with ordering links in descending order

  • Fixed to support file links in secondary link field

  • Additional enhancements to admin panel to organize using tabs

  • Re-structured Library Settings section to use tab to avoid scrolling up and down all the time

  • Re-integrate service to generate thumbnails and offer users choice between Thumbshots and Robothumb

  • Fixed issue with single quote in library name

  • Fixed issue with submission message not appearing when user specifies user-defined category
  • Updated french translation


  • Replaced service with to avoid regular issues with site
  • Added new option to specify thumbnail size under general settings

  • Fix issue with theme preview not working when Link Library is enabled

  • Added new configuration options under User Submission form configuration to allow to set fields as Required

  • Fixed link importer to import extended fields (large description field, no follow, etc...)

  • Fixed problem with Heading tag around category names

  • Fixed favicon generator
  • Minor PHP warning bug fixes

  • Fixed problem with table layout introduced in version
  • Updated french translation
  • Tested against WordPress 4.1

  • Updated code for translation and translation files
  • Added new option to combine all links results together without displaying category


  • Added filters to allow users to implement their own captcha and captcha validation solution
  • Added new dialog above text editor to simplify insert of Link Library shortcodes in content

  • Corrected problem with no follow option getting set when users submit links

  • Update french translation
  • Fix one string that could not be translated

  • Added new option to show hidden links to editors and administrators


  • Resolved XSS security issue

  • Change in general defaults function to avoid reading in stylesheet file unless necessary

  • Updated internationalization template

  • Added new general option to allow user to specify additional link protocols to be accepted by link editor

  • Added alternate shortcode with different endings to resolve issue in WP 3.0.1 around shortcode confusion [search-link-library][cats-link-library] and [addlink-link-library]

  • Fixed problem with new singlelinkid option

  • Fix problem on WordPress 3.0 with is_multisite and is_network_admin functions not existing
  • Fix for category meta creation issue on upgrade

5.8.10 - October 2014

  • Ability to select standard updates (as soon as they are released) or monthly updates (rolled up on first of month)
  • Fixed bug with pagination when displayed before Link Library
  • Added performance metrics in debug mode
  • Added new [link-library] shortcode option to display single link (singlelinkid)
  • Change user permission check only to be done one per library instead of every link
  • Updated RSS Genesis library to avoid some warnings

  • Fixed issue with pagination in AJAX mode

  • Fixed issue with creating new libraries beyond the initial first library

  • Fixed issue with default category is displayed when only showing one category at a time

  • Fixed error with missing function addhttp


  • Re-arranged Link Library code only to load necessary elements depending on the shortcodes that are actually used to increase performance
  • If you run into any major issues and need to roll back to previous version until I address them. Download here, then report issue in support forum

  • Corrected problem with user link submissions not getting stored


  • Fixed problem with link losing some data such as featured flag when generating favicons for all links

  • Fixed problem with importer when category name contains special characters

  • Added options to specify custom images for expand and collapse icons

  • Fixed issue with link category list not appearing correctly when selecting in Multi-select list mode
  • Added warning for users who do not have any link categories in their install

  • Corrected PHP warnings

  • Updated information on RSS feed link

  • Updated french translation
  • Added missing translation strings
  • Fixed problem with reciprocal link checker and rss feed if links_recently_updated_time variable not set

  • Fixed fatal error on ll_reset_options
  • Added space between track_this_link and featured classes in Link Library output

  • Added new functionality to expand and collapse link categories on display
  • Add new option to select categories via selection lists instead of a comma-seperated list of IDs
  • Add warning before copying a library onto another
  • Corrects PHP warning in admin pages

  • Fixed problem with No Links Found message not appearing if no search results found and no link category is set to display on startup
  • Fixed some PHP warnings


  • Final fixes for new link submission response e-mail variable %linkurl%
  • Added new message for finding no results in search

  • Fixed problem with new variable %linkurl%

  • Added variable %linkurl% for link submission response e-mail template
  • Fixed problem with link title having bad tags when using link description as title and search terms are found in that description

  • Fixed tabs not appearing correctly in reciprocal link checker
  • Updated french translation

  • Fixed problem with resetting stylesheet to default
  • Added FAQ section, include embedded new Link Library tutorial videos

  • Updated pagination code to preserve URL parameters from other plugins
  • Updated FAQ section on plugin page

  • Changed layout of delete and reset buttons to make them more obvious to use
  • Fixed late refresh after deleting or resetting options

  • Fix link updated date setting to use blog time instead of GMT time
  • Corrected issue with RSS feed URL generation

  • Fix problem with user-submitted categories on link submission

  • Reverted all new functions from 5.8.5 until further testing can be done to resolve layout with new version

  • Fixed problem with category links when paginating results

  • Fix problem with link counts when displaying category list

  • Added hack to allow people to page through links by adding parameters to the end of the link manager URL (?linksperpage=1&linkspage=2)


  • Updated admin menu look

  • Second fix to allow searches to work with apostrophes
  • Fix to allow categories containing no links to be displayed

  • Allow link searches to work with apostrophes
  • Fix issue with duplicate images appearing


  • Added entry to stylesheet template to style featured links
  • Added new option to use local images attached to link if they are present when thumbshots automatic thumbnail generation is active
  • Restores support for versions before 3.5 that did not have the media uploader

  • Fixed bug with links and settings export functionality

  • Fixed problem with AJAX mode when configured not to show library at first. Library was still showing if empty.
  • Link dates can now be formatted and translated to local site language
  • Changed links and settings export folder to site upload folder instead of plugin folder

  • Added option to hide donation links and Support the Author ad
  • Added ability for link updated date to be translated to site language
  • Updated french translation

  • Increased execution time when importing links to allow for larger imports
  • Enhanced media uploader selection to show image right away when no previous image was present

  • Fixed bug with Link popup option, which was not creating link with correct URL

  • Added option to suppress Link Library footer in notification e-mails

  • Fixes bug with search results appearing in ajax mode when hiding links on first page display

  • Fixed additional PHP warning

  • Fixed PHP warnings


  • Fix compatibility issue with WordPress 3.9

  • Fix additional problems found with pagination mode

  • Fixed problem with AJAX and Pagination mode both active at the same. Pages other then 1 in a category would not display

  • Fixed RSS Preview functionality that had been broken in 5.8.1 update


  • Addressed security concerns raised by plugin maintenance team

  • Added option to display pagination selector before or after links

  • Corrected problem with user link submissions introduced by previous update

  • Updated french translation
  • Added support for media upload to attach new images to links

  • Fixed link moderation page to show links submitted by bots with no category

  • Added option to display link name or description in link title tag

  • Added debug code in moderation section to help troubleshoot issues

  • Small styling change in admin interface to adjust to removal of background image in WP 3.6

  • Corrected redirection bug when user submitted link with bad field, then corrected and re-submitted


  • Added new Export All Links button to download all links and their associated data in a CSV format

  • Fixed issue for search to now be able to accept non-alphabetic characters

  • Fixed issue with disappearing category names

  • Allow images to be associated to links when they are first created instead of only when you edit them later

  • Fixed bug with large description field not getting saved when users submit links

  • Corrected undefined method errors when users submitted new links

  • Fixed wp_set_link_cat error when user submission option is active
  • Fixed problem with links extra info table not getting created in new installations

  • Fixed javascript error on add new link page


  • Fix for error submitting links in 5.7.8


  • Fixed error with unknown column when selecting List Featured Links ahead of Regular Links options


  • Cleanup to avoid PHP warnings when some variables don't exist
  • Support for plugin being located in a non-standard location
  • Addition on uninstall scripts to delete extra table and settings on plugin deletion
  • Thanks to Juliette Reinders Folmer for identifying all these issues
  • Split code from admin in separate file to improve load times


  • Added option in general settings to select if images that are uploaded or generated should be stored using their full path (functionality in 5.7.3 or older) or relative paths


  • Fixed issue around category name div tags in list


  • Changed stored URL for uploaded images to use relative paths


  • Fixed bug in on-demand thumbnail generation


  • Added div around Thumbshots notice to allow paying users to hide notice (free users need to keep notice displayed to avoid being banned by service)


  • Fixed issue with Thumbshots CID having non-url compliant characters


  • Re-worked Thumbshots integration to comply with new terms of use
  • Updated french translation


  • Added option to load styling on all pages with keyword 'all'


  • Corrected error from version 5.6.7


  • Added option to load styling on category pages with keyword 'category'


  • Added option to load styling on front page with keyword 'front'


  • Adds a div class to category names for styling


  • Added new option so that no category is shown in AJAX mode until the visitor selects a category


  • Re-implemented changes from version 5.6.1


  • Rolled back changes


  • Corrected problem with two undefined variables


  • Added count of links to moderate in top-level Link Library menu item
  • Added dashboard widget to display count of links to moderate

  • Changed WP 3.5 support code to force presence of Link Manager if Link Library is installed and activated


  • Removed check for presence of Link Manager in versions older than 3.5


  • Added check for presence of Link Manager to support version 3.5 where the link manager will be inactive by default


  • Added codes in pop-up content to display link rating and rss link


  • Fixed link visit tracking code


  • Added codes in pop-up content to display link submitter, link alternate URL and number of visits


  • Attached popup to image and link name instead of only link name, when configured


  • Added code in pop-up content to display link description, link large description, telephone number and e-mail
  • Added pop-up configuration options to specify width and height


  • Updated link popup mechanism to use link target information


  • Added support to convert [ and ] to < and > in large description fields


  • Added new option to display a popup with user-defined content when links are clicked, then present user with link to click through
  • Updated danish translation

  • Fixed problem with category links not going to the correct results page when pagination is turned on

  • Fixed problem with nofollow and featured item check boxed not unchecking properly

  • Fixed problem with e-mail notification when user-submitted links were received

  • Correction to bad site admin path in e-mail notification

  • Changes method used to build paths to images and other plugin files
  • Fixed reciprocal link checker


  • Removed previous affiliate link and added information on my upcoming book.


  • Reverted all changes made in version 5.4.7 to remove undefined variable warnings


  • Fixed undefined variable warnings, which showed up when WP_DEBUG was activated


  • Clearly identified affiliate link in user interface
  • Made affiliate image local to plugin


  • Fixed problem with Link ID missing on some installations from links in moderation page


  • Updated danish translation


  • Cleanup to avoid PHP debug warnings


  • Fixed problem with library switching logic


  • Fixed path to plugin icon file


  • Redesigned user submission processing code to send post data to external php file and redirect back after data storage and validation


  • Fixed duplicate check on user-submitted links
  • Fixed problem with other plugins causing shortcode to be evaluated multiple times, resulting in multiple links submission


  • Updated meta box creation code to be compatible with WordPress 3.3


  • Added option to specify address for search box results. This allow you to place search box on one page and results on another page.
  • Updated French translation
  • Updated Italian translation
  • Added Turkish translation


  • Fixed way that messages were displayed when using user submission form
  • Added error message when submitting a link without an address


  • Updated Italian translation
  • Updated French translation
  • Added missing translation


  • Updated translation file to add text for new option introduced in 5.2.7


  • Added option to replace image with link name if no image is assigned to a link


  • Added missing translation for UI element


  • Split a sentence in two full pieces to facilitate translation.


  • Fixed glitch with reciprocal check menu item disappearing


  • Added italian translation (Thanks to Gianni Diurno!)
  • Fixed some text strings which could not be translated


  • Added check for search parameters to verify that they are only text or numbers


  • Added an option to display link category list on search results page


  • Added span tag to link category description to allow for styling


  • Fixed updated date mechanism


  • Removed debug code in link moderation screen
  • Fixed problem with empty categories not showing up even if Hide when empty is not checked


  • Fixed problem with category drop-down in user-submission form that prevented it from appearing in some situations
  • Added data type validation code to avoid security exploits


  • Corrected problem with link moderation list screen


  • Corrected a problem with new link submission in admin editor


  • Removed extra debugging code


  • Added new sort mode to display links based on updated date
  • Added field to links editor to see updated date and be able to manually change it


  • Changed RSS parsing library back to Simplepie, but using version supplied with Wordpress with extra layer


  • Corrected plugin installation function to properly create custom tables in multi-site environment
  • Replaced SimplePie with PHP_RSS library to avoid PHP5 validation errors and have simpler code base


  • Correct path for RSS Icon and RSS Preview Icons


  • Security fix


  • Fixed RSS Feed generation code to accept https links


  • Added details on use of catogory list in link submission form
  • Now using Moderator E-mail (if present) as destination address for moderation notifications


  • Fixed problem with path of images uploaded for links


  • Added option in reciprocal checker to delete links that return a 403 error during check


  • Made code change to always load jQuery as soon as Link Library is rendered on a site to enable link click tracking


  • Changed link id field to contain text before their numeric ID to be xhtml compliant
  • Added code to strip slashes on custom fields in link editor
  • Added link category to link moderation screen
  • Add option to use textarea instead of input field for link notes in user submission form
  • Added check in Reciprocal checked to see if site is dead. Display appropriate message if it is.


  • Corrected a problem where slashes were getting added in front of quote and apostrophes when editing large description


  • Added code to escape special characters in large description field when importing links


  • Added new mode to show link categories in a drop-down list
  • Replaced calls to wp_specialchars with esc_html since the previous function was deprecated in WP 2.8
  • Corrected bad CSS styling in admin sections
  • Added bookmarklet creation section in admin to allow for quick link creation
  • Fixed problem where settings became "sticky" until you went out of plugin admin and came back after resetting them

Who are the translators behind Link Library?

Where do I find my category IDs to place in the "Categories to be Displayed" and "Categories to be Excluded" fields?

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.

How can I display different categories on different pages?

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.

After assigning a Link Acknowledgement URL, why do links no longer get added to my database?

When using this option, the short code [link-library-addlinkcustommsg] should be placed on the destination page.

How can I override some of the options when using shortcodes in my pages

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.

Can Link Library be used as before by calling PHP functions?

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:

  1. Download the plugin
  2. Upload link-library.php to the /wp-content/plugins/ directory
  3. Activate the plugin in the Wordpress Admin
  4. 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 />

<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, '', ''); ?>

=function LinkLibraryCategories()=

Output a list of all links categories, listed by category, using the settings in $wpdb->linkcategories and output it as table

Parameters:<br/> order (default 'name') - Sort link categories by 'name', 'id', 'catlist'. When set to 'AdminSettings', will use parameters set in Admin Settings Panel.<br/> hideifempty (default true) - Supress listing empty link categories<br/> tablewitdh (default 100) - Width of table, percentage<br/> numcolumns (default 1) - Number of columns in table<br/> catanchor (default false) - Determines if links to generated anchors should be created<br/> flatlist (default false) - When set to true, displays an unordered list instead of a table<br/> categorylist (default null) - Specifies a comma-separate list of the only categories that should be displayed<br/> excludecategorylist (default null) - Specifies a comma-separate list of the categories that should not be displayed<br/> showcategorydescheaders (default null) - Show category descriptions in category list<br/> showonecatonly (default false) - Enable AJAX mode showing only one category at a time<br/> settings (default NULL) - Settings Set ID, only used when showonecatonly is true<br/> loadingicon (default NULL) - Path to icon to display when only show one category at a time<br/>

=function LinkLibrary()=

Output a list of all links, listed by category, using the settings in $wpdb->linkcategories and output it as a nested HTML unordered list. Can also insert anchors for categories

Parameters:<br/> order (default 'name') - Sort link categories by 'name', 'id' or 'catlist'. When set to 'AdminSettings', will use parameters set in Admin Settings Panel.<br/> hideifempty (default true) - Supress listing empty link categories<br/> catanchor (default false) - Adds name anchors to categorie links to be able to link directly to categories<br/> showdescription (default false) - Displays link descriptions. Added for 2.1 since link categories no longer have this setting<br/> shownotes (default false) - Shows notes in addition to description for links (useful since notes field is larger than description)<br/> showrating (default false) - Displays link ratings. Added for 2.1 since link categories no longer have this setting<br/> showupdated (default false) - Displays link updated date. Added for 2.1 since link categories no longer have this setting<br/> categorylist (default null) - Only show links inside of selected categories. Enter category numbers in a string separated by commas<br/> showimages (default false) - Displays link images. Added for 2.1 since link categories no longer have this setting<br/> showimageandname (default false) - Show both image and name instead of only one or the other<br/> usehtmltags (default false) - Use HTML tags for formatting instead of just displaying them<br/> showrss (default false) - Display RSS URI if available in link description<br/> beforenote (default <br />) - Code to print out between the description and notes<br/> nofollow (default false) - Adds nofollow tag to outgoing links<br/> excludecategorylist (default null) - Specifies a comma-separate list of the categories that should not be displayed<br/> afternote (default null) - Code / Text to be displayed after note<br/> beforeitem (default null) - Code / Text to be displayed before item<br/> afteritem (default null) - Code / Text to be displayed after item<br/> beforedesc (default null) - Code / Text to be displayed before description<br/> afterdesc (default null) - Code / Text to be displayed after description<br/> displayastable (default false) - Display lists of links as a table (when true) or as an unordered list (when false)<br/> beforelink (default null) - Code / Text to be displayed before link<br/> afterlink (default null) - Code / Text to be displayed after link<br/> showcolumnheaders (default false) - Show column headers if rendering in table mode<br/> linkheader (default null) - Text to be shown in link column when displaying as table<br/> descheader (default null) - Text to be shown in desc column when displaying as table<br/> notesheader (default null) - Text to be shown in notes column when displaying as table<br/> catlistwrappers (default 1) - Number of different sets of alternating elements to be placed before and after each link category section<br/> beforecatlist1 (default null) - First element to be placed before a link category section<br/> beforecatlist2 (default null) - Second element to be placed before a link category section<br/> beforecatlist3 (default null) - Third element to be placed before a link category section<br/> divorheader (default false) - Output div before and after cat name if false, output heading tag if true<br/> catnameoutput (default linklistcatname) - Name of div class or heading to output<br/>
showrssicon (default false) - Output RSS URI if available and assign to standard RSS icon
linkaddfrequency (default 0) - Frequency at which extra before and after output should be placed around links
addbeforelink (default null) - Addition output to be placed before link
addafterlink (default null) - Addition output to be placed after link
linktarget (default null) - Specifies the link target window
showcategorydescheaders (default false) - Display link category description when printing category list
showcategorydesclinks (default false) - Display link category description when printing links
showadmineditlinks (default false) - Display edit links in output if logged in as administrator
showonecatonly (default false) - Only show one category at a time
AJAXcatid (default null) - Category ID for AJAX sub-queries
defaultsinglecat (default null) - ID of first category to be shown in single category mode
rsspreview (default false) - Add preview links after RSS feed addresses
rssfeedpreviewcount(default 3) - Number of RSS feed items to show in preview
rssfeedinline (default false) - Shows latest feed items inline with link list
rssfeedinlinecontent (default false) - Shows latest feed items contents inline with link list
rssfeedinlinecount (default 1) - Number of RSS feed items to show inline
beforerss (default null) - String to output before RSS block
afterrss (default null) - String to output after RSS block


Requires WordPress version: 3.0 or higher

Compatible up to: 4.7.2

Last Updated 02 Feb 2017

Date Added: 17 Mar 2005

Plugin Homepage


4.5 stars
63 ratings


Not Enough Data

Works: 0
Broken: 0