Create template.php

In the template.php file in your THEME folder add code, don't miss to replace THEMENAME with your drupal theme name