Yet another programmer blogging about code

Select PayPal landing page for Easy Digital Downloads

February 19, 2018

Easy Digital Downloads comes with a PayPal Standard payment gateway, which lets us get our store up and selling quickly and cheaply. Let’s get it to select a better landing page with PayPal Standard, and make our credit card customers happier. (more…)

Localising a Gravity Forms add-on

January 25, 2018

The Gravity Forms Add-on Framework makes the job of creating an add-on really easy. But there’s a couple of problems with letting it load our text domain for us:

Configure WP Super Cache

January 2, 2018

Page caching is important for the performance of your WordPress website. Here’s how to configure WP Super Cache to serve up your site’s content from the cache, without bogging down your server. (more…)

Payment receipts with Gravity Forms and eWAY

November 14, 2017

Gravity Forms email notifications can be used to send simple payment receipts for eWAY transactions. (more…)

PHP DateInterval can’t have both weeks and days

January 30, 2017

PHP has some handy Date classes, including one for specifying date intervals. But you need to be wary of some idiosyncrasies, as I just found out. (more…)

Gravity Forms add-ons need to have capabilities

January 1, 2017

TIL that you need to give Gravity Forms add-ons some capabilities, otherwise they might disappear from the WordPress admin. (more…)

exim4 with wildcard email aliases

December 31, 2016

When you configure exim4 as your email transport, you will likely need to tell it to replace some user names with aliases. To make your life simpler, use wildcards to do the job for you. (more…)

Customise WooCommerce out of stock message

December 23, 2016

Sometimes the WooCommerce out of stock message isn’t quite appropriate. Here’s a couple of ways to change that message. (more…)

Searching custom meta on custom post types

November 26, 2016

Ever needed to search for a post by something other than the title or post content? If you’ve built a website with custom post types that have additional fields, it’s a good chance that admins will need to search on your custom meta. (more…)

So, 2016 just happened

Wow. It’s been over a year since my last blog post. 2016 seems to have just steamrolled over me. This is not good! But I’m not going to let 2016 beat me completely, so there will be a few blog posts over the next few weeks. Get back in your box, 2016, I’m not done.