Support

Account

Home Forums General Issues Multisite shared media and Image fields?

Solving

Multisite shared media and Image fields?

    • 7immer

    • August 26, 2015 at 2:26 pm

    Does anyone know how to share media across a WordPress multi site?

    I’ve taken a look at the ‘Network Shared Media’ plugin but I’ve since learned that its not compatible with ACF’s image field!

    One potential solution I had was to perhaps setup a MYSQL TRIGGER so that whenever a media item (attachment) is added it will trigger the database to copy it to the other WP post tables.

    What do people think? Has anyone tried this?

  • Did you try this add-on?
    https://github.com/tmconnect/acf-relationship-multisite

    I think in your case you would use just this acf-relationship-multisite field instead of the image field. I’m using the add-on to get post objects and show the permalinks, featured images, titels, etc across subsites.

    The only downside is that you can only select one subsite per field. So you would need to create a multisite field for every subsite you want to gain access to.

    • 7immer

    • August 27, 2015 at 12:17 am

    Hi,
    Thanks for replying!

    Unfortunately this doesn’t meet the requirements of the existing image field which allows you to select an image from the media library and upload to it as well.

    Thanks for letting me know about this plugin though, may prove useful in the future.

  • A solution in case anyone comes across this need:
    https://github.com/bueltge/multisite-global-media
    And you may also need for ACF integration: https://github.com/bueltge/multisite-global-media/issues/86#issuecomment-509817486

    • James

    • July 14, 2019 at 2:09 am

    Hi @juanallona

    Thanks for sharing the solution.

    This will surely assist someone else in the same state.

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

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.