Double Notification and Comment Emails Explained

I finally took the time to investigate why I receive two notification emails each time a comment is posted at this blog. Granted, it didn’t hurt anything, but it was annoying to get the multiple emails on my iPhone. Initially I assumed the issue had something to do with my use of the WP-Mail-SMTP plugin (which I highly recommend if you want to use GMail to send your emails from WordPress), however it turned out not to be the culprit. The problem …

Read More

Exclude Your Traffic From Jetpack Site Stats

I recently installed Jetpack by WordPress, solely because I wanted to use Site Stats, and even that I wanted mostly so that I could see my site traffic in the WordPress iPhone app. I quickly realized that Site Stats was tracking my own internal page views as I browsed around skyverge.com, throwing off my true page view/visitor numbers. Site Stats comes with some built in ability to exclude site traffic, but I found I needed to tweak it to get exa…

Read More

WP Development

WordPress Settings API Hidden Field

This short article covers one way of creating hidden fields with the WordPress Settings API. This is useful for more than just creating hidden input fields; for instance I used it when I wanted to render a number of checkboxes in a single field, yet still have the checkbox options managed by the Settings API. The WordPress Settings API The WordPress Settings API is a great, if poorly documented addition to WordPress. The two best references I fou…

Read More

How to Upgrade Magento

I’ve been meaning to write an article on safely upgrading Magento for some time now, and with the release of Magento CE version 1.7.0 yesterday, April 24, 2011, now seems like a great time. These steps and commands are the actual ones I follow to upgrade client Magento sites, and I perform these core upgrades from the command line only. Please read through and understand all the steps before starting to follow them. Backup – This is the single mo…

Read More

WooCommerce Sage ERP MAS Connector Plugin Available

Update: We no longer sell or support this extension for new customers, but we have open-sourced the code for the integration. Please read this post for more details! SkyVerge announces the release of the WooCommerce-Sage Connector plugin. This plugin allows you to easily export order and customer data from your WooCommerce storefront to your WebServices-enabled Sage ERP MAS 90/200 backend, for order processing. WooCommerce orders are assigned an …

Read More

GitHub Repository Not Found Workaround

Today I encountered an issue with GitHub where I was unable to fetch a remote repository to merge into my local clone. Everything seemed to be configured correctly, and I am able to fetch repositories from the same user without a problem, so it seems like there is some issue with this particular repository. Although I have a support ticket open with GitHub to try and determine the root cause of the issue, for now I do have a workaround which I fi…

Read More

WooCommerce extension updates & releases

WooCommerce Sequential Order Numbers Pro Released

Today marks the release of the WooCommerce Sequential Order Numbers “Pro” plugin, the first of many practical and useful WooCommerce extensions to be released by Fox Run Software. If you don’t like the essentially random order numbers that WooCommerce uses, and you perhaps want to customize them a bit as well, then this plugin could be a good fit for you. The Pro version of the plugin builds upon the limited functionality of the free version’s si…

Read More

WooCommerce reviews + tutorials

Add Payment Type to WooCommerce Admin Email

Here’s a little snippet to add the order payment type to the WooCommerce Admin New Order email, in an upgrade-safe manner: add_action( ‘woocommerce_email_after_order_table’, ‘add_payment_method_to_admin_new_order’, 15, 2 ); function add_payment_method_to_admin_new_order( $order, $is_admin_email ) { if ( $is_admin_email ) { echo ‘<p><strong>Payment Method:</strong> ‘ . $order->payment_method_title . ‘</p>’; } } Add that bit of code to your theme’s…

Read More

WP Development

Debugging WordPress

The following are some techniques I use nearly every day for debugging WordPress and WooCommerce, and can be used for plugin or theme development equally. Echoing or printing to the screen will only get you so far when debugging, especially in a complex framework like WordPress; to really understand the code flow, and to trace and fix issues, you need to be able to log messages to a file. For this WordPress makes use of the PHP core error_log() f…

Read More

WP Development

How to Add a WordPress Plugin Action Link

I always prefer it when plugins make it as easy as possible to find their configuration page. When I install a new plugin the last thing I want to do is hunt around for some hidden menu item, I want to play around with my new toy! And what better place to link to a plugin’s configuration than right from the admin Plugins page where the plugin is activated, deactivated or (the horror!) deleted. These are called ‘Action Links’ and it’s so easy to a…

Read More