Can't Install Child Theme without Breaking WordPress
-
I am trying to install a child theme to accompany the theron-lite theme. Every time I try to activate the child theme from the dashboard i get a 500 internal server error and can’t get back to the dashboard unless I completely uninstall wordpress and re-install it.
Here is the code I’m using:
style.css/* Theme Name: Theron Lite Child Theme URI: http://www.nicolearocha.com/testing Description: Theron lite Theme Author: Nicole Arocha Author URI: http://www.nicolearocha.com Template: theron-lite Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: theron-lite-child */
funtions.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’ve done this over and over again and I get so far as the theme loading as an installable child theme, and then i breaks every time I hit ‘activate’.
Does anyone know what I’m doing wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Can't Install Child Theme without Breaking WordPress’ is closed to new replies.