Category: WordPress
-
Where are customizer settings stored in db for wordpress theme?
How to clone customizer settings in child theme from parent theme? The customizer data is stored in table wp_options under option_name theme_mods_THEME-NAME you can view all such settings via the following query: In some cases, you just want to use parent theme’s settings in newly added child theme. If that is your case too, use…
-
Fixing broken “screen options” in wordpress site
So probably you chose “Number of items per page” as 1000 or 200 and now the page doesnt load anymore because your database ran out of memory. If that is the case, run the above query on phpmysql or any other way, edit the numbers and fixed!
-
Gravityforms limit submission – once for user, unlimited for guest
File: gp-limit-submissions/includes/GPLS_Rule_User.php Plugin: https://gravitywiz.com/documentation/gravity-forms-limit-submissions
-
How to add Buy Now button on Product page – WordPress/woocommerce?
Change && to &&
-
How to edit wordpress woocommerce order api responses (legacy + latest)
-
Standalone script to print all published post IDs in WordPress
-
Radio buttons CSS for wordpress elementor form markup
-
How to migrate Customers from Magento2 to WordPress?
Lets break it into 2 parts: a. Migrate Customer datab. Migrate Customer Passwords 1) Migrate Customer Data from Magento2 to WordPress This is rather easy to be honest, there are several plugins for importing data from CSV and then mapping the CSV fields. My recommended plugin is Customer/Order/Coupon CSV Import Suite by SkyVerge It basically…
-
How to wipe all the tables and data in MySQL? Clean whole database
Will not work via phpmyadmin or any script. this has to be run in cmd/terminal Quick Command Source: https://gist.github.com/harshvardhanmalpani/e670a8de7aa81673364dd48f125cb9ac
-
How to filter and validate pincode in Indian woocommerce?
By default, Woocommerce only validates ZIP code of few countries only. Woocommerce stores in India, are thus invalidated in case of PINCODE inputs from customers. Here is how you can enable checking of pincode for India woocommerce: Put the following code in your custom function file or child theme functions.php Reference: https://github.com/woocommerce/woocommerce/blob/ef0f527b40dba539e982efff26211fa577a24cf9/includes/class-wc-validation.php#L44