Creation of child theme problem
-
Hey, Im creating my child theme. I made a folder in wp-content, named
sporty-child
and I placed functions.php and style.css in the folder.
My style.css :/* Theme Name: SportyTheme Child Theme URI: https://www.templateexpress.com/sporty-theme/ Description: SportyTheme Child Theme Author: Ossie HeffellAuthor Author URI: https://www.templateexpress.com/Description Template: SportyTheme Version: 1.6.8 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: SportyTheme-child */
My functions php:
<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } ?>
I dont see the child theme in my appereance -> themes option in WP-Admin, what should I do?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Creation of child theme problem’ is closed to new replies.