Skip to content
Merlin Tools

Theme header generator (style.css)

The opening block of style.css that defines the theme.

Genuinely free. No sign-up, no email, no limits, no cookies. We don't store the URL you analyse.

Code
/*
Theme Name: My Theme
Version: 1.0.0
Author: Jane Doe
Text Domain: mio-tema
License: GNU General Public License v2 or later
*/

What it's for

WordPress recognises a theme by the comment at the top of style.css. A child theme also needs the Template line with the parent theme's folder name. Here you get the right header for both cases.

← All WordPress tools

Frequently asked questions

What's different for a child theme?

A child theme must have the «Template:» line with the exact folder name of the parent theme. Tick the option to add it; without it, you get a normal theme's header.