Child Theme Not Working
-
I have created the Child Folder: “baskerville-child”
And created a functions.php and a style.css
But when uploading the folder to my themes folder a message appears in the Themes Page: “Theme Broken”, so it seems that something is not working and I can activated.
This is what I included in functions.php:
<?php
add_action( ‘wp_enqueue_scripts’, ‘baskerville_enqueue_styles’);
function baskerville_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’);}
?>This is what I included in styles.css:
/*
Theme Name: Baskerville Child
Version: 1.17
Author: Anders Norén
Author URI: https://www.andersnoren.se
Theme URI: https://www.andersnoren.se/teman/baskerville-wordpress-theme/
License: GNU General Public License version 2.0
License URI: https://www.gnu.org/licenses/gpl-2.0.html*/
/*————————————————————
* Theme customization starts here
*————————————————————*/What is it that is showing me this error?
- The topic ‘Child Theme Not Working’ is closed to new replies.