Email Marketing Win

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 web site. This eventually extended to helping with registration and marketing of the Mac-A-Thon. In 2011 I designed a new flyer, re-did the registration forms…

Read More Read More

Changing the default WordPress email sender

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) { return ‘Customer Service’; }

Elavon Gateway Requires ‘ssl_customer_code’ for American Express

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 guide¬†is not required. I’d email Elavon to let them know about the problem, but I’ve never gotten an email response from their tech support (even…

Read More Read More

Filtering excerpts in WordPress

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

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 1.2. The best way to proceed with an upgrade like this is to create a new sub-domain on your server where you can try the…

Read More Read More

Processing Custom Post Type Content in WordPress

Processing Custom Post Type Content in WordPress

I’m using WordPress custom post types in a project right now, which requires a number of new content sections that are similar to the_post(). In the WP back end, the new content panels are created using add_meta_box() with the TinyMCE WYSIWYG editor so that HTML can easily be added to the content. However, since I have to retrieve the meta box content using get_post_meta(), none of the usual content filters are applied, so we just get the text and any…

Read More Read More