Site Broken after adding one line and deleting it in Functions.php
-
I was informed I could create a header.php file in my child theme by adding a line of code to the functions.php. It indeed worked but my entire site is broken now.
I switched back to the parent theme and fixed the site but now my child theme is no longer usable.
Here is the fuctions.php of the child.
<?php
function focuson_ninzio_child_scripts() {
wp_enqueue_style( ‘focuson_ninzio-parent-style’, get_template_directory_uri(). ‘/style.css’ );
}
add_action( ‘wp_enqueue_scripts’, ‘focuson_ninzio_child_scripts’ );?>
Any suggestions on how to get the child to work again. I have disabled and enabled all plugins in troubleshooting mode and nothing worked. Thanks guys!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Site Broken after adding one line and deleting it in Functions.php’ is closed to new replies.