How to use same coupon with multiple discount type?

Hi Dev’s, Here, I will share my experience to use same coupon  with different discount type depending up-one the product added in cart. Here possible solution can be having discount rules added on coupon or take help of plugin which can do so, And another option will be filtering on such way that we can …

How to migrate Elementor page to another server?

Hi Everyone, Recently, I came to develop few pages using Elementor page builder, and it’s really good experience. I had started to build the pages locally and while migrating this to live it’s very difficult. That page have few static link which refer particularly to localhost. I give a try with default WordPress exporter and …

How to setup Google Analytics event tracking in Divi?

Hi Guys, This tutorial can give you quick easy fix for setting up Google Analytics event tracking in Divi Contact form. Before going forward, I assumed your website is well  set up with ga code and it’s working fine. Here logic is to use jQuery(Javascript library) to track form submit an event and keeping validation …

How to redirect the whole WordPress domain except the admin dashboard?

Hi Everyone, This article can help you to get some insight on redirection using Apache configuration file ie .htaccess. Before going further, please go through this article to better understand about .htaccess file on WordPress. The logic here is to redirect whole domain except any link that consists of `​wp-admin` and other document files like …

How to update order status when payment completed using Direct Debit?

Hi Guys, This article will showcase on updating order status when our webhook received paid_out or Confirmed status from the gocardless . Note: This will be applicable if you are using WooCommerce gocardless plugins  on your WordPress environment. //add gocardless pending submission status when direct debit payment is completed add_filter( ‘woocommerce_payment_complete_order_status_processing’, ‘update_gocardless_status_when_payment_complete’ ); /** * @param int $order_id order …

How to add dynamic data on contact form 7 email template?

Hi Guys, Today I would like to share my experience adding dynamic data on Contact form 7 email template.  The logic here is to create a hidden field and dynamically adding value on to the hidden field using wpcf7_posted_data filter hook. Step 1: Create a hidden field on contact form 7 form: I had created [hidden …

How to shuffle Deck of Cards?

Hi Guys, Today I will share my simple WordPress plugin on shuffling the card and distribute among  players,. Logic behind this is shuffling (total deck*52 card ) keeping their suit stick on it. So at the end we can extract the card on single player hand with their suit. Output:  You can download this WordPress …

How to activate drift message box?

Hello Guys, Today I will be sharing my experience on activating drift message box after certain specific time. I had achieved this by using javascript setTimeout() function. You can paste this code on theme custom js file or can use add_inline_script() function to add this script. var showwelcome_msg = function () { setTimeout( function() { drift.on(‘ready’, …

How to use widget as a shortcode?

Hi Everyone, Today I will be sharing my experience on building shortcode from registered widgets. I had developed this feature on Styled Store Pro making all the custom widgets available as shortcode. A shortcode can be very useful on using the dynamic content on post/pages content and text widgets. I hope you guys know how …

How to add Navigation on Live composer gallery slider?

Live composer  gallery slider lacks the prev and next button. Hope this tutorial helps to add this button on live composer. Step 1: First create js files somewhere on your child theme. Here I kept js files inside child-theme/js/child-theme-custom-scripts.js. Step 2: Enqueue this scripts on the WordPress standard way. function child_theme_enqueue_styles() { $parent_style = ‘parent-style’; …