This week I’ve been working on a new website for Lava Rock Realty to promote their property management services by showing their vacation rentals on their site. My first instinct was to use custom post types to create something custom that would do exactly what we needed. I figured it wouldn’t take very long and […]
Author Archives: Chris Runnells
Email Marketing Win
I just wrapped up online registration for the Mac-A-Thon which is a fundraising race for Keoua Canoe Club. This race has been going on for the past 32 years, and is one of the oldest 5k/10k runs on the island. Three years ago when I joined the canoe club I volunteered to help with the […]
Changing the default WordPress email sender
It’s not uncommon to want to change the email sender that WordPress sets automatically, especially in e-commerce situations. It’s actually really easy to do by adding a couple of filters in your theme’s functions.php file: /** change the default WordPress email sender */ add_filter(‘wp_mail_from’, ‘my_mail_from’); add_filter(‘wp_mail_from_name’, ‘my_mail_from_name’); function my_mail_from($email) { return ‘customerservice@example.com’; } function my_mail_from_name($name) […]
Elavon Gateway Requires ‘ssl_customer_code’ for American Express
After building an Elavon gateway for Shopp, one of my clients reported an error saying that they were getting an error whenever one of their customers tried to pay with an American Express card. The error code was 4009 – Required Field Not Supplied, and the required field was “ssl_customer_code” which according to the developer […]
Filtering excerpts in WordPress
By default WordPress displays […] at the end of an excerpt, which doesn’t look good. Instead, I use this functions on blogs that I build, which changes it to something that looks better. Just add the following to your active theme’s functions.php:
Upgrading Shopp 1.1.9 to 1.2.3
Shopp 1.2 has been with us for some time now, but prior to 1.2.2 there were problems with upgrading from 1.1.x. Now though, upgrading to 1.2.3 (the current version as of August 2012) from 1.1.9 is incredibly simple. Before proceeding, I recommend reading the documentation for upgrading to Shopp 1.2 and the template changes in […]