Using WP_Query Objects Without the Loop

Bookshelf WP_Query

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.


A Survey of the JavaScript Landscape for WordPress Developers

JavaScript has been a growing topic in the WordPress ecosystem for almost as long as it has existed, but a few recent events are forcing people to pay attention with even more urgency. First, in the last few years JavaScript has gotten ever more important to the topic of web development in general for reasons of user perception of speed, application richness, and more.



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?”






How to Auto Update the Copyright Year in a WordPress Footer

how to automatically update copyright year WordPress

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.