-
Create Downloadable CSV File with Ajax Call in WordPress wp-admin page
Recently I was tasked to create add a button to a page in wp-admin which when clicked will create a downloadable csv file and start downloading it. The page in wp-admin was created with Advanced Custom Fields Pro (ACF). Since ACF doesn’t have field for simple button input type so I created one with ACF…
-
WPML AJAX Call Returns Default Language
If you are facing “WPML AJAX Call Returns Default Language” problem on your WordPress site then we have the solution for you. This is a common problem with developing multi-language WordPress sites with WPML. If you are logged in then the queries in the same browser will return correct results but if you test your…
-
Change Currency in WPML Based on Geolocation
Have you ever faced a situation where you needed to change currency in WPML based on geolocation? If so then you must have looked into WPML settings only to find out that WPML doesn’t have any such built-in feature. Following is a piece of code which will change currency in WPML based on geolocation. This…
-
Google Recaptcha Alternatives for China
In this article, we will list some of the Google Recaptcha alternatives. As you know Google services including Google Recaptcha are blocked in China so your website visitors cannot submit the forms.
-
Solving Common Contact Form 7 Issues
We all come across scenarios where we face common Contact Form 7 issues. For example the common issue is to use a human readable label for select dropdown menus instead of “—“. Luckily Contact 7 provides filters which can be used to solve some of the common issues. Shortcodes Within Contact Form 7 Forms One…
-
Remove Blank Lines in Email for Unfilled Form Items
This quick tip will show you how you can remove blank lines from Contact Form 7 during submission for optional fields which were left empty by the user.
-
Search and Replace Plugin for WordPress
Have been looking for a good search and replace plugin for WordPress? There are many search and replace WordPress plugins but most of them fail to fulfill your needs. For example if you need to search and replace a url within serialized data then most of the worlds cannot handle that. I have been developing…
-
jQuery typeerror invalid ‘in’ operand a after WordPress upgrade
If you have happened to see this error “jQuery typeerror invalid ‘in’ operand a” in javascript console then it is most probably due to a third party library causing the error. Recently I updated a WordPress core to latest version of 4.4.1 and all of a sudden the ajax based page/post saving functionality of the…