Help! My website crashed
-
Today I was working on my website and added a code to function.php because my admin bar was no longer showing on the website itself:
[codesyntax lang=”php” lines=”fancy”]
function my_function_admin_bar($content) {
return ( current_user_can(“administrator”) ) ? $content : false;
}
add_filter( ‘show_admin_bar’ , ‘my_function_admin_bar’);
[/codesyntax]When I saved this I got a white screen, I tried going back a page and delete the code but this didn’t seem to work, I also get a white screen on my website : https://www.oneframe.nl.
I am a complete newbie with everthing that goes into making a website and have no clue what to do now.
I do have a ftp program (filezilla) and know how to get into oneframe.nl/phpmyadmin. I also have made a dropbox backup a while ago.
Is there any way to delete the code I added to function.php?
- The topic ‘Help! My website crashed’ is closed to new replies.