Category: Back-End Development
How to Create a Custom Taxonomy in WordPress with Pods
In this text and video Quick Guide, we’ll explain how to register custom taxonomies using the Pods plugin. Using Pods to create custom taxonomies is easy, and doesn’t require writing any PHP code of your own.
How to Display Posts on a Category Page, Divided Into Their Respective Subcategories
Say you have a category page on which you’re asked to display all the posts that belong to that category’s subcategories. So far no sweat – a category page displays by default all its descendant posts, whether they belong directly to that category or any of its subcategories. But here’s the twist: say you have to display them in such a way that the subcategory names are displayed (challenge no. 1), and under each subcategory’s name you have to display all its posts (challenge no. 2).
How to Install WP-CLI
This text and video Quick Guide covers how to install WP-CLI, the WordPress command line interface.
get_queried_object(): How and Why to Use It
WordPress’s get_queried_object() function has the distinction of being, I think, the most useful core function in WordPress that I didn’t know about for the longest time.
Creating a WordPress Widget to Show a Random Post
Making a widget to show a random post uses two underlying concepts you need to get familiar with to be good at WordPress development: making use of WP_Query objects, and making widgets. If you’ve not checked them before, check out our Quick Guides which more thoroughly introduce both:
WordPress Development for Beginners: “Does the User See It?”
Getting started with WordPress development can be disorienting. As I’ve written, software development (including WordPress development) is a lot like caving, and trying to do your first WordPress development project can be like waking up somewhere in the middle of a dark cave and trying to figure it out from there.
Using Git Subtree for WordPress Projects
Strap in folks, this is a nerdy one. If you’re not already a little aware of the role of Git in your life, there’s a good chance that this article isn’t going to work for you. While I will make sure I anchor our conversation about Git Subtree’s use in my WordPress development with a little context of what Git is, it’ll be minimal. This is not a “Git” tutorial, it’s pretty explicitly a “git subtree” tutorial.
How to Get Rid of Empty Lines of Code in Any Text Editor
PHP for WordPress Development: The Free Course
This free course on PHP for WordPress introduces the core topics you need to understand to practice the PHP side of WordPress development.
Using the wp_footer Action Hook to Modify Your Site’s Footer (Without Theme Changes)
This week’s text and video Quick Guide shows how to use WordPress’s wp_footer action hook to make changes to your site’s footer—without editing your theme.