• 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

    (@jackdewey)

    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

    (@jackdewey)

    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

    (@jackdewey)

    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

    (@xbladerunner)

    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

    (@jackdewey)

    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)
  • You must be logged in to reply to this topic.