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 […]
how to
Add Purchased Products Column to WooCommerce Orders
In WooCommerce, checking the purchased items for each order can be cumbersome as it often requires opening each individual order or downloading reports. However, there’s a faster solution. This code snippet restores a useful feature that was once part of WooCommerce by adding a new column to the WooCommerce orders list (Woocommerce>Orders). The column displays […]
How To Stop Spam Registrations in Woocommerce
If you are a Woocommerce store owner, then as the popularity (traffic) of your site grows, you will definitely face the problem of unwanted registrations (spam/bot) that make it difficult to keep your user database clean and up-to-date. In this article, I will describe all the methods to fight spam registrations on the WooCommerce platform. […]
How to remove Rank Math plugin dashboard notification
Rank Math is a great SEO plugin that do an amazing job. The only thing that constantly bothers me and my clients is the annoying alerts inside the Wordpress admin area. Unfortunately they don’t disappear if you click on the “X”. If you too are fed up with the notifications from the Rank Math plugin, […]
Replacing original image with a smaller copy in Wordpress
This hook is particularly beneficial for those aiming to optimize server disk space. If you frequently upload large images to your WordPress site, you may encounter the challenge of expanding disk space over time. While some web hosts might not find this problematic, if you’re hosted on Rocket.net, additional charges may apply for the space […]