I am trying to create a child theme based on Twenty Twelve as per the instructions Child Themes WordPress Codex. This is under a local vagrant install, although that shouldn't make any difference.
I've created a directory wp-content/themes/kissykissy/style.css with only the following:
/*
Theme Name: Kissy Kissy
Author: Jane Doe
Version: 1.0
Template: twentytwelve
Text Domain: kissykissy
*/
@import url("../twentytwelve/style.css");
/* =Theme customization starts here
-------------------------------------------------------------- */
When I activate the child theme, the child theme doesn't load the parent theme functions.php or any of the parent theme at all, as far as I can see. I get the following errors:
Warning: include(/vagrant/wordpress/wp-content/themes/kissykissy/functions.php): failed to open stream: No such file or directory in /vagrant/wordpress/wp-settings.php on line 321 Call Stack: 0.0008 639416 1. {main}() /vagrant/wordpress/index.php:0 0.0015 644864 2. require('/vagrant/wordpress/wp-blog-header.php') /vagrant/wordpress/index.php:17 0.0021 673288 3. require_once('/vagrant/wordpress/wp-load.php') /vagrant/wordpress/wp-blog-header.php:12 0.0027 694544 4. require_once('/vagrant/wordpress/wp-config.php') /vagrant/wordpress/wp-load.php:29 0.0038 842336 5. require_once('/vagrant/wordpress/wp-settings.php') /vagrant/wordpress/wp-config.php:92 Warning: include(): Failed opening '/vagrant/wordpress/wp-content/themes/kissykissy/functions.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /vagrant/wordpress/wp-settings.php on line 321 Call Stack: 0.0008 639416 1. {main}() /vagrant/wordpress/index.php:0 0.0015 644864 2. require('/vagrant/wordpress/wp-blog-header.php') /vagrant/wordpress/index.php:17 0.0021 673288 3. require_once('/vagrant/wordpress/wp-load.php') /vagrant/wordpress/wp-blog-header.php:12 0.0027 694544 4. require_once('/vagrant/wordpress/wp-config.php') /vagrant/wordpress/wp-load.php:29 0.0038 842336 5. require_once('/vagrant/wordpress/wp-settings.php') /vagrant/wordpress/wp-config.php:92 Warning: include(/vagrant/wordpress/wp-content/themes/kissykissy/index.php): failed to open stream: No such file or directory in /vagrant/wordpress/wp-includes/template-loader.php on line 74 Call Stack: 0.0008 639416 1. {main}() /vagrant/wordpress/index.php:0 0.0015 644864 2. require('/vagrant/wordpress/wp-blog-header.php') /vagrant/wordpress/index.php:17 0.1639 29783400 3. require_once('/vagrant/wordpress/wp-includes/template-loader.php') /vagrant/wordpress/wp-blog-header.php:16 Warning: include(): Failed opening '/vagrant/wordpress/wp-content/themes/kissykissy/index.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /vagrant/wordpress/wp-includes/template-loader.php on line 74 Call Stack: 0.0008 639416 1. {main}() /vagrant/wordpress/index.php:0 0.0015 644864 2. require('/vagrant/wordpress/wp-blog-header.php') /vagrant/wordpress/index.php:17 0.1639 29783400 3. require_once('/vagrant/wordpress/wp-includes/template-loader.php') /vagrant/wordpress/wp-blog-header.php:16
I have activated the parent theme and reactivated the child theme, as per a suggestion I saw elsewhere on the forums, but to no avail.
Am I missing something obvious?
Thanks for your help.