Advanced Topics

Welcome to the advanced theme topics documentation. In this chapter, you will learn about some of the more complex features, techniques, and more that are not covered in previous chapters.

While this chapter is considered “advanced” it doesn’t mean you cannot learn something if you’re still getting started on your theme development journey. In many ways, the articles in this chapter are essential if you plan to distribute your theme to others, such as through the WordPress Theme Directory.

Navigating this chapter

Use the following links to locate a topic within this chapter. Each article covers a specific topic that is relevant to theme development, and you can explore each at your own pace.

  • Internationalization: Must-know techniques and tips to ensure your theme can be translated into any language.
  • Child Themes: Build a custom theme that extends an existing theme (i.e., parent theme) and requires less work.
  • Build Process: How to integrate with the @wordpress/scripts package to process and bundle your theme assets.
  • Privacy: Test the built-in WordPress privacy features and ensure your theme works with them.
  • Testing: How to run your theme through a suite of testing tools to make sure it works across a variety of environments.
  • Debugging: How to enable debugging in WordPress to ensure your theme is error free.
  • Security: A rundown of security best practices that your theme should be doing to defend against exploits.
  • Publishing Themes: The steps you need to take to publish your theme on WordPress.org or distribute to others.

This chapter also includes several other documents that are currently undergoing updates. These will eventually be updated or moved to more appropriate chapters: