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.

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

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

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

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

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

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

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

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