All posts in Tips

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 Keep Reading…

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 Keep Reading…

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 Keep Reading…

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 foxrunsoftware.net, throwing off my true page view/visitor numbers. Site Stats comes with some built in ability to exclude site traffic, Keep Reading…

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 Keep Reading…

Import Remote Repository with EGit on Windows

Honestly sometimes I’m not sure why I continue to persist in using Eclipse as my editor of choice for most projects. Maybe it’s that I’ve been using it for so long now (7 years) and it’s gone the distance for me, though as with any long term relationship there are fights. Today was one of those fights, as I attempted to import a remote Git repository and create a project Keep Reading…

WooCommerce Sample Data

A sometimes overlooked, but useful feature of WooCommerce 1.5.3 is the included dummy data file, which can be imported to create a number of products, and even attaches product images! This is useful when setting up test/development environments and you want a range of products available without having to manually create them. Step 1 – Locate the Dummy Data File The sample data file is included with the woocommerce plugin. Keep Reading…

Date Range Picker Similar to Google Analytics

I’ve always loved the calendar date range selector in Google Analytics, it’s extremely user-friendly for the task of selecting a range of dates; much more so than the typical dual input boxes with independent calendars. There are a few options out there for replicating the Google Analytics range picker, however I couldn’t seem to find any that offered the functionality, looks, and ease of use right out of the box. Keep Reading…

WooCommerce vs. Jigoshop

If you’re considering ECommerce options in general, and especially WordPress ECommerce in particular, you may find yourself asking whether WooCommerce or Jigoshop is the best fit for your online storefront. Maybe these are the only two ECommerce solutions you’re considering, and just maybe you’re not even interested in reading a lengthy article comparing and contrasting and delving into the minutia of what are still two very similar options. If you’re Keep Reading…

WordPress Comments Feed 404 Fixed

I logged in to Google Webmaster Tools today and was greeted with a new crawl error, specifically a 404 Not Found for the Comments Feed url https://www.skyverge.com/comments/feed/. I requested the page and sure enough, it was indeed a 404. A quick search turned up a number of threads and discussions regarding this issue, which seems to stem from having a new site without a single comment yet. How embarrassing. Now, Keep Reading…