I messed up my function.php file.
-
HELP!I am freaking out right now. I’ve just made my website and then I wanted to remove the top bar with what seemed to be “a simple line of code”. I added
if (!current_user_can(‘edit_posts’)) {
show_admin_bar(false);
}
to my functions.php file, from the Theme Editor in my browser, and now EVEYRTHING is broke. My website is all blank and I really don’t know what to do.I do not have any backups, nor acces to my website through FTP. Any way of “resetting” only that file? If it takes FTP acces I will try and gain it.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘I messed up my function.php file.’ is closed to new replies.