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.
Understand Types of WordPress Caching
This is a solid little article from the folks over at SpinupWP about caching in WordPress. “Caching” is one of the most simply and complicated words, almost simultaneously. The heart of the issue, there there are so many different kinds. A few years back I tried to tease those types of caching apart, but but different takes on the same basic material work better for different people.
How to Create and Use WordPress Custom Fields
This article describes how to work with WordPress custom fields, also called post meta. In it, we describe how to use WordPress’s post meta PHP functions, especially get_post_meta() and update_post_meta(), and provide in-depth code demos as well as practical advice for working with custom fields tools like Pods and Advanced Custom Fields.
Simple WP_Query Example: Using a Shortcode to Display Post Titles
In this video and text Quick Guide, we present a basic use of WP_Query inside a WordPress shortcode, to show the post titles of the five most recently published posts. We’ve designed this Quick Guide to be a simple intro to using WP_Query in general, as well as to using WP_Query to display post titles and other post data inside a shortcode specifically.
We were on the BoldLife podcast!
We were on the BoldLife podcast. It was a great time. We (well, especially Fred) talked a length about the complex reality of where generous human people meet the weird world of corporate policies. More than that, we talked about what that means when you’re shopping for the best WordPress hosting for your own website. And why talking to the nicest person from one of the those companies is probably a less reliable way of finding good hosting than we are.
PHP Math Functions: Understanding the Basics
Our focus today is PHP math. Or “PHP maths,” if you prefer British English. We’re not going to teach you the basics of mathematics itself, but just explore some of the common ways we use math in our PHP code and some of the less-clear things that end up super-valuable for web development using the PHP programming language.
How to Change WordPress Password in phpMyAdmin (a cPanel tool)
In this Quick Guide, we’ll walk you through how to change a WordPress user’s password using phpMyAdmin, a tool found in most webhosting cPanels. To change WordPress passwords from phpMyAdmin is simple (it takes less than a minute front-to-back) and it’s a very useful trick to know—one we use at least a couple times every single month in our work with our clients.
Should you make an app?
Tom Scott is one of my favorite YouTubers. (I know a lot of nerdy YouTube channels these days.) He is clear, knowledgeable, and a bit like what I’d make on YouTube if I’d started eight years ago and was British.
HTML Can Do That!?
This is a fun and short little post over at Dev.to from Ananya Neogi. It’s essentially a short-list of lesser known features for which you can just add some HTML markup and have cool features.
Understanding PHP Operators of Logic, or || and && and ! a lot more
There are a lot of different PHP operators. Some are PHP comparison operators, and work like math you’re used to. We’ll save those for another time, because our sole focus this time will be PHP logical operators. That is the logical “and” and “or” of boolean logic.
Using WordPress: Add Script to Header