deactivate theme
delete theme folder from /wp-content
i wanted to delete a theme because
i got this error message
Fatal error: Call to undefined function get_header() in /home1/peacepr2/public_html/index.php on line 1
i thought i deleted the theme
but i’m still getting the same message
please help
peacepress1wp-admin,
thats not an error thats generated by a theme. did you read the error??
/home1/peacepr2/public_html/index.php
themes live inside wp-content/themes/
what you have done is tried to edit wordpress’ ROOT index.php (the same index.php that lives in the same directory as your wp-config.php)
That file does NOT get edited.
edit theme files, NOT that file.
To fix your error, you need to replace the file you have been editing:
/home1/peacepr2/public_html/index.php
with a fresh, unedited one.
—
does anyone read the docs anymore?? wtf
thanks
how to i get a fresh unedited file
you download the zip, and extract the contents.
see the orange download link at the top of every page?
click that, its self-explanatory.
I tried to change the theme in my site and got this message.
Fatal error: Call to undefined function wp_list_comments() in /home/teatreem/public_html/wp-content/themes/Bloxy 2/bloxy-two/functions.php on line 52
It was showing the last theme was still active but when I go to the site it is showing the above fatal error.
I cannot even log in to to get the Wp-content folder to de-activate the theme. What do I do in this situation?
Any help would be appreciated.
I went into my FTP and deleted the theme that way but now absolutely nothing shows up when I type in the URL.
Do I have to delete the whole thing ( the blog) and start again ?