WordPress

How to Centralize Media Across WordPress Sites

When you manage multiple WordPress sites, and these sites have some shared content, you may be wondering if there is a way to prevent duplicating the same media files.

I mean, why copy an image from “Site 1” to “Site 2” when we can use it on “Site 2” by its direct URL from “Site 1”?

In this article, I am going to uncover different scenarios and how we can achieve the goal of having a centralized media library across WordPress sites, for example, when your sites are a part of a WP Multisite network, or when you’re using standalone sites.

Needless to say, all the methods described here work great for WooCommerce stores.

Easy Ways to Migrate Posts from One Site to Another

In this article, I want to show you how to transfer multiple WordPress posts between sites (and you can choose manually which posts).

More than that, I want it to be almost a one-click solution, something like this:

Migrate specific posts from one WordPress site to another
You can select specific posts and sync them to selected sites as well.

What you can see in the screenshot above:

  • You can connect target sites only once and then migrate posts there at any time.
  • You can select only specific posts and pages if you need, or select all of them.
  • If a post has already been transferred from “Site A” to “Site B”, then you can sync the changes made in the original version of the post at any time as well.

Seems quite convenient, doesn’t it?

Of course, there are tons of export and import plugins that are available to you; however, doing it using the export-import method is too much trouble, in my opinion. It may only do the trick during the initial migration of all posts.

How to Clone a Subsite in WordPress Multisite

In this tutorial, I want to dive deep into the steps you need to take if you want to clone a specific subsite of your WordPress Multisite network. The process is not very difficult, but there are some moments you will need to keep in mind.

We will also take a look at two different approaches – I will show you how to do it with the help of the plugin and also programmatically.

Let’s jump into it.

How to Create Media Library Folders With and Without a Plugin

In this step-by-step tutorial, I will guide you on how to create media library folders for your WordPress website. I will show you how to do it with my plugin, and we will also do it without using any plugins.

The whole idea of publishing this guide came to me because of the questions from clients who are using my shared media library plugin for WordPress Multisite. Specifically, they were asking whether or not it supports third-party plugins for media library folders. The thing is that there are no official WordPress plugins for creating media library folders. In other cases, of course, I would have added their support in the multisite shared media library.

Oh, and this is how the folders are going to look:

WordPress media library folders
This is how the folders will look if you decide to use the plugin approach I describe below. The programmatic approach will be much simpler.

Ok, now let’s jump into it.

Dashboard Widgets in WordPress

In this tutorial we’re going to discuss everything related to WordPress dashboard widgets – I will show you how to remove default ones, and how to create custom dashboard widgets, plus, we will learn how to add some setting fields to that widget.

As usual, I decided to uncover this topic with you, guys, and to share my experience, because some of my plugins have their custom dashboard widgets, for example – Multisite Indexer and Multisite Order Sync for WooCommerce.

Tax_Query of WP_Query

In this guide, I would like to talk in-depth about using the tax_query parameter when creating custom loops with WP_Query, query_posts, get_posts or even when filtering existing loops with the pre_get_posts filter hook.

This one will be super-similar to a guide about Meta_Query, but, I guess, easier.

How to Use Cron in WordPress (WP Cron and Action Scheduler)

In this tutorial, I will show you how you can use both WP Cron and Action Scheduler when developing plugins for WordPress.