Tag: PHP

Conditionally add CSS classes to WordPress Widgets

How to conditionally add CSS classes to a WordPress Widget wrapper element, based off it's instance settings.

/ February 9, 2017

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...

/ November 7, 2015

WordPress Silence is Golden snippet for Sublime Text 2/3

When I’m writing plugins for WordPress, there are a lot of ‘models’ I follow to help speed up the process and one of my favorites is using snippets in Sublime...

/ July 22, 2015

Reducing PHPUnit test times with Travis-CI

A few months ago I had proposed that the Easy Digital Downloads project expand our PHP/WordPress version matrix for our Travis-CI builds. The problem we quickly ran into, is that...

/ January 1, 2015

Leading By Example

I’ve previously written a few posts about using WordPress Actions and Filters to better extend your plugins and/or themes. This time though, I want to talk about leading by example,...

/ August 15, 2014

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...

/ July 7, 2014

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,...

/ May 5, 2014

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...

/ May 1, 2014

Using Easy Digital Downloads Software Licensing as an API GateKeeper

It’s no secret I’m a fan of Easy Digital Downloads as I’m a contributor and support technician Lead Developer for the project. I’m also a HUGE fan of the Software...

/ April 19, 2014

A Chance To Learn Something New

In my last 4 years as a software developer for GoDaddy, I’ve had the chance to work on one of the largest scale WordPress sites that I’ve ever worked with....

/ March 23, 2014