How to Create custom Shortcode in WordPress

In WordPress, Shortcode is special tags which specified within the [] brackets and use on the page, post, and widget.

The code is replaced with some other content when previewing the page.

It can also take parameters.

Shortcode is flexible and allows you to place it wherever you want.

In this tutorial, I will show how you can simply create Shortcode with or without parameters and use in WordPress.

In the example, I am creating Shortcodes in the WordPress theme.

How to Create custom Shortcode in WordPress

Read more

Pagination with Search Filter in CodeIgniter 3

Pagination gets complicated when finding specific groups of records when there is a large number of records are available.

By adding a search filter with pagination makes it easier for the user to easily find records e.g. filter list by country, department, name, etc.

It is easier to add pagination using pagination library in CodeIgniter.

In this tutorial, I am using the SESSION to store search value and filter the pagination list.

Pagination with Search Filter in CodeIgniter 3

Read more

Check uncheck All Checkboxes with Vue.js

Checkboxes are used on the page to allow the user to select multiple items from the list.

If the user wants to select all items then it needs to check all checkboxes one by one.

To make the selection process easier by adding a single checkbox and use it to check uncheck all checkboxes.

In this demonstration, I am using the model to check uncheck all checkboxes in Vue.js and read the checked values.

Check uncheck All Checkboxes with Vue.js

Read more