Link Library

Mô tả

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.

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 My Link Order plugin to define category and link ordering.

Ảnh màn hình

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

Cài đặt

  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:
    [link-library-search]

  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.

Hỏi đáp

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

Đánh giá

8 Tháng Mười, 2020
Excellent Plugin & Supersonic Support. Thank you!
9 Tháng Tám, 2020
I tried many. This is the best Link Library i found. Support is great. Friendly, quick and solving the prob. I recommend trying this great WP Plug In. Give u some time to understand. Many features need some patience und learning. This PlugIn is worth every minute u invest. Final results are awesome. Great Job, Thanks to Yannick
13 Tháng Sáu, 2020
A great plugin to maintain the links page on a website. Very versatile plugin. It took me some time to really understand it. There was one technical issue. I posted it in the support forum. Quickly came an answer and the issue was solved in a few days.
11 Tháng Sáu, 2020
This plugin delivers every it promises and more. My need was only for a simple list of hundreds of online resources in 10 categories and I have not tried the many sophisticated options the plugin for those needing more – multiple display options, thumbnails of the links; reciprocal links with check feather; user submitted links; comments; RSS feeds; etc.; for those needing more then I do. Additionally the developer Yannick Lefebvre, continually updates the plugin and is responsive to fixing any bugs. The plugin is solid and I highly recommend it.
Đọc tất cả 83 đánh giá

Người đóng góp & Lập trình viên

“Link Library” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Link Library” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Link Library” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

6.7.6

  • Added new options to linkorderoverride parameter when calling [link-library] shortcode to reflect list of choices in interface
  • Cleared some PHP warnings related to recent changes
  • Fix for show not cat on startup in AJAX mode not working
  • Modified link hits logic to disregard visits from administrators to links

6.7.5

  • Fixed to support new option to allow categories to be used to refine search results when displayed in more configurations

6.7.4

  • Fixed warning in admin when activatinguser voting
  • Changed mechanism for user-submitted links to repost info if anything is missing or wrong. Now using transients.
  • Fixed issues with escaped characters when users submit new links

6.7.3

  • Fixed issues with user-submission form

6.7.2

  • Added new option to allow categories to be used to refine search results when displayed
  • Fixed issues with user-submission form

6.7.1

  • Fixed issue with user vote custom label not staying when you upvote links

6.7

  • Added update message for new version
  • Removed Accessibe banner ads and moved Accessibe menu to bottom of list
  • Fixed issue with New tag displayed before link name not working correctly if link name is not the first field or is in a table

6.6.12

  • Fixed bug with image link not displayed at the right place with new dedicated page option

6.6.11

  • Added two options to link image display. Can now link to dedicated page or not link to any page

6.6.10

  • Added ability to set label of user vote button
  • Fixed bugs with user voting system
  • When activating user voting system, all existing links will be assigned an initial vote value of 0

6.6.9

  • First implementation of user voting system. New block in Advanced page for User Votes. Ability to sort links by number of user votes. Open to user feedback
  • Added new option to display link names only, not as link. Set under source for Link Name field.

6.6.8

  • Added new section under General Options to add custom URL fields to Link Library. Fields can be enabled and named to appear in all relevant places (Link editor, advanced configuration table for links)
  • Removed debug code from user submission code to avoid issues with headers submitted too early

6.6.7

  • Revamped user submission section of library configuration to implement table approach
  • Added code to fortify LL core
  • Added stylesheet rules to make user-submission form look better on mobile
  • Added option to delete media attachment or local site file assigned as link URL

6.6.6

  • Added multi select lists in the Moderation screen to allow users to assign one or more tags or categories to user-submitted links, or make changes to the ones assigned by users
  • Added ability to upload a file for the link to point to instead of specifying a URL
  • Added new option to [link-library-addlink] shortcode to override default category in category list (addlinkdefaultcatoverride)

6.6.5

  • Added button to open media library dialog for link URL selection. Allows you to upload a media item and easily link to it

6.6.4

  • Fixed issue with broken link checker only reporting first error

6.6.3

  • Renamed ll_write_log function to linklibrary_write_log function to avoid potential conflicts with other plugins.

6.6.2

  • Improved broken link checked to identify redirections to new URLs

6.6.1

  • Added new option field for user submission form to specify tooltips to be displayed when user hovers over the fields
  • Fixed issue with export all links function not working if no tags are assigned
  • Fixed issue with some form fields not being re-displayed is captcha is wrong
  • Fixed issue with form validation not working with description field is set to required

6.6

  • Fixed editor issue in WP 5.5