Link Library


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.


  • The Settings Panel used to configure the output of Link Library
  • A sample output page, displaying a list of categories and the links for all categories in a table form.
  • A second sample output showing a list of links with RSS feed icons and RSS preview link.


This plugin provides 5 blocks.

  • Link Library Links
  • Link Library Categories
  • Link Library User-Submission Form
  • Link Library Search Box
  • Link Library Count


  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.


Where can I find documentation for Link Library?

Visit the official documentation for Link Library

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


30 maja, 2024
Nice plugin but throws 4 ‘Function wp_enqueue_style was called incorrectly’ PHP Notices. Would be nice to have the option to turn off the various scripts and styles it adds, as due to the above, you can’t easily remove them with add_action( ‘wp_enqueue_scripts’ … )
13 februarja, 2024
Simple to get started, with lots of advanced options. It’s easy to dive right in and start adding your links – very intuitive. Only later do you start to realise just how many advanced options there are for customising the front-end layout and back-end functionality. Excellent, and a solid 5⭐
25 januarja, 2024
I have been looking for a functional link directory plugin for a long time.I have really tried everything that is currently available on the market – paid and free plugins.Link Library is the most advanced and functional plugin I have ever tried.Its capabilities are impressive and it would take a long time to list them here.Many thanks and respects to the developer!
10 aprila, 2023
This is my favorite links plugin. If you need a really robust library that is searchable and not just a list, try this one.
20 decembra, 2022
I use this plugin to have a stock image directory on my website. I get great feedback on it. The plugin was easy to understand and to get things set up. When I noticed a few accessibility issues, I brought them to the attention of the developer. Yannick made the requested modifications in one of the next releases.
21 oktobra, 2022
I contacted the developer several times and each time he has been very attentive and helpful. For a free plugin, his service is beyond. 5-star rating for sure!!
Read all 96 reviews

Contributors & Developers

“Link Library” is open source software. The following people have contributed to this plugin.


“Link Library” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Link Library” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fixed potential security issue


  • Added way to export all links to OPML format under Global Options


  • Fixes for potential security issues


  • Fix to avoid PHP warning


  • Fixed to previous checkin to restore compabitility with older versions of WordPress


  • Added check to see if current page is login page and exit plugin if it is


  • Fix to retain comments in Stylesheet editor


  • Fix for potential security issue
  • Fix for large description field in link editor showing bad HTML
  • Fix for taglistoverride not working when pagination is enabled


  • Fixes to restore user link submission capabilities


  • Link editor now automatically shows most used tag list


  • Fixes for potential security vulnerabilities
  • Admin notices now only displayed on Link Library pages
  • Potential fix for issue with categorylistoverride introduced with last version


  • Fix to allow categorylistoverride to work correctly when library is configured to show a single library at a time


  • Added new function to only show link with specific text as part of their URL


  • Fixes for potential security vulnerabilities


  • Fixes for potential security vulnerabilities


  • Fix for hierarchical list of categories in add link form


  • Added missing parameters for iframe white listing


  • Added iframe to white list of HTML tags for configuration options
  • Enabled embed shortcodes inside of large description fields


  • Added option to suppress linklist div from output


  • Fixed admin stylesheet to avoid conflict with default editor


  • Fix to allow WordPress embed shortcodes to work when used in full-page content


  • Correction for PHP warnings when visiting admin pages


  • Correction for PHP warnings around $excludetagoverride


  • Correction to allow table tags in advanced configuration table


  • Correction to allow HTML tags in Single Item Layout editor


  • Link Library now respects categorylistoverride and excludecategoryoverride when displaying results with “Combine all results without categories” option activated


  • Added query variable to show upgrade tools for legacy 6.0 users migrating to current versions of the plugin


  • Renamed one of the column of category CSV export to match import template


  • Add ability to import list of categories from a CSV file


  • Translation update


  • Restored plugin book section


  • Added option to schedule automatic generation of missing thumbnails


  • Added new configuration section under Global Options > Import/Export Links to be able to schedule automated import of links
  • Added missing files for pop-dialog functionality introduced in 7.4.15
  • Modified link search when displaying categories to search in content and not only link title
  • Removed some leftover debug functions


  • Added new mode for user link submission form to only display button and have form appear in pop-up dialog


  • Added missing / characters when displaying list of categories in permalink mode and in breadcrumbs


  • Added new option to specify page containing category list when using HTML Get + Permalinks switching method with breadcrumbs


  • Update to allow for translation of text that was previously hard-coded
  • Updated french translation


  • Modified form validator script to allow for empty e-mail addresses in user link submission form if field set to Show and not Required


  • Fix to allow non-admin users to be able to see edit links on Link Library visitor-facing pages


  • Added new display mode for category list ([link-library-cats]) called Simple Divs


  • Added option to [link-library-filters] shortcode to display apply button (showapplybutton)


  • Fix for display of hierarchical categories in [link-library-cats] shortcode


  • Relaxed HTMl tags parsing for custom field before and after content


  • Further refinement of accepted HTML tags for advanced configuration table


  • Fixes for warnings in usersubmission.php


  • Further refinement of accepted HTML tags for advanced configuration table


  • Implemented some accessibility functions in tag filter
  • Fixed advanced table to accept HTML values once again


  • Security fixes
  • Added support for WPGraphQL


  • Corrected PHP warning in render-link-library-addlink-sc.php


  • Fix for AJAX category switching when using New editor on some themes
  • Additional fixes for [link-library-cats] shortcode for sites with hierarchical categories


  • Fixes for [link-library-cats] shortcode for sites with hierarchical categories


  • Fixed additional french translations
  • Changed colors of Submit and Reset buttons in stylesheet editor
  • Added new option under search tab configuration to suppress output if no results are found


  • Fixed issue introduced in 7.3.16


  • Modified to allow excludecategoryoverride to work with sub-categories in [link-library-cat] shortcode


  • Added parameter to [link-library-cats] shortcode called parent_cat_id. Should be set to empty “” if using categorylistoverride and only specifying sub-categories
  • Corrected some errors in French translation


  • Corrected error message when running empty cat link checker and none are found


  • Added two new types of link checking tools: Check Secondary Links and Check image links


  • Added new tool under Global Options > Import/Export to export list of categories with IDs


  • Add general option to show excerpt section in link editor


  • Fix to allow single quotes in empty search results message field


  • Fix for error when displaying part of the Global Options section
  • Updated promotional section in Global Options page with newest book published


  • Additional improvements to link creation page display on mobile devices


  • Brought back mechanism to help with large imports from pre-6.0 versions to current revisions.


  • Improved display of link creation page on mobile devices


  • Fix for item sorting with publication date


  • Additional fixes for featured item sorting


  • Fixed problem with quotes getting escaped in library-specific stylesheet editor


  • Fixed problem with featured links not longer appearing ahead of other link when ordering by title and having specified articles to be ignored


  • Fixed problems with new option to ignore specific articles introduced in version 7.3 beta 2


  • Added extra field to Link Library widget to allow users to select category(ies) to be displayed


  • Official 7.3 version containing all features from beta 1 to 4

