Bootstrap 5 navwalker for wordpress

At first, you need to register in the functions.php if menu already not exist. After that, Copy and paste the bootstrap_5_wp_nav_menu_walker class into the functions.php file of your theme. After [...]

Configure SMTP on WordPress without using a plugin

Using the WordPress API :Instead of using a third-party plugin to handle e-mail for your site, you can develop your own custom code and use the wp_mail() function in the WordPress API. The [...]

COVID-19 Impact on Industries & Sectors in India

Introduction What is COVID19? The corona virus didn’t escape from lab.The source of the coronavirus is believed to be a “wet market” in Wuhan which sold both dead and live [...]

Display Gallery Results Based on Current Year and previous year using CPT

1) create custom post type function for gallery 2) Gallery page (page-gallery.php) (only show current year post) 3) now we need to create a sirebar for gallery pages (sidebar-gallery.php) 4) [...]

Display Regular And Sale Price in WooCommerce Cart Table

If you want to display regular and sale price in the cart table. add the following code in the functions.php file

Display the Sale price before Regular price in WooCommerce

If you want to display the sale price before regular price, add the following code in the functions.php file

Duplicating a Page and Post in WordPress Without a Plugin

Of course, you don’t have to use a plugin to clone a page or post in WordPress. This can also be done manually, by either editing the funtions.php file or copying and pasting the relevant code. [...]

Get next 6 days from the current date in PHP

First of all, you must know how to increment a date by PHP +1 day. We have to run a for loop based on the range of days to echo each of the dates between the start date and end date. For example, [...]