24 | troubleshooting wordpress themes
here is a little trick if you need to check some variables, or try something new in your wordpress theme while the site is live.
use a conditional if statement to check that you are logged in as the original administrator, and only then do what you need to do. this way you can perform and display the neccesary tests, without the public seing anything.
<?php
if (’1′ == $user_ID) :
echo 'you … » read more »

