Using WP_Query Objects Without the Loop
I really enjoyed David’s article from a few weeks ago on the basics of functional programming as it applies to WordPress’s nested data structures. One of the nice things about working with him is that I learn a lot, too. Today, I want to continue exploring the somewhat-functional world David introduced, and suggest some freer ways of interacting with a very important entity in WordPress: the WP_Query object.
Learning PHP for WordPress Development: Introduction to PHP Functions
This article is an accessible dive into one of the bedrock concepts of modern programming: functions.
Is WordPress Object-Oriented? A Thorough Exploration
Here at WPShout, we’ve got some thorough tutorials on using object-orientation as a WordPress developer. We’ve hopefully convincingly explained that it’s pretty common and easy for a developer to write something when programming WordPress that is OO. Many many plugins you see are is essentially object-oriented WordPress plugins. What I want to explore today is a more esoteric question: Is WordPress an object-oriented system? Or, in short “Is WordPress OOP?”
PHP for Beginners: Starting on Backend WordPress Development
WordPress, the content management system the internet loves. You can use it for years without needing to tackle PHP, but eventually you’re finding yourself needing it. You go to Bing and search “php for beginners” and you find yourself here. The journey to learn PHP for WordPress development is long, but let’s start!
Six Ways to Start 2019 Off Right in WordPress
Happy New Year! 2019 is brand new, and it’s a time of promise and opportunity. Whether you do WordPress development for clients, manage one or more personal WordPress projects, or other, here are six ways you can make 2019 your best year in WordPress yet.
“Simple Made Easy” by Rich Hickey
My link post last week was inspired by my attendance at Southeast PHP. In response to the talk I gave there, a fellow speaker reminded me of this talk from Rich Hickey, a creator of the Clojure programming language. It’s a classic, and I was glad to remember and think harder about it.
PHP Static Methods in Depth: What They Are & How they Work in WordPress
One of the things that often confuses people new to object-oriented PHP is what are called “PHP static methods” and “static properties”. They’re often confusing, because you simply aren’t used to the syntax, which is a PHP double-colon (::) where you might expect an arrow (->). But, I’m getting ahead of myself.
How to Auto Update the Copyright Year in a WordPress Footer
An out-of-date copyright year in a site’s footer is a common sight, especially early in a new year. It happens because people don’t take advantage of WordPress’s server-side language, PHP, to auto-update the copyright year in WordPress. Instead they’re manually changing it. But it’s a complex and menial task, so it’s easy to put off.
How to Customize Your WordPress Post Excerpts
The WordPress excerpts system works properly, but it uses lots of functions and it’s hard to know which one does what.