Child Themes, the Template Hierarchy, and One Sanity-Saving Hack
(Click to go straight to the hack ») Here at WPShout, we’re big fans of child themes. The very simple version of a child theme is that it’s a way you can quickly make a theme that “inherits” from...
View ArticleWordPress Hooks, Actions, and Filters: What They Do and How They Work
Hooks are one of the most important ideas in WordPress development. Today we’re covering one of the most important ideas in WordPress plugin and theme development: hooks. If you’ve felt a little...
View ArticleMaking Themes More WYSIWYG with the WordPress Customizer
The WordPress customizer makes tweaking visual settings and customizing the look of your site much more intuitive. One of the coolest features WordPress has gotten in the last few years (in version...
View ArticlePolishing the WordPress Customizer Experience
The same day that my last post about the WordPress customizer went live, the WordPress.org Theme team made headlines with their decision that all future themes submitted will have to use the customizer...
View ArticleMaking Plugins and Themes Translation-Ready
Internationalization makes WordPress accessible in other languages, and it’s a must-have for work intended for wide distribution. As WordPress continues to grow, not just in English-speaking countries...
View ArticleWordPress’s Conditional Tags
One of the most straightforward, dependable, and useful things in WordPress is what the Codex calls “Conditional Tags.” In her interview for Up and Running, Helen Hou-Sandí said conditional tags were...
View ArticleThree Ways to Learn the WordPress Transients API (With Pippin Williamson)
If you’ve been meaning to learn WordPress’s Transients API, today is your lucky day! Soon you’ll be just rolling in cache. (If you didn’t get that joke, you should definitely continue reading.) We’re...
View ArticleHow I’d Like “Single-Page” Themes to Work
Today’s article gets quite technical, but the intent is very simple. So let’s start with that: What We’re Going For To restate the video, the intent is to create: A “single-page” layout, that does look...
View ArticleHacking the WordPress Template Hierarchy
Today we have a very esteemed guest author: Josh Pollock! Josh is the co-founder of CalderaWP, which authors top-quality WordPress plugins. They’ve just released a new plugin: Easy Queries, an awesome...
View ArticleHow to Add Custom Data to a WordPress RSS Feed
You’ve quite likely heard of “RSS Readers” or “Feed Readers” before—if only when a lot of people got angry that Google was shutting theirs down. In fact, RSS feeds are one of the most important and...
View ArticleUnderstanding PHP Output Buffering, and Why It’s Great for Shortcodes
One of the first things in PHP that really stumped me was the difference between code that created output and code that didn’t. I knew, vaguely, that things that had an echo statement in PHP meant...
View ArticleHow to Link to Your WordPress Theme and Plugin Resources
In WordPress theme and plugin development, you’ll often need to link to resources inside the theme or plugin you’re working on. For example, maybe your plugin comes bundled with a necessary image file...
View ArticleWordPress is a Factory: A Technical Introduction
We recently released Up and Running, which we think is one of the best places a user, designer, or developer from a different field can start to get their mind around the concepts and practicality of...
View ArticleBuilding a Magical Golden Bridge from PHP to JavaScript with...
wp_localize_script() lets you pass PHP variables to JavaScript. One of the great reasons to love WordPress is the number of programming tasks it makes easy. Today we’ll look at perhaps my favorite bit...
View ArticleWhat “Namespaces” Mean for WordPress Developers
It’s not uncommon for people, especially those new to a knowledge-area, to hear a word bandied about a lot and never really explained. I think “namespacing” is one of those words, and more importantly,...
View ArticleBuilding Client Reports with WordPress Custom Page Templates
A lot of the time, clients need reporting. “Can I download a CSV of X?” is one of the most common features clients ask me, and it always makes me wince slightly: I know it’s going to be a fair amount...
View ArticleCore Concepts of WordPress Themes: The Template Hierarchy
We recently released Up and Running, which we think is one of the best places a user, designer, or non-WordPress developer can start to get their mind around the concepts of WordPress development. One...
View ArticleUsing PHP Cookies in WordPress
I’ve always been scared of creating PHP cookies. Cookies are an extremely widely used web technology consisting of little pieces of data that live on your device and remember things: for example, the...
View ArticleUsing Cookies in WordPress, Part II: Cache-Busting with Ajax
Caching makes everything harder. If you’re writing good code and then you—and your clients, coworkers, etc.—are seeing absolutely no result, the issue is typically caching. In fact, a lovingly cited...
View ArticleFour Different Meanings of “Template” a WordPress Pro Should Know
Experienced users and developers will use the word “template” casually in and around WordPress to mean slightly different things in slightly different contexts. There are four general things that...
View Article