Category: Back-End Development
How to Create a Custom Taxonomy in WordPress with Pods
Custom taxonomies are a great way to organize information in WordPress. And the Pods plugin makes it easy create them without having to write any PHP code. We’ve got a full article explaining custom taxonomies in a fair amount of depth, so for here I’ll just offer a summary. You want a custom taxonomy because:
A Complete Guide to PHP Data Types: Numbers, Booleans, Strings, & More
The Many Uses of PHP Output Buffering in WordPress
A Complete Guide to Object-Oriented PHP for WordPress Developers
One of the boogeymen that frighten a lot of newer WordPress developers are “objects” and object-oriented PHP. You kind of get it, you aspire to get it, but you just don’t really understand where any of this code comes from or leads. If that’s the case for you, stop and stay awhile. I’ll be going on at length but I feel pretty sure you’ll get a lot from this.
Create WordPress Custom Post Types without Code using Pods
WordPress Custom Post Types are what we call all the content types you might want to create for a site that are distinct from Posts and Pages. Here on WPShout, we’ve got one called Quick Guides, that’s what you’re reading now. New Custom Post Types (or CPTs) in WordPress are useful because your content probably fits into many conceptual categories, and Posts and Pages aren’t all of them.
WordPress Hooks, Actions, and Filters: What They Do and How They Work
WordPress is a Factory: A Technical Introduction
Thinking “WordPress is a factory” is our analogy which has helped thousands of people “click” when learning WordPress development. We first used this analogy in 2015 as the first chapter of our “learn WordPress development” course Up and Running. We had such a good response that we wanted to share it more widely.
How to Sort Posts by their Taxonomy Terms
setup_postdata(): The Template Tags You Need, the Custom WP_Post Arrays You Crave
setup_postdata() lets you treat any bundle of posts the way you would normally treat the results of a WP_Query.
Understand Caching with WordPress Transients API
Computer performance revolves, in large part, around the idea of caching: “storing something in a more-ready and quicker-to-access state,” so that you can more quickly deliver the final result. The WordPress Transients API is a tool for caching, and an important way to improve performance in WordPress.