Disable “Are you sure you want to log out” message in WooCommerce
Do you think your customers get annoyed when they see this ” Are you sure you want to log out ” message after they click the log out button? Well, At least I get annoyed by this unnecessary process which serves no real purpose (at least not for me). Good news is you can easily disable this, I’ll show […]
Show only Lowest or Highest prices for variable products
If you are using woocommerce as an e-commerce platform you probably get annoyed the way variable products show the price in woocommerce. Yes, It’s just standard way to show variable prices on any e-commerce platform out there, but that doesn’t mean it is the best way to do it in every scenario. It is your personal choice as […]
Directly downloadable button for pdf/gif/png/png in JavaScript
I am using javascript to make a downloadable button for JPG & PNG images. it ill directly download any image/pdf/gif/png/etc. <style> .harishcouponbtn { font-size: 1em; padding: 1em 2em; color:#fff; background: #24871b; border: 1px solid; border-color: #155010 #13470e #103b0c #13470e; border-radius: 0.25em; […]
Create Custom Theme in WordPress
1. Give a Complete Path of images and files <?php echo get_template_directory_uri();?>/ 2. Call Header & Footer Files <?php get_header(); ?> <?php get_footer(); ?> 3. Reg. Menus for Website & WordPress Dashboard i. To Reg. WordPress Menu To register a navigation menu in WordPress these two functions should be used: register_nav_menus() Add below code in […]
How to Increase Upload Size Limit In WordPress without Plugins

We can Increase Upload Size Limit In WordPress without Plugins Add the below code in .user.ini file –> in the main folder of the website. [PHP] display_errors = Off max_execution_time = 512 max_input_time = 512 max_input_vars = 2000 memory_limit = 512M post_max_size = 512M session.gc_maxlifetime = 1440 session.save_path = “/var/cpanel/php/sessions/ea-php72” upload_max_filesize = 512M zlib.output_compression = […]
remove comment section from Website & Dashboard
Add Below code in function .php to remove comment section from deshboard. add_action(‘admin_init’, function () { // Redirect any user trying to access comments page global $pagenow; if ($pagenow === ‘edit-comments.php’) { wp_safe_redirect(admin_url()); exit; } // Remove comments metabox from dashboard remove_meta_box(‘dashboard_recent_comments’, ‘dashboard’, ‘normal’); // Disable support for comments and trackbacks in post types foreach […]
Cheatsheet for Web Developer
HTML_Cheatsheet CSS_Cheatsheet JavaScript_Cheatsheet PHP_Cheatsheet MySQL_Cheatsheet Django_Cheatsheet Flask_Cheatsheet
How to Add WhatsApp Float Icon on WordPress & HTML

Hello Friends, Today I will tell you how to add WhatsApp Float Icon on your website without writing more code. I will give you a simple code that will setup a WhatsApp float button on your website. So Lets start… Add WhatsApp Float Icon on WordPress & HTML Today my one client needs a WhatsApp […]
Custom Function for WordPress
Make Fields Required or Optional on the WooCommerce Checkout Page Hello Fiends, Today I received a message from my client she want to customized (Billing and Shipping) Checkout Page. She have some requirements as bellow mentioned. Shipping Address Checked Automatic When we use Default Shipping Address in Woo commerce setting then shipping address automatic checked […]
How to Hide Qty Fields From Cart Page In Woocommerce

Hi Friends, Do you have a Woocommerce website? Today I will share with you a complete guide on How to Hide Qty Fields From Cart Page In Woocommerce. Why do I use it? When you have a customized website in WordPress then you have some problems managing your website. When you add a product on […]