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 […]
hooks
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 […]
High Resolution Preview Thumbnails for Youtube Embeds in Perfmatters Plugin
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 […]
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!