WooCommerce: Allow adding multiple products to the cart via the add-to-cart query string

If you’re not familiar, WooCommerce offers a way to link to the checkout/cart page and automatically add a product to the cart (h/t Justin). You can create a link like so: I recently (somewhat annoyingly) discovered that while that works fairly… Read More

Don’t Repeat Yourself. Use WP Lib Loader instead!

I’m a huge fan of the DRY (Don’t repeat yourself) school of thought, and doing a thing once, and doing it well. Because of this, if I sense there’s any chance the code I’m writing is something that… Read More

Why you (we) should care about disabled Javascript

The conversation came up internally at WebDevStudios, and I knew I had seen Ethan Marcotte, and/or Mat Marquis rant on it a bit before (I mean that in the best way), so I hit them up on twitter: .@wilto… Read More

“Designeveloper — a Practical Designer’s Guide to Next-level Your Developexpertise” Presentation – WordCamp Philly ’15

Bridging the designer/developer gap is a challenge not often accepted. Designers who are comfortable in PHP and in the ‘back-end’ of WordPress are rare enough that we’ve coined the term ‘unicorn’ to describe them. My personal favorite is ‘designeveloper’ (yep, it’s even on my Twitter bio). My transition began from a house painter and part-time graphic designer to a web designer for WebDevStudios. Over the course of my 4 years at WebDevStudios, I made the transition from a web designer to a developer and now even, a developer lead. I aim to give some practical insights and resources to help make that designer/developer transition and learning curve a little less scary. Maybe… even a little exciting.

— https://philly.wordcamp.org/2015/

Follow along with the slides over here.

Better Javascript, a WDSLunch presentation

In March, I (re)presented on some of the fundamentals of writing better javascript for an internal WDSLunch presentation. The slides contain a ton of useful info and are an accumulation of a lot of tips & tricks I’ve learned along the way. I definitely recommend checking them out. The two resource slides at the end are gold. dsgnwrks.pro/wdslunch-better-javascript

WPSessions: “Custom Meta and Settings with CMB2”

Last Friday I had the privilege to present on CMB2 for WPSessions. If you use CMB2 at all or are interested in getting started, I HIGHLY recommend you purchase that session.

Please support WPSessions and CMB2 by purchasing the session here.

My presentation/notes for that session can be found here.

My Sublime Text 3 Packages

I’ve really appreciated getting a glimpse into the ST3 tools others are using (the latest of which is John Blackbourn’s which was inspired by Dominik Schilling’s) and so here is my own. Here are the packages I use(d): Update 06-21-2017: For the… Read More

WP_Error vs PHP Exceptions in WordPress

So today, I instigated a lively discussion on the topic of WP_Error vs PHP Exceptions. I’m curious why try/catch exceptions are rarely used in WP dev? Any insight? — Justin Sternberg (@Jtsternberg) April 2, 2015 A great deal… Read More

WordPress admin bar tweaks for extremely large networks

WordPress multisite is an awesome tool, but has its limitations and caveats, ESPECIALLY when you’re dealing with very large networks. At WebDevStudios, we use this snippet to prevent the ‘My Sites’ menu from querying every site on the… Read More

Giuseppe Mazzapica on: “What is the best way to initiate a class in a WP plugin?”

Giuseppe Mazzapica wrote a very thought-provoking and insightful response to the question “What is the best way to initiate a class in a WP plugin?” on wordpress.stackexchange.com. I definitely recommend a read. It will probably make you smarter.