Template Missing Child Theme
-
Am using wordpress version 2.3.3. Need to update (in increments to stay safe) plus make changes to site. Am trying to create a child theme to help protect existing theme/modifications – before updating or making changes. Unable to use Child Theme Configurator plugin due to outdated wordpress version. So, am trying to create a child theme manually. Message comes up saying ‘Broken theme – Template is missing’. Have tried entering template in style.css file in lowercase – still same message.
Here’s the style.css info:
/*
Theme Name: BurnsideK2 Child
Theme URI: http://burnsidecroft.com/BurnsideK2-child/
Description: BurnsideK2 Child Theme
Author: Ruth Thompson
Author URI: http://burnsidecroft.com
Template: burnsidek2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: BurnsideK2-child
*/Here’s the function.php info:
<?php
function my_theme_enqueue_styles() {$parent_style = ‘BurnsideK2-style’;
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
?>Have I done something wrong?
- The topic ‘Template Missing Child Theme’ is closed to new replies.