Tag: code

Hide categories with no visible products in the Product Category Widget
By default, the WordPress wp_list_categories function will…get a list of categories. Surprising, I know. It will also even exclude empty categories if you want, meaning if a category has no items...

Don’t Settle for Broken Windows
Small or large...a broken window is still broken. The same principal applies to your code. Small or large, a bug exists and needs to be fixed.

Showing EDD File Download Sizes
The other day I got an interesting support thread for Easy Digital Downloads, asking for the list of files, and their sizes be displayed when viewing a product. Being that...

Generating Star Ratings with Dashicons
Recently I was working on a ratings website, and needed a quick way to consistently generate the current star ratings of the items. Many of you are familiar with the...

Your biggest asset as a developer
It’s tossed around on resumés, touted as why someone should be paid more, and used to taunt our prowess in the ever so changing world of software development. People with...

Developer ProTip: Don’t be tricky
Well that was embarrassing! Day 1 of a plugin release. One of my first customers. Boom, Fatal Error. (╯°□°)╯︵ ┻━┻ In short, it was a simple mistake on my part,...

My Must Have Books on Software Development
You can’t be a good software developer without reading. That’s just a straight up fact. Whether it’s blog posts, documentation, or good ole’ fashioned books, you have to keep educating...

An issue for every commit
Over this past weekend at WordCamp Phoenix, I had the pleasure of sitting down with the 3/4 of the Easy Digital Downloads core development team. Pippin, Dan, and Chris traveled...

New Features and the Tyranny of the Default
It’s happened to all of us at some point or another. We see the shiny ‘Update’ button on our WordPress dashboard, phone, or other platform with excitement and can’t wait...

The Power of Pause: Know when to stop
For most software developers, working on a project is just taking a predetermined set of requirements, translating them into sudo-code, writing some code, and handing it off to a QA...