Child Theme Incomplete – Themes must have a stylesheet and a template.
-
I’ve created a child theme for Vantage using the following css:
/*
Theme Name: Vantage Child Theme
Description: Vantage Child Theme
Author: Seravy
Template: vantage
Version: 1.0.0
*/@import url(“../vantage/style.css”);
/* =Theme customization starts here
——————————————————- */But I’m not sure why wordpress instead detected a broken theme with message “The following themes are installed but incomplete. Themes must have a stylesheet and a template.”
The child css is located in a new folder I created called “vantage-child” under wp-content/themes/ of my web server directory via FTP.
The wp-content/themes contains the following folders/files:
twentyfifteen/
twentyfourteen/
twentythrteen/
vantage/
vantage-child/
index.phpI’ve double checked for upper lower case of the directories and the word “vantage” under Template and they are all lower case. But still the child theme is not working.
I’ve tried deleting the wordpress files from the FTP server (I am not sure if I’ve deleted all of them though) and tried reinstalling wordpress. But it still didn’t work. The weird thing is after I reinstalled wordpress and entered my webpage hoping to setup user account again, I instead entered a black page, and if i enter mywebsite.com/wp-admin I was greeted with the login page and after typing my previous username and password I was able to login. All the plugins that I’ve installed have errors (obviously cause they’re missing), vantage parent theme has error.
After I reinstalled vantage and copied the child css again I still get the template missing message from wordpress. I’m not sure whats the problem.
- The topic ‘Child Theme Incomplete – Themes must have a stylesheet and a template.’ is closed to new replies.