WHAT IS AUTO LOAD NEXT POST? It simply automatically loads the next post on your blog once the user has reached the bottom of the initial post the viewer is reading and repeats the process as the user reads your content until there are no more posts to load. Source: https://wordpress.org/plugins/auto-load-next-post/ In this tutorial I am… Continue Reading
wordpress
Skip Invoice for Cancelled & Failed Order in WooCommerce PDF Invoice Plugin
I am wanting to skip the invoice for my cancelled & failed order. I am using the WooCommerce PDF Invoice plugin. It is very simple and easy job. Plugin have a filter bewpi_skip_invoice_generation. So you can do it without editing the core plugin.
1 2 3 4 5 6 7 8 9 10 11 |
function cpaul_skip_invoice_generation( $bool, $status, $order ) { /** * wc-failed slug is for Failed order * wc-cancelled slug is for Cancelled order */ if( $status == "wc-failed" || $status == 'wc-cancelled' ) return true; // true to skip return bool; } add_filter( 'bewpi_skip_invoice_generation', 'cpaul_skip_invoice_generation', 10, 3 ); |
Just drop the above code into your functions.php file or custom… Continue Reading
Update Price Automatically When Quantity Changes on Click
I built a order form using WordPress Contact Form 7 plugin. I’m wanting to update the price automatically when quantity field’d value is changing on mouse click or key press. See the animated image file. You can understand the requirement. I added the simple JS code into my js file. Assume your quantity field name… Continue Reading
Changing Website URL in WordPress
This tutorial will show you how you will change the old site URL with new site URL in WordPress. It is very easy job. Anyone can do this in 30 mins. Here is the steps for it: Update wp-config.php file via FTP/CPanel Connect to your server with FTP or CPanel. Download the wp-config.php file and… Continue Reading
Retrieving Admin Password using PHPMyAdmin
This method is requiring when you are unable to reset the password from WordPress login page. Personally I am following this techniques: At first I am installing the fresh WordPress at my localhost and creating the administrator account. Later I am opening the localhost’s phpMyAdmin and copying the password from wp_users table (image attached). Now… Continue Reading