Working more than one WordPress web pages is hard sufficient with no need to maintain separate media libraries for each and every of them. If you want to re-use the similar recordsdata, you’ll must add them over and over, which wastes a large number of time and area.

On this article, we’re going to introduce you to a plugin that allows you to create a unmarried networked library for WordPress multisite setups, and we’ll educate you how one can use it. Sooner than that, let’s communicate slightly extra about how a networked library for WordPress assist you to be extra environment friendly!

Why a Networked Library for WordPress Can Make Your Existence More uncomplicated

While you arrange a multisite community, you get to make use of a centralized dashboard to control more than one web pages. In some circumstances, a multisite setup even allows you to proportion assets amongst your community’s websites, similar to topics.

Alternatively, each and every web page in your community will nonetheless have its personal media library. This is a bother should you plan on re-using photographs between more than one websites. If that’s the case, you’ll wish to add them time and again and stay leaping from one dashboard to the following.

Having a central media library that all of your websites can get entry to solves the ones issues. Whilst that is one thing of a distinct segment function, it may be very useful for multisite homeowners to arrange their media recordsdata. Plus, it’s beautiful darn cool, which is without doubt one of the causes we needed to turn you the way it works.

Introducing the Community Media Library Plugin

The Network Media Library plugin.

Network Media Library is a plugin that you’ll be able to use to create a shared library throughout more than one websites. It really works by way of designating one of the crucial websites of your community as a ‘central library’. That web page will nonetheless paintings as same old, excluding any record you add to it’s going to even be to be had to different web pages inside the community.

The plugin could also be plug-and-play (pardon the pun) so it’s simple to check out. We will have to additionally point out that whilst the plugin is lately handiest to be had on GitHub, we will inform you first-hand it really works simply in addition to one you’d to find on

Key Options:

  • Create a networked media library on your multisite setup.
  • Designate a web page inside of your community to behave as a central media library.
  • Simple to put in and use.

Value: Loose | More Information

The best way to Create a Networked Library for WordPress Multisite (In 3 Steps)

As we discussed previous, the plugin we’re going to make use of is understated to arrange. We’re now going to stroll you during the procedure of putting in the plugin from GitHub after which check to test that it’s operating accurately.

Step #1: Set up the Community Media Library Plugin

Downloading a plugin from GitHub is sort of the similar as from the repository. First off, move to the plugin’s GitHub repository and search for the Clone or obtain button to the highest proper of the display screen. Click on on it and make a selection the Obtain ZIP choice:

Downloading a plugin from GitHub.

You’ll now open your Multisite dashboard and navigate to the Plugins > Upload New tab. Choose the Add Plugin choice and upload the zip record you downloaded a minute in the past:

Uploading a plugin to WordPress.

Simple as pie, proper? Now, keep in mind to turn on the plugin on your community and transfer directly to step quantity two.

Step #2: Take a look at the Plugin by way of Importing a Media Document to Your Multisite Community

As you might know, your multisite dashboard doesn’t come with a gallery tab. To get round that, the plugin designates certainly one of your web pages to behave as a central library as an alternative. By means of default, the plugin alternatives up whichever web page has the ID quantity two.

Usually, ID quantity two will have to correspond to the primary web page you created after putting in place your community. For our assessments, we set up a dummy multisite network (utilizing Local by Flywheel) and added a couple of websites to it. Within the symbol under, website-one corresponds to the ID quantity two:

A list of the sites on your network.

You’ll additionally take a look at the ID of your websites by way of hitting the Edit choice for any of them, which can open their particular person settings. In case you check out the URL for that web page, you’ll see an ID quantity on the finish of it:

Checking out your site's ID number.

With that out of the way in which, navigate to the dashboard of the web page that you simply’ll use as your central gallery. If you’re in, move to its Media tab and add any symbol you need to check if the plugin is operating. You probably have an image of a pet, we advise going with that one, despite the fact that:

Adding a picture to your central media library.

As soon as your image is uploaded, move forward and get entry to the dashboard of another web page inside of your community and open its media library. You will have to now see your check symbol seem right here.

In case you’re curious, like us, chances are you’ll surprise what occurs should you add an image to the media library of web page quantity two. We gave {that a} take a look at:

Adding a second image to your media gallery.

After checking the media library of web page primary, we will verify that the second one symbol additionally seemed in each and every web page’s library. The takeaway here’s that if you set up the plugin, all hooked up web page’s media libraries shall be synced up. Alternatively, your multisite community will handiest retailer a unmarried reproduction of the ones photographs on your central library.

Step #3: Take a look at If There’s Simplest One Reproduction of the Document You Uploaded

To check if the plugin used to be operating accurately, we made up our minds to dig into our Multisite community’s listing. That implies we went into our Multisite root folder after which into the wp-content/uploads listing. As you’ll be able to see under, there are two folders within, one for each and every of the internet sites inside of our check community:

Accessing the media folders for each of your network sites.

Since we’re utilizing an area setup, we ran our assessments utilizing the Home windows Explorer as an alternative of File Transfer Protocol (FTP). That apart, we checked the uploads folder for online page quantity two and we discovered it to be empty:

Checking out the uploads for website number two.

Alternatively, right here’s what we discovered when checking the media folder for online page primary:

Checking out the media folder for site number one.

In case you recall, we uploaded that first symbol you spot to the left to online page quantity two. The plugin then moved it over to web page primary and equipped quantity two with get entry to to that central library.

As you’ll be able to see, the plugin works precisely as meant and it doesn’t create further copies of any of your photographs. As such, you’ll be able to move forward and add as many pet pictures as you need!


Potency is essential whilst you’re managing more than one WordPress web pages. The use of a centralized media library on your websites assist you to save time and steer clear of having to add recordsdata over and over.

All it takes to create (and check) a networked library for WordPress are 3 steps:

  1. Set up the Network Media Library plugin.
  2. Take a look at the plugin by way of importing a media record to a multisite community.
  3. Take a look at if there’s just one reproduction of the record you uploaded.

Do you’ve any questions on how one can arrange a networked library for WordPress Multisite? Ask away within the feedback segment under!

Article thumbnail symbol by way of Macrovector /

The put up How to Create a Networked Library for WordPress Multisite Setups seemed first on Elegant Themes Blog.

WordPress Web Design

[ continue ]