The Code You Will Love

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

Login with Email and Username in WooCommerce

Posted on: Wednesday August 30, 2023

If your woocommerce user login with email and username not working, you can try given code below. function.php [crayon-673ed3691c229611810831/] [...]

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-673ed3691d0e0971421453/]   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

Some useful Woocommerce Settings

Posted on: Saturday July 15, 2023

Write code in function.php Removing Storefront inline css [crayon-673ed3691df82597185610/] Disable plugin & Theme updates [crayon-673ed3691df9c702381122/] Hide dashboard update notifications for [...]

Read More

PHPExcel in CodeIgniter Complete Tutorial with Code Download

Posted on: Tuesday May 9, 2023

  Hope you know how to configure CodeIgniter, so here we will see how to implement PHPExcel in CodeIgniter for Import and Export MySQL Data in Excel. STEP: 1 Download the PHPExcel library and [...]

Read More

WordPress Admin – create a page without it appearing in the side menu

Posted on: Saturday April 1, 2023

Hide menu from the admin sidebar. [crayon-673ed3691ed27449902485/]   [...]

Read More

View/Template in Laravel and load assets files css, js, images etc and external template like Header and Footer

Posted on: Wednesday March 29, 2023

‘resources\views’ folder is for all templates with the extension .blade.php (e.g. xyz.blade.php) .blade is the template of laravel.   Include external file like header or footer in [...]

Read More

Controller in Laravel

Posted on: Wednesday March 29, 2023

Create controller file ‘app/Http/Controllers/ProductController.php‘ and paste the given code below [crayon-673ed36920d5f117190973/] public function index() and public function detail($id) [...]

Read More
Translate »