Child Theme errors
-
We were receiving the bottom two errors before adding a child theme. The child theme added the first error:
Failed to load resource: the server responded with a status of 404 (Not Found) https://playprosinc.com/wp-content/themes/dzonia-lite/js/slides.min.jquery.js?ver=4.2.2 Failed to load resource: the server responded with a status of 404 (Not Found) 2https://playprosinc.com/wp-content/themes/dzonia-lite-child/style.css/style.css?ver=4.2.2 Failed to load resource: the server responded with a status of 404 (Not Found)
Functions.php in the child theme (enqueue the child theme css):
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_stylesheet_uri().'/style.css' );
calling the parent theme from the child:
@import url(“../dzonia-lite/style.css”);This has stopped the front page displaying the content placed in the Theme Options. Help?
- The topic ‘Child Theme errors’ is closed to new replies.