Child theme

Hi,
sorry for a stupid question but I’m not able to manage it after trying for ages…

I tried to generate a child theme for moesia but I always get an error message:
“Das übergeordnete Theme fehlt. Bitte installiere das übergeordnete Theme „Moesia“, da du Child-Themes sonst nicht nutzen kannst.” - I will try to translate: “The parent theme is missing. Please install the parent theme “Moesia”, otherwise you cant’t use child Themes.”

I created a folder “moesia-child” right next to the “moesia” theme folder with a functions.php, style.css and a screenshot.png. Following code is in the style.css:
/*
Theme Name: Moesia Child Theme
Theme URI: https://athemes.com/theme/moesia
Description: Moesia Child Theme
Author: Resmi
Author URI:
Template: Moesia
Version: 1.0.0
*/

The functions.php:
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
?>

Do you know where the problem is? Thanks a lot!

Hi,

Have you created the Child Theme manually or you have used a plugin to create it?

Also please try this plugin and let me know how it works: https://wordpress.org/plugins/child-theme-configurator/

Best Regards,
Csaba

Hi,

thank you! It works perfect! I didn’t know this plugin but it’s very helpful.

Best Regards,
Regina

Hi,

Great! You’re most welcome! If you need help with anything else, please, feel free to open a new topic.

Have a nice day!

Best Regards,
Csaba