Categories
WordPress How To

WordPress blog goes blank after editing and updating the theme files

Really weird but not unexpected at all. After trying to edit and update a theme file functions.php to override a native function of WordPress, get_search_form, inserting these lines at the end of functions.php of my theme:

function get_search_form() {
?>test<?php
}

To see if the native get_search_form() function can be overriden. Turns out it can’t. Not only that but my WordPress blog refuses to load anything other than a blank white page. I have to get on FTP to revert those changes.

And it recovers from the strike.

By Yang Yang

Hello, I'm Yang. I build online businesses that please people. Want to join in and post some useful articles on Kavoir.com? Shoot me a message.