Chapter 3The Loop and WordPress File System

While one of the main reasons for the massive popularity of WordPress is the approachable and simple-to-use GUI it boasts, ultimately it’s nothing more than a piece of software, and as a developer you’re going to have to get your hands dirty with some code. Not to fear, though; like everything else WordPress-related, there are systematic rules to follow that help you understand where different files live. Say hello to the standard WordPress file structure.

The Standard WordPress File Structure

Like most content management systems, WordPress has a standardized way of describing how it’s put together as a cohesive piece of software by adhering to a standardized file structure. This is shown in Figure 3.1 ...

Get The WordPress Anthology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.