Skip to content
REDO Interactive

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.

The underscores.me generator with a theme name entered and the GENERATE button

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.

Theme directory extracted into the WordPress themes folder

3. Activate the theme

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

Theme list in the WordPress admin with the new theme ready to activate

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.

WordPress site with the empty unstyled theme active

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.php and 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.

← Insights on online stores, websites and code

Start with a conversation

Describe the situation or book a 30-minute call. You talk to the people who will design and build the solution.

REDO Helper

REDO Helper AI assistant

Thank you, your message has been sent. We will get back to you as soon as we can.

Cookies for visit statistics are set only after you agree. Privacy policy