How to update WordPress plugins automatically?

In a recent sprint, we made a remarkable revamp for the UI architecture of Prevent Direct Access (PDA) plugin and its extensions: Membership Integration and File Access Restriction. We faced a problem that when the customers update the new version 3.1.0 of PDA, they also have to update the next version 1.1.6 of Membership Integration…

How to add a new widget in WordPress?

We have completed a task related to WordPress widgets recently, which brings us a chance to figured out how to create a new widget in WordPress. In this article, we will share our experience with you. Step 1: Register Widget It’s very convenient when WordPress provides a hook called widgets_init. We will create “your_class_name” in…

How to Bulk Upload Media Files Using WordPress CLI

Most hosting providers set a maximum file upload in WordPress ranging from 2 to 64MB. This is a huge restriction especially when you want to upload a lot of large files. Even if you manage to increase the upload size limit, big GIF and video files often cause timeout error when uploading through WordPress media…

7 Ways to Redirect WordPress Attachment Pages

Every time you upload a media file to your website, WordPress will automatically generate a new “attachment” page for that file. In other words, there is an attachment page for each file upload that you have on your website. This page displays your embedded PDF file with a description if any on a blank page. For example, if you upload a file…