Generate a WordPress Child Theme [Free Tool]

Setting up child themes can be confusing for many users, especially those without coding experience. To simplify the process, we created a tool that generates a ready-to-install ZIP file in seconds.

Child themes are helpful when you need to adjust your website or add extra code without overwriting any code. They keep your changes separate from WordPress core, plugin files, and your active theme.

Free Child Theme ZIP Generator

You do not need to write any PHP code or edit CSS files. Just complete the form, download your child theme, and install it like any other WordPress theme.

Optional. The name of the directory where the child theme will be located after installation, e.g., "twentytwentyfive-child".

The name of the directory where the parent theme is located, e.g. "twentytwentyfive".

How to Create a WordPress Child Theme (Step by Step)

Generating a child theme with this tool takes less than a minute. The only thing you need is the folder name where the parent theme is located.

You can find it by going to "Appearance -> Themes" in the admin dashboard. Click on your current theme and check the address bar in your browser.

How to find a parent theme slug

The URL will include something like "theme=twentytwentyfive". The word after the equals sign ("twentytwentyfive") is the folder name.

Paste the text exactly as it is into the "Parent Theme Slug" field in the form below. You also need to fill in the "Child Theme Name" field. Other fields are optional.

Submit the form and the tool will automatically generate ZIP file with child theme files. Inside the ZIP, you will find two files: style.css and functions.php .

Download the ZIP file to your computer and do not unzip it.

How to Install a Child Theme?

With the ZIP file ready, you can now install the child theme directly from your WordPress dashboard.

Do not delete the parent theme!
Even though you activate the child theme, WordPress still reads the parent theme's files. If you remove the parent, your site will likely break.
  1. Go to "Appearance -> Themes" and click "Add Theme" button at the top of the page.
  2. On the next screen, click "Upload Theme", then choose the ZIP file you downloaded.
  3. After you select the file, click "Install Now".
  4. Once the theme has been installed, you will see a confirmation message. Then, click "Activate" to switch on your new child theme.
Add theme
The "Appearance" section in the WordPress admin dashboard is where you can install both regular and child themes.

What is a Child Theme?

A child theme is a separate WordPress theme that works together with a main theme, called a parent theme. You can think of it as a safe layer on top of the parent theme.

It uses the same design and features, but lets you keep your own changes like layout edits, hooks, and custom code snippets in a separate place.

To get started, a child theme only needs one folder with two files inside: style.css and functions.php . You can leave it simple like this or add more files, such as PHP, CSS, JavaScript, and other assets, just like in a normal theme.

Why You Need a Child Theme

A child theme is useful because it keeps your changes safe when the parent theme or plugins are updated. This means you can adjust your WordPress site without editing core theme or plugin files.

This is important because "hardcoding" changes directly in WordPress core, parent theme or plugin files is not a good habit and it can be risky and create security gaps.

A child theme keeps everything organized in one place. It also allows to replace bloated plugins with tailored, custom code snippets when needed.

Do You Really Need a Plugin?

A child theme uses just one folder and two basic files. Using a plugin for something this small is like using a forklift to pick up a paperclip.

For most websites, you do not need a plugin just to create a child theme. Once your child theme is active, that generator plugin does nothing useful. A lot of people forget to remove it later.

That adds unnecessary bloat to your website and also creates potential security risks. A simpler way is to create the ZIP file once with this online tool or similar generator, install it manually, and avoid adding another plugin to the site.

Customizing a Child Theme

With the child theme active, you can use two files to make changes. You do not have to copy any code from the parent theme into them.

WordPress first loads the child theme files, and then uses the parent theme to fill in anything that is missing. You only need to include what you want to change.

Adding Custom CSS

Open your child theme's style.css file. You will see the header comment at the top. Do not remove it. Just skip a line and enter your extra CSS rules (see example below) just below it and save the file.

/* Example: Change the site background color */
body {
	background-color: #f5f5f5;
}
/* Example: Hide the author name on posts */
.entry-author {
	display: none;
}

Your changes should appear immediately. If they are not, try clearing your browser cache or flushing the cache from your caching plugin.

Adding Custom PHP Functions

The functions.php file is where you add custom code snippets in PHP. When you open it, you will see <?php at the very top. This tag is required, so do not remove it and insert your custom code below it.

// Example: Disable "guess 404 permalink" redirection
add_filter( 'do_redirect_guess_404_permalink', '__return_false' );
// Example: Remove WooCommerce sidebar on product pages
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );

FAQ

Will My Site Break When I Activate the Child Theme?

It should not. Your site will continue to look and work the same way after you activate a child theme. That is because a child theme inherits all the templates and styles from the parent theme.

Just make sure you keep the parent theme installed. The parent theme files are still required, even when the child theme is active. That said, it is always a good idea to take a backup before making any theme changes.

Will the Child Theme Slow Down My Website?

No. A bare child theme is just two small files and adds no real overhead to your WordPress site. What can affect performance is the custom code you add inside it.

You will only notice a difference if you fill it with heavy or poorly written code. As long as your custom code is efficient, the site will run just as fast as before.

Can I Delete the Old Parent Theme Now That the Child Theme Is Active?

No. Please keep the parent theme installed. Your child theme depends on the parent theme files to load correctly.

Removing the parent theme will cause your site to display a blank screen or a fatal error. Keep both themes installed at all times.

When a parent theme update is available, go ahead and install it. Your child theme will keep your custom changes safe and unchanged.

Last updated by Maciej Bis on: April 14, 2026.


Maciej BisFounder of Permalink Manager & WordPress Developer

The developer behind Permalink Manager, a plugin for managing permalinks, has been working with WordPress, creating custom plugins and themes, for more than a decade.

Leave a Reply

Your email address will not be published. Required fields are marked *