Are you looking to improve the quality of your YouTube preview images in the Perfmatters plugin? We have just the solution for you! Today, I’m excited to introduce you to a highly useful helper plugin that significantly enhances the quality of YouTube preview images when you enable Lazy Loading iFrames and Videos in the Perfmatters […]
hooks
How to Display the Last Modified Date – WordPress
Today I’m going to share with you a simple snippet for WordPress that displays the date of last modified blog post. As always, you should add this snippet to the functions.php file of your child theme. Good luck!
How to Add Customer Email to WooCommerce Cancelled Order Notification
Recently, one of my old customers asked me to add the customer’s email to the recipient list in the canceled order notification (WooCommerce). I was surprised that this simple option is not there by default. I wrote such a hook, which works great and fulfills its function 100%. This snippet should be added to functions.php […]
How to Add Post Thumbnails to WordPress RSS Feed
If you use Mailchimp or a similar mailing list service, you’ll probably find this code. This code ensures that the featured image of each post is included in the RSS feed as a element, enhancing the feed with images. Like all hooks this code needs to be inserted into fucntions.php of your child theme. Or […]
How to Disable Payment Method When a Specific Product Category is Available – WooCommerce
Recently one of my clients asked me to make the following change to a website. For specific products, hide all payment methods except Wise Payments. But at the same time hide the Wise Payments payment method for all other products.To solve this problem, I added a “Limited” category and added additional code to functions.php. This […]
How to add email notification when an order is in Pending status in WooCommerce without plugin
Just recently one of my clients asked me to add a notification feature if an order goes into Pending status in his WooCommerce store. This simple hook helps to solve this problem. This code should be inserted into fucntions.php of your child theme.