childtheme not being recognized as childtheme
-
I’m currently working on a childtheme (based on Twenty Fourteen). For convenience I’m developing on my local machine and there everything works as expected. Now, I wanted to test my theme on my remote server. But that failed and I have no clue why. Obviously my theme is not being recognized as a childtheme.
Here’s the header of my
style.css
in my childtheme:/* Theme Name: MyChildTheme Theme URI: https://mywebsite.com Description: Twenty Fourteen Child Theme Author: Me Author URI: https://mywebsite.com Template: twentyfourteen Version: 0.0.1 Text Domain: twenty-fourteen-child */
… and in
functions.php
I have some debug-code like the following:print_r(array('templatepath' => TEMPLATEPATH, 'stylesheetpath' => STYLESHEETPATH));
On my local machine that gives me:
Array ( [templatepath] => /home/me/mysite/wp-content/themes/twentyfourteen [stylesheetpath] => /home/me/mysite/wp-content/themes/mychildtheme )
whereas on the remote server I get
Array ( [templatepath] => /home/me/mysite/wp-content/themes/mychildtheme [stylesheetpath] => /home/me/mysite/wp-content/themes/mychildtheme )
I’m pretty puzzled. Any idea what could have gone wrong? How could this be fixed? I have already been working with childthemes for quite some time but I have never experienced something like this before…
Thanks for your help.
- The topic ‘childtheme not being recognized as childtheme’ is closed to new replies.