How to Create a WordPress Theme from Scratch
When it’s time to choose a WordPress theme for your website, you have tons of options. Perhaps the most powerful is to forego the readymade themes on the market and build your own. Building your own theme puts you in complete control when it comes to looks and functionality. It can take your project up to that next level. That’s why today, we’re going to show you how to create a WordPress theme from scratch.
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).
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.
Understanding “Server-Side” and “Client-Side” in WordPress
This article explains “server-side vs. client side” in WordPress development. This distinction, and how the server side and client side interact, is at the core of not only WordPress development, but of any real understanding of how the web works.
WordPress Shortcode Tutorial: How to Create Shortcodes, and Why They’re Super-Useful
This article is an in-depth WordPress shortcode tutorial. We cover what shortcodes are, when to use them, and how to register your own, with full-code custom shortcode examples.
Working with the WordPress HTTP API
This article explains how to use WordPress’s HTTP API, a set of PHP functions from within WordPress’s function library, to make remote HTTP requests to external resources, such as JSON REST APIs.
Getting to Know WP_Query
The WP_Query class is an exceptionally powerful tool in WordPress. As you may know, every WordPress site contains a database that stores many posts (of many post types) that make up the bulk of that site’s content, and WP_Query is the best way to fetch or retrieve a given selection of those posts for processing. So your theme files use it on regular basis, and a lot of plugins on your WordPress site will it.
Writing a WordPress Plugin From Scratch: A Step-by-Step Tutorial
This WordPress plugin development tutorial captures the steps I went through on a real project, including the mistakes I made and how I debugged them.
PHP Foreach: All You Need to Know
One of the most-used functions in my life with PHP is foreach. Partly, this is because it’s just an exquisitely named function, and it maps well to how I think. Partly this is because it’s kind of the backbone of a webpage: iterate through a set of things, operating on some selectively, and then display them all.