template.php is not executed

Here are issues why template.php are not executed:

  • Your Administration theme is different than the default theme and you logged in as administrator.