Sign inDocsBlogAboutSupportContact
Tools

Create a WordPress child theme in one command

No FTP. No manual file creation. Type one line and the child theme is ready.

4 min read May 2026 create child theme

Everyone says "use a child theme." Nobody makes it easy.

Every WordPress tutorial says the same thing: before you customize a theme, create a child theme first. Otherwise your changes get wiped on the next update.

The actual process: create a folder via FTP, write a style.css with precise header formatting, get the Template line exactly right, write a functions.php that enqueues parent styles correctly, upload everything, and hope you didn't miss a step.

Most people either skip it entirely or install a one-time-use plugin just to generate the files.

What most people do instead

Every approach adds friction to what should be a 2-second task.

Create files manually via FTP Write style.css headers, functions.php enqueue, upload via FTP. Get the Template line wrong and the theme breaks.
Child theme generator plugins Install a plugin for a one-time task. It stays in your plugin list forever after, doing nothing.
Skip it entirely Edit the parent theme directly. Lose everything on the next theme update. Repeat.

A better way: one command, ready to customize

Open the TrueCommander navigator. Type create child theme. Hit enter.

The command detects your active theme, creates the folder, writes style.css with correct headers, writes functions.php with parent style enqueue, copies the parent's screenshot, and optionally activates it. All in under a second.

TrueCommander
Child theme created & activated
flavor Theme Child Active
Parent flavor Theme
Slug flavor-theme-child
Path /wp-content/themes/flavor-theme-child/
Status Activated
Files created 3

Shown in advanced mode, where commands start with tp. In easy mode you type the same command without the tp prefix.

Handles nested child themes. If the active theme is already a child, the command resolves to the root parent. No child-of-a-child mistakes.

How it works

Detects the parent, writes the files, copies the screenshot. Done.

1
Detects the active parent theme Resolves through nested child themes to find the root parent. Gets the exact folder name for the Template header.
2
Creates the child theme files Writes style.css with correct headers, functions.php with parent enqueue, and copies the parent screenshot.
3
Optionally activates Add -activate to switch immediately. Without it, the child theme is ready but inactive.
DetailValue
Command namecreate child theme
Custom name-name=My Custom Theme
Activate-activate switches to child theme immediately
Files createdstyle.css, functions.php, screenshot (if parent has one)
Edge casesNested child themes resolved, duplicate directories blocked
Can be used in

Real example

You're setting up a new client site. You've installed and activated the flavor theme. Before adding any custom CSS or template overrides, you need a child theme.

You open the navigator and type tp create child theme -name=ClientName Theme -activate.

Result: Child theme created & activated. Three files created (style.css, functions.php, screenshot.png). The site now runs on "ClientName Theme" with flavor as the parent. When flavor releases an update next month, the client's customizations stay untouched.

Total time: under 2 seconds. No FTP. No file editing. No one-time-use plugin.

Goes further with TrueCommander

Creating a child theme is step one of site setup. Combine it with other commands for a complete workflow.

Frequently asked questions

Ready?

Child theme in two seconds.

This is one of 91 commands. All included with every license.

Cookies. The short version.

Essential cookies keep the cart and theme working. Analytics only fire if you say yes. Read our policy.