We are all aware of how important the speed of your website is to your business. The slower our website is, the higher the bounce rates and loss of business.Continue reading “The ultimate guide to speedy WordPress sites”
In this guide, I will should you a simple trick to make your website’s search results page URL much nicer.
With WordPress, you can make your posts URLs prettier from within Settings -> Permalinks.
Unfortunately there isn’t an option to improve the look of your search results page, and by default looks like this:
Continue reading “How to make search URL prettier in WordPress”
This is a simple guide on how to add test products and orders dynamically to your WooCommerce shop. This functionality can be useful to test the limits of your website setup and of your server by allowing you to add 1000s of products and orders automatically.Continue reading “How to create products and orders programmatically in WooCommerce”
If you are looking to add a product to the cart as soon as a specific page is loaded, we can do the following:Continue reading “Add Product to Cart Programmatically in WooCommerce”
Clients are often looking to customise the checkout field on their WooCommerce shop. This can be done using the “woocommerce_checkout_fields” filter.Continue reading “Customise WooCommerce checkout fields”
Imagine the scenario where we have 2 coupons, one (5off) that gives $5 discount to the total client order, as well as a coupon (10off) that gives $10 discount to the total client order.
When the user inserts any of the coupons in, we want the $10 off coupon to apply only if the total order value is over $50, otherwise, we want the $5 coupon to apply instead.Continue reading “How to add or remove coupons dynamically based on cart total, on WooCommerce”
In this tutorial, you will learn about how to create leads in Salesforce programmatically, without the use of plugins. This tutorial focuses on integrating Contact Form 7 to SF using the Web-to-Lead method.
The full code can be found at the end of the tutorial.
If you are interested in a different integration please let us know in the comments section.
In WordPress we can remove update notifications from all users except specific roles, by username or by user ID. Below you can find a few examples that you can insert into your functions.php file.Continue reading “How to remove update notifications for all users except admin”
In this guide, you will learn how to create custom validation in CF7. This guide is also the solution for programmatically making fields required.
Contact Form 7 uses the validation server-side, which means we need to hook into the PHP functions/filters in order to create custom validations.Continue reading “How to make fields required programatically in Contact Form 7”
If your WordPress site shows you have an update available, but none can be found in themes or plugins, you can use this snippet to debug the issue.Continue reading “Debug Pending Updates”