WordPress Articles from David Hayes

David B. Hayes is co-owner of WPShout. He's been using WordPress since 2007, and has a mature love (like an old married couple) for the content managment system. He's done loads of client work with it, uses it on a variety of personal projects, and generally thinks it's worth most people keeping it in their toolbox.

In addition to WordPress, he's into cycling, board games, and civic tech (running Code for Fort Collins). He also loves coffee and write about it at LowKeyCoffeeSnobs.com. And lastly (for this space) he writes about code beyond WordPress at Thoughtful Code.

WordPress 5.7 Field Guide

If there’s one post I *always* read about the latest/upcoming WordPress release, it’s these “field guide” posts on make.wordpress.org. They’re a concise summary of the major highlights to keep an eye on.

WordPress Hooks, Actions, and Filters: What They Do and How They Work

hook | wordpress hooks actions and filters

This article introduces one of the most important topics in WordPress development: WordPress hooks, including action hooks and filter hooks. Hooks are at the core not only of how WordPress plugins work, but nearly all code in the WordPress ecosystem: most WordPress themes use hooks heavily, as does “WordPress core” itself. WordPress hooks are absolutely a must-know topic in WordPress development.

A Summary of Next-Gen Image Formats

Most everyone in the WordPress world knows the basic image formats: use JPEGs for photos, PNGs for screenshots, and maybe WebP if you’re a Google-loving-hipster. Or at least, that’s my summary of the situation. (Some other playful/controversial opinions: .bmp is for dinosaurs who love MS Paint, GIF is a weird name we fight about for what should really be silent video files.)

Dealing with Client Conflicts

I’m quite confident a lot of WPShout readers are doing at least a little bit of “client work.” Whatever way you do that—even if you don’t do it using WordPress—problems can crop up. Which is why I really appreciate this little article from Jennifer Bourn.

How and Why to Make a BASH Alias

This Quick Guide covers a common question whose lingo may confuse newbies: how do I make a Bash shell alias? For those for whom that sentence was Greek—let start here: Bash is the “Bourne Again Shell.” (There’s not relationship to the Matt Damon movie character, for better or worse. ;p) In the world of “command line interfaces,” Bash has been the go-to standard for decades, and is still the most common “terminal” in use. In the “terminal” world, Bash aliases solve a common problem: wanting to do things quicker and more effectively. So we’ll quickly and effectively walk you through how to make BASH aliases.

Is CSS float deprecated?

As a perennial CSS newbie (who kind of had skills a decade ago) I appreciated this short article from Robin Rendle about when (translation: how little) you should use the float: left that was so common when I last really did CSS.

Defer Parsing of JavaScript in WordPress

It’s a common complaint when you run your WordPress site through any “page speed score” tool: “defer parsing of JavaScript” and/or “remove render-blocking JavaScript.” Today, building on an article Fred first wrote in 2015, I’m going to discuss a was to solve that. It’s been possible since WordPress 4.1, which introduced of a new filter, script_loader_tag. This filter lets us easily change the HTML markup of enqueued script elements—that is, of JavaScript files that were correctly added into a WordPress site using WordPress’s wp_enqueue_script function.

Google Tricks Cheatsheet

I use Google a lot. You probably do too. But have you ever thought about tricks that’d make you better at Googling? I honestly don’t much of the time. And that’s partly down to just how good “normal Googling” is, and also my laziness.

Why I Still Use RSS

I share this story from Marc at atthis.link for two reasons: that it is itself interesting and useful, and because I’ve also been using RSS lately and enjoying its respectfulness.