Blog

Sync Taxonomy Terms Between Sites in a Multisite Network

In this guide, I will show you how to automatically create or update a taxonomy term (it could be a category, a tag, or a custom taxonomy) on one or multiple subsites within a WordPress multisite network when you create or update it on the main site.

More than that, we will also add a checklist with all subsites to the taxonomy edit page, so you can manually select specific subsites to which you want to sync this particular taxonomy term.

This is how it is going to look:

Sync taxonomy terms between subsites in WordPress Multisite
As an example, I decided to choose WordPress tags (a post_tag taxonomy).

How to Bulk Reset WooCommerce Product Stock Daily

In this tutorial, I’ll show you how to set up an automatic product stock reset in a WooCommerce store. For example, let’s assume that “Product A” has a stock quantity of “10” at the beginning of the day. During the day, it may have some sales, but it doesn’t matter how many sales it had; you want it to have the same stock quantity tomorrow morning.

You may need functionality like this as a part of risk management measures, or maybe you just need to launch only a limited amount of sales of a specific digital product.

Anyway, below we will take a look at two methods on how we can perform an automatic daily (or weekly or whatever) stock reset on your WooCommerce store – we’ll use a programmatic approach, and I will also show how to do it using two stores and a plugin.

How to Manage Media Files in WordPress Multisite

In this tutorial, we will talk about ways of managing media files when you’re running a bunch of WordPress websites within a single WordPress multisite network. By the way, if you’re not 100% sure what a multisite network is, then you’re probably running multiple standalone sites.

Long story short, I will show you how the media files in multisite networks are handled by WordPress, how to set up centralized media management across your network, and also how to organize media with folders.

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.

WooCommerce Cart Fragments

In this guide, I would like to talk about cart fragments in WooCommerce.

Knowing what they are and how to use them could be quite handy when working with WooCommerce themes, especially when you create a custom theme for WooCommerce.

Restrict Shipping by Postcode in WooCommerce

In this tutorial, I will show you three methods of how you can configure ZIP/postcode-based shipping in WordPress (or, to be more specific, in your WooCommerce store).

  • The first way involves creating a custom shipping zone.
  • The second way allows you to leave your WooCommerce store shipping settings untouched, but at the same time to enable or disable specific shipping methods by a postcode(s) with the help of a custom plugin.
  • The third approach will be a programmatic one.

Now, let’s dive into it.

How to Filter Variations by Attributes When Editing Products

Sometimes, when you have a lot of variations on your WooCommerce stores, navigating through them can be quite overwhelming.

For example, if you have 3 variation attributes with 10 values each, then you might have 3 * 3 * 10 = 90 variations! So, some of my clients do complain that the default WooCommerce variation interface is not very convenient in this specific case.

Can we do something about it?

In this tutorial, I will show you one of the ways to deal with it – and we will create a variation filter by attributes (an AJAX one).

Filter variations by attributes in WooCommerce admin