Create set and get session in CI 4

Posted on: Thursday October 12, 2023

Create, set and get the session in CodeIgniter 4 [crayon-6734a8647c1a1600210869/] In view, you have to call the session again where you want to get session [crayon-6734a8647c1a9396571200/] [...]

Read More

Recent Post by Category Widget

Posted on: Wednesday September 27, 2023

Here we will see Recent Post by category dynamically, recent post will change on every category according to category id. So, we will create a widget here. Simply paste this code in functions.php [...]

Read More

csrf in CodeIgniter 3

Posted on: Saturday August 26, 2023

1.Enable csrf application/config/config.php $config[‘csrf_protection’] = FALSE; to $config[‘csrf_protection’] = TRUE; and configuer other thing if you want. 2. [...]

Read More

Custom Order status in WooCommerce

Posted on: Saturday July 15, 2023

Create a custom order status in the dropdown ‘shipped’ and mail on change status to shipped.   functions.php [crayon-6734a8647f2a3510239802/]   Create a mail file [...]

Read More

Pincode Availability Checking in WooCommerce

Posted on: Saturday July 15, 2023

Copy this code in functions.php, and you will see a input box below ‘Add to cart‘ button.   But before this you have to add pin codes in  your admin dashboard -> WooCommerce [...]

Read More