Earlier on this evening, I decided to post a snippet of PHP that I use to get rid of my admin bar. One of my friends made a very astute comment and showed me that that one snippet could be a bit confusing. PHP is a very strict scripting language (which is pretty well the only thing I like about it) and that one snippet could be the cause of many errors.
So, in the spirit of helping new developers, I am going to put my entire functions.php file in this post. The file is commented (in PHP, lines that start with // are comments), so I trust that it will be clear. But as always, if not leave a comment and I’ll try to help.
