Create Repeater Post Meta in WordPress

Repeater post meta is just a regular post meta with a small difference that one record can hold multiple or array values. In this post we will implement repeater post meta boxes in admin area of WordPress.

Create Repeater Post Meta Data in Wordpress

Create Custom Post Meta in WordPress

WordPress adds some basic data like title, content, excerpt etc with post type you save. When you need to store additional information with any post type you need to add post meta boxes to achieve this.

Create Custom Post Meta in Wordpress

Create Custom Post Types in WordPress

WordPress stores its content as post types and also allows you to add your own custom post types. Learn how to create a custom post type without using a plugin.

Create Custom Post Types in Wordpress

WordPress Theme Options Page in Admin Menu

WordPress comes with a feature to add a custom page in WordPress admin menu for various purposes we might need a custom page for. Creating a custom theme settings page can be useful when you want to store some data that is available and accessible throughout the website.

Wordpress Theme Options Page without Settings API

Lazy Load Images with Javascript

A website's page speed is an important factor that should be taken into consideration when optimizing a website. Lazy loading images plays a vital role in improving page speed with image lazy load technique.

Lazy Load Images with Javascript

Login with Google OAuth in PHP

Filling out online registration forms can be very frustrating for users. Google and many other popular social networks provide login libraries for developers to allow website's user login using their platforms without filling out registration form. We will be using Google OAuth 2.0 to create a Login with Google script.

Login with Google OAuth in PHP

Protect Forms with CSRF Token in PHP

Just making an eye catching website is not enough. Keeping a website secure is one of biggest challenges for web developers. In this post we will understand what is CSRF, how can it harm a website and how to make your website CSRF protected.

Protect Forms with CSRF Token in PHP

Generate CAPTCHA Image in PHP

CAPTCHA images are used to prevent automated form submission. This post demonstrates how to add CAPTCHA image in PHP as an extra layer to your HTML forms and  prevent automated form submission.

Generate Captcha Image in PHP

Create a REST API in PHP

REST APIs are used to exchange data using simple HTTP methods allowing different applications to communicate with each other over internet.

Create a REST API in PHP

Add Watermark to Image in PHP

You may have visited websites where you upload an image and website's watermark is automatically added  to image on fly. In this post we are going to add watermark to an image in PHP.

Add Watermark to Image in PHP