WordPress’s get_template_part() function: What and Why
This article introduces an important concept in WordPress themes: the WordPress get_template_part function. It’s one of the many important concepts of WordPress theme development. Mastering WordPress theme development is an important milestone in understanding WordPress development more generally. (We have a full free course on the topic, check it out.)
Learning PHP for WordPress Development: Understanding PHP’s return
Welcome to this rundown on return in PHP! This article continues our series explaining the basics of PHP for WordPress development.
The Four Languages You Must Know to Understand WordPress
Learning PHP for WordPress Development: Understanding PHP’s echo
Welcome to this rundown on echo in PHP! This article is part of our series explaining the fundamentals of PHP for WordPress development, so that you can start learning the language of WordPress “under the hood” and unlock the powers of a full-fledged WordPress developer.
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.
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!
Understanding Class Inheritance (Child and Parent Classes) in Object-Oriented PHP
Last time, we covered the fundamentals of object-oriented programming (OOP) in PHP: what an object is, what a class is, and how they interact.
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.
Why Use PHP in 2018
Over on Thoughtful Code, I wrote about why even in 2018 I’d choose PHP to make a new software application in. The heart of my reasoning is the conclusion: