Here’s a WooCommerce quirk that flies under the radar until your site audit flags it: every subcategory on your store is accessible under two different URLs simultaneously. For example, a subcategory “Footblall balls” nested under “Balls” will be reachable at both: Both URLs load the exact same page. WooCommerce sets a canonical tag pointing to […]
WordPress & WooCommerce Hooks and Snippets: Customizing and Extending Functionality
Enhance your WordPress and WooCommerce sites with powerful hooks and custom code snippets. Hooks let you extend or modify functionality without touching core files, making your site more flexible, efficient, and easier to maintain. This method ensures your customizations remain update-friendly and aligned with your business needs.
Whether you’re optimizing for speed, tightening security, or adding new features, these code snippets offer practical solutions. From small enhancements to advanced customizations, you’ll find tools to fine-tune your site and unlock its full potential.
Fix Missing Alt Tags on WooCommerce Review Avatars
If you’ve ever run a site audit on a WooCommerce store, chances are you’ve seen warnings about images with missing alt attributes. One common culprit that’s easy to overlook: Gravatar avatars in the product reviews section. By default, WooCommerce renders review avatars with an empty alt=”” attribute. Search engines like Bing flag this as an […]
How to Disable Auto Scroll After Pagination in Divi
Recently a client reached out with a frustrating issue every time a visitor clicked through the pagination on their Divi blog page, the browser would automatically jump to the top of the section. Not a great user experience. After some investigation I discovered that this is actually built-in Divi behavior. The Divi blog module triggers […]
Open Gravity Forms Confirmation Links in a New Tab
Recently, I had an interesting case while working on a client’s website. Everything looked simple: submit a Gravity Form > show a download link. But Gravity Forms sanitizes confirmation HTML, which means attributes like target=”_blank” are either stripped or ignored in some setups. At first, this was surprising until I remembered that Gravity Forms often […]
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 prevent bots from adding items to cart
If you use the Abandoned Cart Recovery for WooCommerce plugin (or its similar plugin), you’ve probably noticed that many products are added by bots. The main problem is that some of these bots are googlebot. Why does Googlebot add items to the cart? Googlebot crawls the site by clicking on all available links, including “Add […]



