Blog

March 28, 2019

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…

March 15, 2019

Vue.js in WordPress Plugin Development

Last month, our team decided to transform our plugin’s setting page to reactive UI by using one of the most popular JavaScript framework, Vue.js. In this article, we will share our experience while working with Vue.js in WordPress plugin development. Why Vue.js? Why Vue.js? We choose Vue.js among the alternative frameworks due to the simplicity….

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…