Author: David Hayes

Writing WP-CLI Commands that Work

Just yesterday I watched this great talk from Steve Grunwell (who I had the pleasure of meeting at Lone Star PHP 2017) about WP-CLI commands. It’s from Loopconf 2.1. It’s a very good talk about the how, what, and why of making your own commands. If you’ve ever thought about writing WP-CLI commands, or just wondered how they work internally, he does a great job summarizing all of that and more. Here it is inline:

White Screen of Death? Turn on WP_DEBUG

WordPress people will often talk about the “white screen of death” or WSOD. They’re referring to when a WordPress site just stops making web pages and instead offers only a giant white field. This is intimidating for anyone, but especially new developers who’ve never seen it before. Generally the issue will be caused by a plugin or theme that has gone wrong. But knowing which and why is not clear.

Easy Social Sharing with AddToAny

The importance of social media to marketing success on the internet today is hard to understate. It basically is the avenue of marketing success on the internet. I’d add that social share buttons are hardly a solution to finding marketing success on the social media, but helping your audience share you content does markedly make them more likely to do so. (For real success you need more difficult things like engagement with and from your followers, etc.)

Prevent Brute Force Attacks with Limit Login Attempts

zombies at gate

Many people are worried about WordPress security. The core project is secure (if updated) but that doesn’t stop people form worrying. That said, it doesn’t mean that there is no benefit from taking steps to harden the base configuration. I personally dislike most “security” plugins–they feel too big to me and the benefits they confer are small or unknown.