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 [...]


Adding custom trigger in WooCommerce Automate woo?

Automatewoo provides powerful marketing automation for your woocommerce store.  You can achieve automation by creating various workflow.  This plugin works fine on your WooCommerce subscriptions, WoooCommerce Vendor and membership plugin as well. Workflow comes in action with triggers, rules, Variables and action. Please visit this link for more details. On this article, we are going [...]

Reset WooCommerce Vendor capability?

Hi Guys, This article is related to WooCommerce Product Vendors plugins  which gives your store a  multi-vendor marketplace. This article provides you with a source code to reconfigured vendor capability to access the WordPress dashboard.  Copy the source code and paste on to your theme functions file or any where inside your plugins. //rewrite the vendor [...]

Remove unused order column?

Hi Guys, This post will show you how to remove unused column from WooCommerce Order. With the recent WooCommerce update it add new column called Actions which may consist of options to change status. This will seems too bulky if there is so many status on our store. Just to get rid all those buttons, [...]

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', [...]

WooCommerce downloadable links lost?

Hello Everyone, Today I am going to share my experience of debugging WooCommerce download links which was lost after the transferring the host. Actually transferring the host  sometimes broke the serialised data and in our case serialised value of   _downloadable_files  meta key was broken. After detecting the issue was from broken serialised data I went to [...]