
<script type=”text/javascript”>function initMenus() { $(‘ul#accordion li ul’).hide(); $.each($(‘ul#accordion’), function(){ $(‘#’ + this.id + ‘.expandfirst ul:first’).show(); }); $(‘ul#accordion li h2.widgettitle’).click( function() { var checkElement = $(this).next(); var parent = this.parentNode.parentNode.id; if($(‘#’ + parent).hasClass(‘noaccordion’)) { $(this).next().slideToggle(‘normal’); return false; } if((checkElement.is(‘ul’)) && (checkElement.is(‘:visible’))) { if($(‘#’ + parent).hasClass(‘collapsible’)) { $(‘#’ + parent + ‘ ul:visible’).slideUp(‘normal’); } return false; …

We’ve all been there: We’re editing the WordPress theme file, setting a new function and *BAM*: We view the site and it’s nothing but a sea of white pixels. There’s no messages, no errors, nothing to indicate what you’ve done wrong. And it’s frustrating: sure, removing the change would fix the problem, but I (as I’m…