Vi editor is a command line text editor. It’s a single window with text input and output only. It is the most popular and classic text editor in the Linux and it is available in all Linux Distributions. There are…
Creating Custom Shortcode in WordPress
With a lot of customization with the theme WordPress also provide us to create our own Custom Shortcode. Basically, shortcodes are the small piece of code which let user to add dynamic content in WordPress posts, pages or sidebar widgets.…
LocalStorage in JavaScript
LocalStorage is a type of web storage that allows JavaScript websites and apps to store and access data right in the browser with no expiration date. This means the data stored in the browser will persist even after the browser…
How to enable MySQL slow query log and analyze it on Linux
MySQL slow query log is helpful when you needed to debug slow down or failure of your MySQL server. Slow query log can house queries which took more than n number of seconds.
Fixing “SSL operation failed” email issue in cakephp 3.8
Sending emails from a CakePHP application is simply a piece of cake. Here is the basics according to Cakephp documentation. Here is the basic configuration in config/app.php 'EmailTransport' => [ 'default' => [ 'className' => 'Smtp', 'host' => 'smtp.xxxxx.com', 'port'…
Understanding WordPress Template Hierarchy
WordPress is the most used CMS that powers 30% websites over the internet! WordPress uses themes to control look and feel of a website. You can create new theme or a child theme by following simple instructions found here.
Everything you need to know about CakePHP Migrations
Migrations is a powerful feature in CakePHP. It gives you a tool to create or import database structure and data through command line interface. CakePHP Migrations is installed by default when you install CakePHP.
CakePHP Captcha Demo is now available via Github & Composer
CakePHP Captcha plugin for CakerPHP 3 is a very useful addition to your CakePHP app to keep submissions on your website spam free. CakerPHP 3 Captcha plugin can be installed in simple steps using composer or can be placed in…
How to receive an email alert for disk usage on linux server
Certain actions on your online application need ample free space on disk to complete. For example, when you want to install new software. Even when you want to run updates on your server your server needs free memory and space…
Adding custom css for the post editor view in WordPress
You should read this post in order to understand the methods to add custom css to WordPress admin end. In this post I will demonstrate how to add custom css styles which reflects within the Visual editor in WordPress.