March 14, 2019

7 Cool CSS Tips for Beginners (2020)

Pagespeed optimization is a topic that every web developer should be aware of if not understand thoroughly. The better you optimize, the faster your website content is served to your audiences. HTML, CSS, Javascript, together with images, are almost compulsory when building a front-end website. These assets should be optimized to reduce the HTTP requests, and…

March 11, 2019

Redirect users back to protected files after WordPress login

Prevent Direct Access plugin provides an easy way to protect WordPress media files against Google and unwanted users. When users access your protected file without proper File Access Permission (FAP), they will be redirected to “No Access Page” which is 404 error page by default.

August 29, 2018

Build Your Own REST API on WordPress in 3 Minutes

In this article, we will learn how to build a REST API on WordPress. Registration In order to build our API, we first need to register it with WordPress by using  rest_api_init hook which fires when the API request is coming. add_action( ‘rest_api_init’, ‘regsiter_api’, 10 ); Inside the register_api function, we will register the routes and implement…

July 20, 2018

How to add a custom column to WordPress Pages and Posts table

Blogging is one of the basic features of WordPress. Apparently, Posts and/or Pages section in Admin Screen is where most users spend their time on. In this tutorial, we will go through 2 simple steps on how to add a custom column to WordPress pages and posts table in order to provide the extra information…

July 17, 2018

How to Create a custom Settings Page For WordPress Plugins

Most of the plugins we use in WordPress probably have a Settings page that allows users to set up or update options according to their preferences. This can increase your plugin’s usability. In this article, we will show you how to create a custom Settings page and its submenu easily with Settings API. Register the plugin…

June 25, 2018

Media Vault vs Prevent Direct Access

Prevent Direct Access Gold and Media Vault are the only 2 solid WordPress plugins we’re aware of that allow you to protect file uploads from public access. Media Vault: Protect Attachment Files First of all, Media Vault is undoubtedly a terrific plugin. It’s probably a pioneer plugin in protecting WordPress files from public access. Despite the…