If you want to remove categories from the breadcrumb trail on WooCommerce product pages, there’s a simple solution using a custom WordPress hook. Breadcrumbs are great for improving navigation and SEO, but sometimes you might not want to show certain elements, like categories, especially on product pages where they may clutter the trail. In this […]
wordpress
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 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 Disable schema markup in All in One SEO plugin
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 […]
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 […]