I recently needed to generate an XML file (Yes, an XML file, don’t ask why) for every order placed on a WordPress and Woocommerce based website. Wow.. headaches for ages thanks to using the incorrect Woocommerce hook but I’ll get into that in the tutorial. Let’s start with some basics… Understanding Hooks There are two […]
Tag: wordpress
How to update your WordPress database when changing your domain name
So you want to change your domain name to include more unicorns and rainbows. Here’s how to update your database to make it work.
How to create an AJAX form in WordPress
Below is an ajax newsletter subscription example i put together. It displays a single input field form that once submitted emails the subscriber details to a specified recipient. This script can be used in many ways, you could even change the function to add the details directly to a database.