From http://wpsnipp.com/index.php/template/template-directory-path/