Title: multisite, one library
Last modified: July 12, 2024

---

# multisite, one library

 *  [xbladerunner](https://wordpress.org/support/users/xbladerunner/)
 * (@xbladerunner)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/multisite-one-library/)
 * Hello. Thank you for sharing your excellent plugin with us.
 * I have a development request/question for wordpress multisite environments. I
   would like to have the ability to designate a library as “local” or “global”,
   such that the short code for global libraries can be used on any site without
   duplicating the library. That is, you only have to make broken link edits to 
   one library, and those edits will show up on all the different sites. Local libraries,
   however, would continue to function as is, such that each individual site would
   have their own links independent of the global links.
 * Would this be a minor or major undertaking? I’m happy to test out any code modifications
   that you believe could produce this functionality.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/multisite-one-library/#post-17888798)
 * The easiest way to implement this would be to add a parameter to the Link Library
   shortcodes where you could specify the blog ID of the site from which links should
   be displayed. That would actually give you freedom to select any of the sites
   from a multisite installation. Would that make sense to you?
 * It should actually be relatively easy to implement such an additional field in
   each of the shortcodes.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/multisite-one-library/#post-17888807)
 * The other question would be if the library would be displayed on the local site
   using the local site settings or the settings from the other site where the links
   are coming from?
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/multisite-one-library/#post-17888809)
 * The one tricky part about all of this will be category selection. The current
   UI for Link Library displays the list of categories so the user can select which
   ones to display or not display. If I just add a parameter to the shortcode to
   show links from another blog in a multisite installation, that would be fine 
   and dandy when using shortcodes, but it would make some of the elements of the
   configuration pages not make any sense.
 *  Thread Starter [xbladerunner](https://wordpress.org/support/users/xbladerunner/)
 * (@xbladerunner)
 * [2 years ago](https://wordpress.org/support/topic/multisite-one-library/#post-17891831)
 * I would like the library settings and categories (and subcategories) across all
   the sites standardized. I believe I have already done this, such that they are
   all basically clones of one another. But the links contained within those structures
   are all different in each blog.
 * If we add the blog ID to the short code, as you imagine it, would it map the 
   links into the existing structure of the local blog, such that those links reside
   along side the links natively there?
 * Does the standardization of the settings solve the issue you raise about abandoned
   elements?
 * If so then it works for me, though others wouldn’t find it as elegiant if their
   categories and subcategories are not standardized. So it would be a limited application.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/multisite-one-library/#post-17971970)
 * Sorry for the lack of reply. Life got in the way. So you would want to mix in
   links from the global site and the local site? I don’t see this as being possible,
   at least with the way that Link Library is written. I could see a way to add 
   the blog ID to the shortcode to display an entire global category, without mixed
   in local links. This would require also using the shortcode fields to specify
   the category to be displayed.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘multisite, one library’ is closed to new replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 5 replies
 * 2 participants
 * Last reply from: [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/multisite-one-library/#post-17971970)
 * Status: not resolved