'Fatal Error' after changing functions.php theme options
-
I was following a tutorial on how to hide certain posts from the blog page and it advised me to change the functions.php under theme options. I did and now when I go on my site or even change page on wordpress I get;
‘Fatal error: Call to undefined function get_template_directory() in /home/ab4689/public_html/wp-includes/functions.php on line 3’
You can see for yourselves if you like by going onto https://www.olivercourtdesign.co.uk.
I have kept the style sheet from the website but reinstalled the theme using FileZilla, thinking that would solve the problem but it hasnt. I have also cleared my cache and that hasnt helped either.
If anyone can help I would highly appreciate it! Cheers!
- The topic ‘'Fatal Error' after changing functions.php theme options’ is closed to new replies.