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:
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.
In this tutorial I will show you step by step how to add a file uploader field to WooCommerce checkout page without any plugins.
I had so many requests about multiple image uploads in comments in this tutorial, so I decided to create a separate tutorial specifically about that.
Our goal is to create something like this:
Guys, there are actually two ways of creating a meta box like that, the first way is an easy-breezy way, but you have to install my Simple Fields plugin first, the second way – is to do everything manually from scratch. But please do not worry, no matter what method you choose, I am going to cover both of them in this tutorial.
In this tutorial I am going to show you how to do two things at the same time:
- Add an admin column for WordPress featured images of any post type.
- Add a quick edit option for featured images.
When you upload files to your website using media uploader in admin area, WordPress usually handles everything for you. So all the uploaded files automatically appear in WordPress media library and after that can be easily managed, inserted to posts etc.
But when you create some custom functionality, or maybe forms on your website front-end, you should handle it by yourself. And in this tutorial I will show you how.
In this tutorial we are going to take a look on two scenarios:
In this tutorial I am going to dive deep in WordPress media uploader functionality. By the way it is possible to implement not for only images but for any supported file types.
This is how it looks in WordPress admin area: