Installing and Configuring the Events Made Easy WordPress Plugin
WordPress site owners who want to list events and take bookings can use Events Made Easy (EME), a plugin that manages events…
The WordPress Theme Developer Handbook is the official documentation for anyone learning how WordPress themes work, building a new theme, or modifying an existing one. A theme controls how a WordPress site looks and how its pages are laid out. The Handbook covers both block themes, which use WordPress’s Site Editor and block-based templates, and classic themes, which rely on PHP template files and traditional code. Its learning material focuses primarily on block themes, with a separate chapter for classic themes. The Getting Started section introduces the material for newcomers and for experienced theme authors who are learning block themes.
You can use the Handbook while you learn and while you build. Its chapters walk through setting up a development environment, organizing theme files, working with templates, managing settings and styles, testing, security, and publishing. Begin with the Getting Started chapter, then follow the reading recommendations or jump straight to the topic you need. If you want a hands-on first exercise with block themes, the Quick-Start Guide walks you through exploring and customizing an existing theme.
The Handbook explains how to follow WordPress conventions, though it does not generate a finished theme or check your code for you. You still write or edit the theme files yourself, run the site in a separate development environment, and test the result with realistic content before moving anything to a live site. The Tools and Setup chapter covers local development environments and testing resources.
Open the Theme Developer Handbook’s table of contents to locate the chapters that match your theme and your current task. Because the Handbook focuses mainly on block themes, most of the main chapters cover block-based templates and the Site Editor, while classic PHP-based themes have their own dedicated chapter.
If you are working through the Handbook in order, read Core Concepts next, starting with theme structure and templates. From there, follow the links to the topics your project needs, such as global settings and styles for editor controls or advanced topics for customization and security. The Handbook’s reading guidance maps out this order and links directly to each chapter.
If you already have theme development experience, you can skip the introductory path and use the table of contents to go straight to a specific reference, such as template hierarchy, child themes, or testing.
A theme’s files tell WordPress how to lay out pages, posts, and shared areas like headers and footers. Before you start editing files, check if you are working on a block theme or a classic theme, because WordPress organizes and loads their templates differently.
In a block theme, style.css holds the theme metadata, and templates/index.html provides the fallback layout. WordPress looks in the templates/ folder for page layouts and in parts/ for reusable sections like headers and footers. You can also add a patterns/ folder for reusable block arrangements and a styles/ folder for style variations. The Handbook’s theme structure overview explains these folders and the minimum files WordPress needs to recognize a block theme. Adding a theme.json file is optional, but it lets you configure editor settings and styles; the global settings and styles chapter explains how those defaults interact with user choices and child themes.
Classic themes use PHP templates instead. WordPress needs at least style.css and index.php to run a classic theme, and the Handbook’s first classic theme lesson walks through that minimal setup. Submitting a theme to the WordPress.org Theme Directory requires extra files, so keep that checklist separate from what you need for a private or local theme.
Templates define the full layout for a type of page, while template parts hold shared sections so you do not have to repeat a header or footer in every file. Block themes write these files in block markup, whereas classic themes assemble the page with PHP and WordPress template functions. Keep that difference in mind as you read examples in the Handbook, and switch to the classic themes chapter when you are maintaining a PHP-based theme.
As specific questions come up during development, turn to the Handbook’s feature chapters. For a block theme, read Global Settings and Styles when you want to manage editor controls or shared design values like colors and typography. You define those defaults in theme.json, though saved user choices and an active child theme can take precedence, so your file will not always have the final say on the front end.
When your theme needs front-end scripts or site-wide stylesheets, follow the Handbook’s instructions for loading scripts and styles instead of dropping asset links directly into templates. If your theme displays text to visitors, read the chapters on internationalization, which prepares your strings for translation, and accessibility, which helps people with different abilities navigate and read the site. You can read these chapters as your project calls for them rather than trying to master every topic during your first layout exercise.
The Handbook’s coding standards show how to format and structure code so it matches WordPress conventions. Its security guidance explains how to handle dynamic output safely, such as using an escaping function suited to the output context like esc_url() for URLs. If you plan to submit your theme to the WordPress.org Theme Directory, check the current review guidelines as well. Those rules apply to directory submissions and do not restrict how you build a theme for private use.
Start testing your theme as soon as it renders real content. Set up a separate development copy of WordPress and load representative posts, pages, and media so you can see how your templates behave on more than an empty site. The Handbook lists tools for this stage, including Theme Check for theme-specific checks, Debug Bar for debugging information, and Query Monitor for inspecting WordPress requests and queries. Pick the tool that fits what you are checking: use realistic test content to spot layout problems, and use debugging plugins when output or behavior does not match what you expected.
Classic and block themes use different files and different editing workflows. A block theme uses block-based templates and lets you edit site areas in the Site Editor, while a classic theme relies on PHP template files and traditional code. The Theme Handbook’s overview puts block themes front and center and keeps classic theme instructions in a separate chapter.
If you want to learn the Site Editor or build a new block theme, start with the Getting Started chapter and its Quick-Start Guide, then move into the block-theme sections of Core Concepts. If you are maintaining an existing PHP-based theme, go straight to the Classic Themes chapter. Because the two approaches use different file structures, follow the chapter that matches the theme you are working on instead of trying to mix instructions from both. Neither path fits every project, so base your choice on the theme you need to build or maintain and the editing workflow you want to support.
Start by setting up a separate WordPress development site and making one small change, such as adjusting a block theme’s colors or editing its header layout. Working in a local environment keeps unfinished changes off your live site. The Handbook lists options including WordPress Studio, Local, Docker, and @wordpress/env, noting that some of these tools install WordPress for you. Read the Tools and Setup chapter for current setup steps, then use the Quick-Start Guide to study and customize an existing block theme before building one from scratch.
Keep the Handbook open as a reference while you work. When you need to know where a page layout belongs, check the theme structure guide; when you want to adjust editor settings or shared styles, check Global Settings and Styles. If you are editing a PHP-based theme, follow the classic-theme chapters instead so the file structure and workflow match your code.
After each change, check more than the single page you just edited. Open different template types, such as a single post and an archive page, and inspect your layouts with varied content rather than an empty install. Test keyboard navigation, make sure focus indicators stay visible, and verify that text remains readable against its background. You should also test in the WordPress versions and browsers that your site’s visitors use. The Handbook does not set a single compatibility target for every project, so decide what your site needs to support and verify your theme against it.
Treat code examples in the Handbook as starting points and read through them before copying them into your theme. Because Handbook pages and interface instructions are updated on different schedules, verify that each step matches the WordPress version you are running. Run your theme, inspect the rendered pages, and check your changes with testing tools before putting them on a live site.
Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.
Take a look at vroni.com