Child Theme. ” Internal Server Error” when creating new pages.
-
I got a child Theme.
I get ” Internal Server Error” when creating new pages.
This does not happen in the original father theme.I only have functions.php and style.css in the child theme.
style.css only has theme information; no code!
functions.php code is as follows:<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); }
Should i have an exact skeleton replica of the father theme at all times in the child theme for things to work properly?
What’s the correct way to do things; regarding the child theme?
And most importantly; how do i fix this, so i can access the pages?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Child Theme. ” Internal Server Error” when creating new pages.’ is closed to new replies.