Build your own WordPress theme with Underscores (underscores.me)
How to generate an empty WordPress theme on underscores.me, upload it to the themes directory, activate it in the admin panel and start building your own template.
WordPress
We will show how to create your own WordPress theme with the underscores.me generator. The site builds an “empty” starter theme (Underscores, _s for short) with a name we choose ourselves. The result is a theme that is ready to activate and build on.
The screenshots show the Polish admin interface; field names in the code stay as shown.
Requirements
- A WordPress installation, on a server or locally.
- Access to the
wp-content/themes/directory (via FTP, SSH or the local file system). - Access to the WordPress admin panel.
Why build your own theme
A custom WordPress theme:
- gives more control over the code and the structure of the project,
- is easier to understand than a ready-made theme with extensive code, such as Twenty Twenty,
- lets us tailor the project to the client’s needs. A ready-made theme does not always allow that, because its design limits us.
Creating your own theme step by step
1. Generate the theme
We go to https://underscores.me and enter the name of our theme. In the advanced options we can also set the slug, author and description, among other things. Then we click GENERATE and download the theme package.

2. Upload the theme to the server
We extract the downloaded package into the themes directory of our WordPress installation (wp-content/themes/). The theme directory name matches the slug we entered in the generator.

3. Activate the theme
In the WordPress admin panel we open Appearance > Themes and activate our theme.

4. Check the result
The theme has no styling or extras yet. That is the advantage of a custom theme: we can style it our own way and build everything from scratch. We know the whole code because we create it ourselves, so we do not have to learn the built-in functions of a ready-made theme.

What is in the package
The generated theme contains the basic files we start with:
style.css: the theme header (name, author, description) and styles,functions.php: theme setup, menu registration and loading of scripts and styles,header.php,footer.php,index.phpand other templates: the page structure,template-parts/: template fragments used in several places,inc/: additional files with helper functions.
Common problems
- The theme is not on the list. Check that the theme directory sits directly in
wp-content/themes/, not in an extra subdirectory created when extracting the package. - The theme looks very plain. That is intended. Underscores ships with minimal styles only.
Summary
The underscores.me generator creates an empty theme that we only need to extract into the themes directory and activate in the WordPress admin. After that we can style it, add the functions we need and adapt the structure to the project.