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 […]
WordPress & WooCommerce Hooks and Snippets: Customizing and Extending Functionality
In this section, we focus on enhancing your WordPress and WooCommerce sites using hooks and custom code snippets. Hooks allow you to modify or extend the functionality of your website without directly editing core files, making your site more flexible, efficient, and easier to maintain. This approach empowers you to tailor your website’s features according to specific business needs while maintaining compatibility with future updates.
Whether you're looking to improve your site’s speed, security, or functionality, the hooks and snippets shared here will help you customize WordPress and WooCommerce to meet your exact requirements. From simple tweaks to complex customizations, you'll find solutions that help you get the most out of your website.
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 […]
How To Customize Yoast SEO Breadcrumbs in WordPress
The Yoast SEO plugin is a popular choice for optimizing content for search engines, and it includes a feature for generating breadcrumbs. Breadcrumbs are a navigational aid that helps users understand the site structure and easily navigate back to previous pages. This hook allows users to add a custom “Blog” link in the Yoast SEO […]
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, […]