7.3 Beta 4

  • Added CSS rules for new visibility toggle buttons

7.3 Beta 3

  • Added new option when displaying categories as visibility toggles to add show all and hide all buttons

7.3 Beta 2

  • Added new global option to specify articles to be ignored when sorting links by title

7.3 Beta 1

  • Added support to use post categories instead of Link Library categories
  • Added support to use post tags instead of Link Library tags


  • Fixed additional potential security issues


  • Fixed potential security issues in plugin admin section


  • Increased character limit for user form fields from 255 to 1024 characters


  • Further fixes for hide donation and display of new feature box


  • Fixes around Hide donation option and display of new feature box


  • Added new option in search section to look for results in all categories even if library is configured to display from a subset of categories
  • Fix block_categories editor warnings for deprecated filters


  • Fixed issue with displaying library count for library other than #1


  • Fix for list of categories in user-submission form when using hierarchical categories
  • Fix for PHP warning when displaying link count


  • Add support for WordPress mshots thumbnail generator


  • Links can now be sorted by number of hits in admin


  • Added new options to only display links that are updated/new and to specify for how many days links should be considered as updated/new


  • Fix to only make clear: both div display after categories when rendering category list using block editor


  • Fix to make RSS feed only accessible when option to publish it is actually checked


  • Fixed for RSS Feed Checking tool


  • Added new RSS Feed checking tool under Link Checking Tools


  • Remove current page number link from pagination


  • Additional fix for updated tag
  • Fix for pagination system


  • Changed updated tag to use publication date to determine if it’s displayed


  • Fix in Link Library Broken Link Checker
  • Fix for pagination links in HTML GET + Permalink mode


  • Added new [rss-library] shortcode to display a combined RSS library feed from all links
  • Enhanced bookmarket to grab selected text as new link description as well as get RSS feed link. If more than one link is found, asks the user which one to use.
  • Improved breadcrumb generation code so that the last part of the breakcrumb does not have a link. Also fixed links for sub-categories.
  • Fix for PHP installations that don’t support short array syntax


  • Add support for taglistoverride parameter in link-library-cats shortcode
  • Add parameter to override tag list in Link Library Category block


  • Fix to avoid masonry layout becoming a single column when first item is hidden
  • Added a new option to Categories tab in Library Configuration to hide empty categories from category list


  • Fixed [link-library-cats] shortcode to react to tag selection
  • Fix for duplicate link checker where it was previous showing items from other post types with same name as links


  • Improved broken link checker to report on the type of redirection that took place


  • Added option to include links in main site RSS feed
  • Added option in RSS feed configuration to select displaying the link updated date value or the publication date


  • Corrected problem with duplicate detection when using bookmarklet


  • Added labels in user-submission form for accessibility
  • Removed unnecessary file


  • Fix to avoid duplicate media library entries for link images
  • Fixed issue with pagination when filtering by link tags
  • Fix to show sub-categories in user-form when no top-level categories are selected
  • Bump up copyright version
  • Add missing styling for block editor warning box
  • Fix issue where link tags not displayed if option to suppress empty output is selected


  • New admin icon for Link Library using dashicons
  • Fix for better match of duplicate links entered through bookmarklet
  • Updated new feature pop-up