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
plugin
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
Fixing PHP fatal error of WooCommerce Predictive Search Plugin
I updated the old version of WooCommerce Predictive Search Plugin with latest version and it produced the PHP fatal error: Parse error: syntax error, unexpected ‘.’, expecting ‘,’ or ‘;’ in /htdocs/wp-content/plugins/woocommerce-predictive-search/admin/admin-ui.php on line 37 I thought that Plugin’s files are not updated properly. So I downloaded the latest version from WordPress repository and uploaded the… Continue Reading
Adding Extra Features in Agentpress Featured Listings Widget
Agentpress is a popular Genesis Child theme for Real Estate sites. The theme uses a free plugin “Agentpress Listings” to list the properties and comes with 2 widgets. By default “Agentpress – Featured Listings” widget shows the price, custom text, address, city, state and zip code. Adding the following snippet to the theme’s functions.php allows… Continue Reading
Create Two Different Nav bars for home & inner page by JetPack plugin
JetPack is a powerful plugin for WordPress site and it is coming with lot of features. Lot of people are using this plugin today. If you already installed this plugin then you will need any extra coding for this. You will get a button “visibility” at left side of the “save” button in your every… Continue Reading