Adding Custom Fields to Products in WooCommerce

As you can on the screenshot above we will see how to add custom fields to the product edition page. To do that we will be working on the functions.php file of your theme’s folder only. The right hooks The first step is to hook an action to woocommerce_product_options_general_product_data. The function linked to this hook will be responsible for the new fields display. […]

How to add featured image in post listing page in WordPress admin?

If you want to add featured image in post listing page in WordPress admin dashboard, this post is for you. Here, I am going to show you how you can add featured image in post listing page. Just use the code below in your functions.php or in the plugin code to make the featured image appear in listing page. One […]

How to remove query string from static Resources?

Wondering how to remove query string from static resources? Just place these code in your functions.php file. This code will remove query strings from static resources like CSS & JS files, and will improve your speed scores in services like PageSpeed, YSlow, Pingdoom and GTmetrix. Resources with a “?” or “&” in the URL are not cached by some proxy […]

How to change login screen logo in WordPress?

How to change login screen logo in WordPress? is one of the most important question asked by customer when you develop site for them in WordPress. Today I am going to show you how to write simple function in WordPress that you can include in functions.php or can create standalone WordPress plugins to change your home page login screen logo. […]

How to Mark Comments with Very Long URLs as Spam?

Context: How to Mark Comments with Very Long URLs as Spam? If you want to automatically Mark comments with Long URL spam, then follow the tutorials. Solution: Spammers/Crackers/Hackers frequently link to web pages with very long URLs. So, if someone publishes a comment or enters a long URL in the website field, there is a high chance that the comment […]