How to Search Through a WordPress Plugin’s Files with Sublime Text
One of the hardest things about debugging or extending WordPress plugins is often simply finding where a piece of code lives. A plugin may have many thousands of lines of code across dozens of PHP...
View ArticleHow to Create WordPress Shortcodes, and Why I Love Them
Before we look at how to register WordPress custom shortcodes, let’s be clear: If there’s one thing Gutenberg is about to kill, it’s the use of WordPress shortcodes in content creation. The Gutenberg...
View ArticleMaking Quick Custom Fields Interfaces with Pods
Custom fields are one of the more powerful aspects of WordPress. They’re also, by default, victims of just about the worst interface ever designed. The idea of capturing and using metadata is great,...
View ArticleThe Menace of WordPress Theme Creep
One of the first topics I ever wrote about on WPShout, I kind of thought that the topic of “theme creep” had died long ago. But a few times in the last few months–once with someone I’m mentoring in...
View ArticleHow 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. The WordPress post excerpts system works great, but it also feels more complicated...
View ArticleThe Template Hierarchy in WordPress
This article introduces one of the most important topics in WordPress development: the WordPress template hierarchy. It’s one of the most important concepts in all of WordPress theme development. (We...
View ArticleCourse: WordPress Theme Development (Core Concepts)
Welcome! WordPress themes are one of the first and most important topics that one must understand to be good at WordPress development. Themes underlie the entire visual half of WordPress site, but...
View ArticleHow to Use wp_enqueue_style to Load CSS Stylesheets
Stylesheets are at the heart of making HTML pages look good, in WordPress and the web. And the way that we make CSS stylesheets load into the page in WordPress is using the wp_enqueue_style function....
View ArticleWordPress Theme Development: Adding Functionality with functions.php
This article introduces one of the most important topics in WordPress development: functions.php. The functions file is one of the complex, interesting, and powerful in the arsenal of a WordPress...
View ArticleHow to Include JavaScript Files on Your WordPress Site with wp_enqueue_script()
Want to know how to include a JavaScript file onto your WordPress site? You’re in the right place: welcome to an awesome WordPress function called wp_enqueue_script() that is the correct way to include...
View ArticleLearn WordPress Development: The Basic Course
So You Want to Learn WordPress Development WordPress development is a massively useful skill, but it’s also tricky to learn—especially if you learn things in a piecemeal way that allows basic...
View ArticlePHP 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 “static methods” and “static properties”. They’re often confusing, because you simply aren’t used to the...
View ArticleHow to Prevent Browser Caching of a CSS Stylesheet in WordPress
This video and text Quick Guide explains how to prevent browser caching of CSS files, with a special focus on doing this for WordPress sites. Why Browsers Cache CSS Stylesheets When a browser caches a...
View ArticleIntroduction to Object-Oriented PHP for WordPress Developers
Our goal today is introduce object-oriented programming in PHP, as the basis to discuss OOP in WordPress. In WordPress, object-oriented PHP is a well-known learning challenge. I remember my first...
View ArticleUnderstanding Class Inheritance (Child and Parent Classes) in Object-Oriented...
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. Today, we’re going to cover an intermediate OOP topic: how...
View ArticleHow to Submit WordPress Posts from the Frontend
You might want add new posts without having to log into the WordPress dashboard, or maybe to allow your visitors a way to submit content of their own. You can do it. In this article we’ll cover a few...
View ArticleObject-Oriented PHP: The __construct() Magic Method
In this article, we tackle an intermediate topic in object-oriented PHP: magic methods, specifically __construct().Our goal in this article is to explain __construct() itself: of all the magic methods...
View ArticleWhere and How to Use WordPress Hooks in Objects
You’ve maybe noted that we’ve recently been writing about WordPress and object-oriented programming in PHP a lot. Just last week, Fred published an article about PHP magic methods, especially...
View ArticlePHP 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...
View ArticleObject-Oriented PHP for WordPress Developers
Welcome to our free course on object-oriented PHP (OOPHP) for WordPress. This course explains the following:The object-oriented paradigm in software development, and its strengths and weaknesses...
View Article