This code snippet disables the schema generated by the All in One SEO (AIOSEO) plugin on singular posts or pages (is_singular()) and archive pages (is_archive()). By hooking into the aioseo_schema_disable filter, the function checks the type of page being loaded. If it matches a singular post or archive page, the function returns true, effectively turning […]
snippet
How to Change PayPal and CC Logos on WooCommerce Checkout
Probably you have noticed that on the checkout page of your WooCommerce site there is no logo for Paypal payment method. Also the icon for credit card payment method looks very unexpressive. If you want to change or personalize the logo on the checkout page of your WooCommerce website, then I have prepared this simple […]
How to hide results for specific statuses in Advanced Woo Search
If you have Advanced Woo Search plugin installed on your Woocommerce site and you are facing the need to not show some specific product statuses in ajax search, then my snippet will help you. For example, I have written a code that does not show items with Discontinued status in ajax search, but shows items […]
How to Change YouTube Thumbnail Resolution in WP Rocket LazyLoad
WP Rocket’s LazyLoad feature improves website performance by loading YouTube videos only when users interact with them. By default, WP Rocket selects a specific resolution for YouTube thumbnails, but you can change it using a simple snippet. If you are using the Perfmatters plugin for the LazyLoad feature, then you should read this post. Why […]
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 […]


