This is my first attempt at creating a child theme in wordpress. I at a loss to work out this problem The error I get is: Here is the file: <?php /** *The functions file for the home page */ function dyslexia_scripts() { if ( is_front_page() ) { wp_enqueue_style( 'dyslexia-styles', get_stylesheet_directory_uri() . '/dyslexia-style.css); } } add_action('wp_enqueue_scripts' , 'dyslexia_scripts');
So sorry that this error cannot be fixed because there is a bug when you upgrade to the latest wordpress 4.0 I have encountered a similar prolem last week, the same issue in my theme as the developer has not updated to match the new wp score function. In this case, you can try to replace the functions.php from your backup theme The final solution is changing the theme, if you are unable to login the wp_admin, try to login through the FTP software.
If that's the code, verbatim, you're missing an ' before the last ) on the wp_enqueue_style-entry. And, please learn to use [ code ] brackets (without the spaces) when posting code.