Blog

Create Beautiful Datepicker Field in WordPress Admin

In this tutorial I will show you how you can easily create a beautiful datepicker field just like on the screenshot below without any additional JavaScript libraries.

create custom datepicker field in user settings

Copy Media Files Between Sites Within a Multisite Network

Recently I’ve been working with this functionality in one of my plugins and now I decided to share it with you.

But I always want my tutorials to be more practical, so check what we are going to create:

move images to another website within a WordPress multisite network

The whole tutorial consists of two parts – in the first one I will show you a ready to use function that allows to move media from one site of a multisite network to another, in the second – we will create a custom bulk action for media files.

How to Create File Uploader on Checkout Page

In this tutorial I will show you step by step how to add a file uploader field to WooCommerce checkout page without any plugins.

Developing Decentralized Crypto Payment Gateway

Welcome to a detailed guide about setting up payments on the websites using cryptocurrency. First of all I will explain some basics to you and then we will create our own payment gateway for WooCommerce (it is a eCommerce platform for WordPress).

Create Orders Programmatically

In this tutorial we are going to dive deep into creating an order on your WooCommerce store completely via code. I already have a similar tutorial on my blog where we created a product programmatically.

First things first, you should know a very simple thing – yeah, orders is a WordPress custom post type and no, we can not use wp_insert_post() to create them. We have to use a CRUD layer for that. If it says nothing to you, please be patient, we’re going to dive into it in just a little bit.

Apply Coupons Programmatically

In this tutorial I am going to show so many different ways and conditions how you can apply coupons in WooCommerce.

But the very first thing you have to keep in mind is that coupons can be applied either to products in the cart or to products in an order.

Check if Product is in Cart

In this simple guide I will show how to check in WooCommerce if a product with specific ID is in cart programmatically. We are also going to do it for different types of products and take a look at products with custom cart item data.