Title: Preparing your theme for submission
Published: 18 July 2024
Last modified: 31 July 2024

---

[Home](https://learn.wordpress.org)[Courses](https://learn.wordpress.org/courses/)
[Intermediate Theme Developer](https://learn.wordpress.org/course/intermediate-theme-developer/)
Preparing your theme for submission

 [ Exit Course ](https://learn.wordpress.org/course/intermediate-theme-developer/)

 1.   a.  [   Global theme settings  ](https://learn.wordpress.org/lesson/global-theme-settings/)
         [Preview](https://learn.wordpress.org/lesson/global-theme-settings/)
      b.  [   Block theme styles  ](https://learn.wordpress.org/lesson/block-theme-styles/)
         [Preview](https://learn.wordpress.org/lesson/block-theme-styles/)
      c.  [   Templates  ](https://learn.wordpress.org/lesson/custom-templates/) [Preview](https://learn.wordpress.org/lesson/custom-templates/)
      d.  [   Theme Patterns  ](https://learn.wordpress.org/lesson/theme-patterns/) [Preview](https://learn.wordpress.org/lesson/theme-patterns/)
      e.  [   Style Variations  ](https://learn.wordpress.org/lesson/style-variations/)
         [Preview](https://learn.wordpress.org/lesson/style-variations/)
 2.   5 lessons
 3.   a.  [   Template overview  ](https://learn.wordpress.org/lesson/template-overview/)
         [Preview](https://learn.wordpress.org/lesson/template-overview/)
      b.  [   Template Hierarchy  ](https://learn.wordpress.org/lesson/template-hierarchy/)
         [Preview](https://learn.wordpress.org/lesson/template-hierarchy/)
      c.  [   Template parts  ](https://learn.wordpress.org/lesson/template-parts-4/) 
         [Preview](https://learn.wordpress.org/lesson/template-parts-4/)
 4.   3 lessons
 5.   a.  [   Custom functionality  ](https://learn.wordpress.org/lesson/custom-functionality/)
         [Preview](https://learn.wordpress.org/lesson/custom-functionality/)
      b.  [   Including assets  ](https://learn.wordpress.org/lesson/including-assets/)
         [Preview](https://learn.wordpress.org/lesson/including-assets/)
      c.  [   Block stylesheets  ](https://learn.wordpress.org/lesson/block-stylesheets/)
         [Preview](https://learn.wordpress.org/lesson/block-stylesheets/)
      d.  [   Block style variations  ](https://learn.wordpress.org/lesson/block-style-variations/)
         [Preview](https://learn.wordpress.org/lesson/block-style-variations/)
      e.  [   Block variations  ](https://learn.wordpress.org/lesson/block-variations/)
         [Preview](https://learn.wordpress.org/lesson/block-variations/)
 6.   5 lessons
 7.   a.  [   Introduction to Classic themes  ](https://learn.wordpress.org/lesson/introduction-to-classic-themes/)
         [Preview](https://learn.wordpress.org/lesson/introduction-to-classic-themes/)
      b.  [   The Loop  ](https://learn.wordpress.org/lesson/the-loop/) [Preview](https://learn.wordpress.org/lesson/the-loop/)
      c.  [   Theme options  ](https://learn.wordpress.org/lesson/theme-options/) [Preview](https://learn.wordpress.org/lesson/theme-options/)
      d.  [   theme.json in Classic themes  ](https://learn.wordpress.org/lesson/theme-json-in-classic-themes/)
         [Preview](https://learn.wordpress.org/lesson/theme-json-in-classic-themes/)
      e.  [   Converting a Classic theme to a Block theme  ](https://learn.wordpress.org/lesson/converting-a-classic-theme-to-a-block-theme/)
         [Preview](https://learn.wordpress.org/lesson/converting-a-classic-theme-to-a-block-theme/)
 8.   5 lessons
 9.   a.  [   Best practices for developing an accessible theme  ](https://learn.wordpress.org/lesson/best-practices-for-developing-an-accessible-theme/)
         [Preview](https://learn.wordpress.org/lesson/best-practices-for-developing-an-accessible-theme/)
      b.  [   Tools for testing theme accessibility  ](https://learn.wordpress.org/lesson/tools-for-testing-theme-accessibility/)
         [Preview](https://learn.wordpress.org/lesson/tools-for-testing-theme-accessibility/)
 10.  2 lessons
 11.  a.  [   Themes and user privacy  ](https://learn.wordpress.org/lesson/themes-and-user-privacy/)
         [Preview](https://learn.wordpress.org/lesson/themes-and-user-privacy/)
 12.  1 lesson
 13.  a.  [   Child themes  ](https://learn.wordpress.org/lesson/child-themes/) [Preview](https://learn.wordpress.org/lesson/child-themes/)
      b.  [   UI Best Practices  ](https://learn.wordpress.org/lesson/ui-best-practices/)
         [Preview](https://learn.wordpress.org/lesson/ui-best-practices/)
      c.  [   JavaScript in Themes  ](https://learn.wordpress.org/lesson/javascript-in-themes/)
         [Preview](https://learn.wordpress.org/lesson/javascript-in-themes/)
      d.  [   Build Process  ](https://learn.wordpress.org/lesson/build-process/) [Preview](https://learn.wordpress.org/lesson/build-process/)
      e.  [   Plugin API hooks  ](https://learn.wordpress.org/lesson/plugin-api-hooks/)
         [Preview](https://learn.wordpress.org/lesson/plugin-api-hooks/)
      f.  [   Testing your theme  ](https://learn.wordpress.org/lesson/testing-your-theme/)
         [Preview](https://learn.wordpress.org/lesson/testing-your-theme/)
 14.  6 lessons
 15.  a.  [   The WordPress.org Theme Directory  ](https://learn.wordpress.org/lesson/the-wordpress-org-theme-directory/)
         [Preview](https://learn.wordpress.org/lesson/the-wordpress-org-theme-directory/)
      b.  [   Required theme files  ](https://learn.wordpress.org/lesson/required-theme-files/)
         [Preview](https://learn.wordpress.org/lesson/required-theme-files/)
      c.  [   Preparing your theme for submission  ](https://learn.wordpress.org/lesson/preparing-your-theme-for-submission/)
         [Preview](https://learn.wordpress.org/lesson/preparing-your-theme-for-submission/)
      d.  [   Submitting your theme to WordPress.org  ](https://learn.wordpress.org/lesson/submitting-your-theme-to-wordpress-org/)
         [Preview](https://learn.wordpress.org/lesson/submitting-your-theme-to-wordpress-org/)
      e.  [   Updating your theme  ](https://learn.wordpress.org/lesson/updating-your-theme/)
         [Preview](https://learn.wordpress.org/lesson/updating-your-theme/)
 16.  5 lessons

### Publishing Themes

# Preparing your theme for submission

Once you have finished developing your theme, you need to prepare it for submission
to the WordPress.org theme repository.

In this lesson, you’ll learn how to prepare your theme for submission, including
how to test your theme, check and follow the theme review guidelines, and prepare
documentation for your theme.

## Testing your theme

Before submitting your theme to the WordPress.org theme directory, you should test
it thoroughly to ensure that it works as expected.

This includes testing things like whether it has any errors or warnings, how it 
handles different types of content, and how it performs in terms of accessibility
and performance.

The “Testing your theme lesson” in the Advanced Theme Development module covers 
all of these aspects in detail, so make sure to review that lesson.

It can also be beneficial to test your theme against the next version of WordPress
to ensure that it remains compatible.

To do this, you can install the [WordPress Beta Tester](https://wordpress.org/plugins/wordpress-beta-tester/)
plugin, which allows you to switch your site to the latest beta or release candidate
version of WordPress.

Once you’re sure you’ve tested your theme thoroughly, you can move on to the next
step.

## Theme review guidelines

The WordPress [theme review guidelines](https://make.wordpress.org/themes/handbook/review/required/)
are a set of requirements that you need to follow when submitting your theme to 
the WordPress.org theme directory.

These guidelines cover a wide range of topics, including:

 1.  Licensing & copyright
 2.  Privacy
 3.  Accessibility
 4.  Code requirements
 5.  Functionality and Features
 6.  Plugins
 7.  Naming, spelling, and trademarks
 8.  Language and internationalization
 9.  File requirements
 10. Classic theme requirements
 11. Block theme requirements
 12. Theme settings pages and onboarding
 13. Upsells, credits, links, and spam
 14. Theme author and theme upload restrictions

Your next step is to review every single item in the theme review guidelines, and
make sure your theme meets all these requirements.

If you’ve thoroughly tested your theme using the tools mentioned in the Testing 
your theme lesson, you should have already addressed many of the issues that the
theme review guidelines cover.

It’s still a good idea, however, to work through them all and check each one off
before you submit.

During the submission process, a theme that contains 3 or more distinct issues according
to these guidelines, may be closed as not-approved.

It is possible to resubmit your theme after fixing the issues, but it’s going to
delay the process.

## Preparing documentation

The final step in preparing your theme for submission is to create documentation
that details the theme’s features, customization options, and any unique aspects
of the theme.

Themes are required to provide end-user documentation of any design limitations 
or extraordinary installation/setup instructions.

Depending on how detailed your documentation needs to be, will determine where you
add this information.

While you could add this to your theme’s `readme.txt` file, it’s often easier to
provide this information on a dedicated theme homepage.

Many theme developers create a page on their website that provides detailed information
about the theme, including installation instructions, customization options, and
any other relevant information.

They will then link to this page using the theme’s `Theme URI` field in the `style.
css` file.

This link will display on the theme’s page in the WordPress.org theme directory 
and in the WordPress admin, and users can click on it to access the theme documentation.

# Conclusion

Once you’ve tested your theme, checked it against the theme review guidelines, and
prepared your documentation, you’re ready to submit your theme to the WordPress.
org theme directory.

 This is a preview lesson

Register or sign in to take this lesson.

 [ Take course ](https://learn.wordpress.org/course/intermediate-theme-developer/)

 [ Sign in ](https://login.wordpress.org/?redirect_to=https%3A%2F%2Flearn.wordpress.org%2Flesson%2Fpreparing-your-theme-for-submission%2F&locale=en_US)

##  Suggestions

 Found a typo, grammar error or outdated screenshot? [Contact us](https://learn.wordpress.org/report-content-feedback/).