HELP! PLEASE!! Now got no WP Site and no WP admin
-
I was attempting to make it so that our video and screenshot posts would also feature in our main feed. I was tweaking what it said:
function new_excerpt_length($length) { global $post; if ($post->post_type == 'post') return 40; else if ($post->post_type == 'reviews') return 20; else return 40; } add_filter('excerpt_length', 'new_excerpt_length');
And I changed it to:
($post->post_type == 'post', 'video')
All of the above code editing was done in functions.php in the editor of wordpress for our Theme. I have a copy of the correct php and have it on the template download file to. Tried putting back to normal through FTP (FileZilla) and Filemanager on our hosts Dashboard, however nothing?
Now, we have nothing. No web site or admin login. It shows an HTTP 500 error. How can I get our web site and content back up? Really stuck on this and I feel that my error has just ruined all previous work.
- The topic ‘HELP! PLEASE!! Now got no WP Site and no WP admin’ is closed to new replies.