How to Make Featured Image Responsive in WordPress

Featured images are not responsive out of the box in Wordpress. There is a function add_image_size() to make copies of the featured image with different...

Create Image Zoom in / out Effect on Mouse Hover with CSS

I was looking for a way to zoom into an image on mouse hover. Turned out, it is rather easy with CSS. (more…)...

Simple Login System in PHP Without Database

This is a tutorial on how to create a simple login system using PHP without any database. This system can be use to protect multiple...

Add Custom CSS Classes to Li and Menu Link in WordPress wp_nav_menu

Sometimes you need to customize the default wordpress menu system to add your own set of css classes. Wordpress provides a couple of filters to...

How to Make Pagination Work with WP_Query Custom Loop in WordPress

Wordpress default pagination does not work with custom loops created with WP_Query out of the box. So if you have a custom query like this...

Creating a Full Screen Overlay using Jquery and CSS

Recently i had to work in a project where this full screen overlay had to be shown with just a message in the middle of...

How to Add Bootstrap 4 to an Angular 6 App

Depending on your preference there are several methods to add bootstrap styling to Angular 6 app. Method 1: This is the simplest way using CDN links for...

Remove an Element from an Array in Javascript

The simplest way to remove a particular element from an array in Javascript is to use the "splice()" method. First find the index of the element...

Copy Entire Folder, Subfolder and Files in Linux

Sometimes you may need to copy an entire folder with subfolder and files inside to another folder. Use the following command: cp -r /soure/folder/* /destination/folder "-r" flag...

Fix MySql Server Gone Away error While importing Blob content

Typically this error occurs when a column/field contains binary objects. Binary large objects (BLOB) packet size is usually bigger than other type of content as...