Child Theme Generator
Search wordpress.org for the parent, and the Template header, folder name and enqueue all come out matching it — including the themes whose folder is capitalised.
Parent theme
Live from the wordpress.org theme API
Template: astra — copied character for character from the parent's folder name.
Child theme
Parent stylesheet
never @import
Include in the theme
functions.php
The enqueue and anything else PHP-side. A child theme can be style.css alone, but rarely is.
Load the child's translations
load_child_theme_textdomain() against a languages/ folder in this theme.
Copy the parent's Customiser settings on activation
Runs once on after_switch_theme so the site does not reset to defaults.
Theme setup stub at priority 11
An after_setup_theme callback that runs after the parent's, for add_theme_support() changes.
theme.json
Merged over the parent's — declare only the keys you are changing.
rtl.css
Picked up automatically on right-to-left locales.
Generated screenshot.png
1200 × 900, written into the .zip so the Themes grid is not a grey box.
wp-content/themes/astra-child/style.css
/* Theme Name: Astra Child Description: Child theme for Astra. Template: astra Version: 1.0.0 Requires at least: 6.0 Requires PHP: 7.4 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Text Domain: astra-child */ /* ----------------------------------------------------------------- Your styles go below. This file loads after astra/style.css, so a selector of equal specificity already wins — !important is almost never the answer. ----------------------------------------------------------------- */