Latest blog posts

How did I not know about get_post_types_by_support()?

Every once in a while (well, more often then I’d care to admit, actually), WordPress core surprises me with a function that I had no idea existed. They often come in the form of utility functions, things written when developers decide “oh no, I have to write this piece of logic again?!”. Heck, there have even been talks on these hidden little bits of code that make the world a brighter place.

Today, that function is get_post_types_by_support().

Preparing for your Annual Review

The annual review can be a sink-or-swim moment for many employees, but I’ve seen far too many people – myself included – let a good opportunity to talk about growth and trajectory pass them by when review time finally comes. The review can and should be a time to reflect on your successes, reinforce learning from mistakes, and set goals for your future at the company.

Review: Building Exceptional Sites with WordPress & Thesis

While I was in St. Louis for php[tek], php[architect] announced the release of their latest book, Building Exceptional Sites with WordPress and Thesis by Peter MacIntyre. php[architect]’s Editor-in-Chief, Oscar Merida, asked if I’d be willing to read through the new book and offer my thoughts, and I quickly accepted; not only have I been looking forward to meeting Peter in-person (he’s one of the organizers of Northeast PHP, where I’ll be speaking in early August), but the book’s forward was written by my close friend and mentor, Eric Mann.

Exporting Reveal.js Slides to PDF using Decktape

After giving two talks last weekend and WordCamp NEO, one of the conference organizer emailed me and asked if I could provide PDF versions of my slide decks to send to WordPress.tv.

If you’ve seen one of my talks before, you may know that I’m a huge fan of Reveal.js, a JavaScript presentation framework that allows me to author my slides using Markdown, present in a browser, and share everything via GitHub Pages. Then, as I give talks at multiple conferences, people can see what’s changed, report any inaccuracies, and see my presentation history. Pretty snazzy!

WordPress Plugins: Procedural or OOP?

As you may be aware, I have a profile on PHP Mentoring and am currently working with a number of PHP developers looking to grow their skills and kick-start their careers. Last week, I received an interesting question through the site, and half-way into writing my response I realized it would make a useful blog post: when writing a WordPress plugin, should I be using procedural or object-oriented programming?

Yet More on Weight Loss

Today marks one year since I sat down, decided I was unhappy with my body, and started taking steps to actively lose weight. Years of “oh, I’ll offset X with a salad tomorrow” had proven that approach ineffective, and with my daughter on the way, I decided it was time to stop being passive about my efforts.

I started tracking my meals and activity on MyFitnessPal; after a month or so (and weighing in at 12lbs less than when I started), I wrote a blog post, On Weight Loss, about what I had learned in the first month. It was an extremely personal post for me, but it also helped to keep me accountable throughout the rest of the year. I also received a lot of great words of encouragement, both on the post and through other channels, from both friends and total strangers alike.

Getting started with AMP for WordPress

Late last year, Google and other organizations rolled out the open-source Accelerated Mobile Pages (AMP) Project, with the goal of introducing lightweight, lightning-fast content for users on mobile devices. AMP is essentially a subset of HTML and scripts – optimized for caching and performance – designed to speed up the mobile web and to make content accessible to every user, regardless of connection speed or strength.

A few months ago, 10up President Jake Goldman published What Google’s Accelerated Mobile Pages (AMP) means for Consumers, Publishers, and the Future, a piece that has helped spark a lot of interest in Accelerated Mobile Pages among 10up’s clientele, a group lined with major publishers and news outlets. In the article, Goldman concludes that publishers “in a crowded or hotly contested news space, or seeing meaningful traffic to stories from Google, need to quickly prioritize AMP HTML.”

Why Can’t I Change My Daughter’s Diaper?

This past weekend, my wife, her mother, and I took my daughter, Emily, to the far-off land of Indiana to meet some of her maternal relatives who have yet to be graced by her presence. Some are elderly and have difficulty with travel, while others have large families of their own making lodging a logistical nightmare. Regardless, this post isn’t about why we were traveling, just that we had a 4.5 hour drive with an infant just north of 7 months old.

Shit happens, and – in this case – literally.