Hide the page titles of some content types I found following code on this website http://codekarate.com/content/hiding-page-titles-specific-node-types-drupal-6 to hide the page titles of some content types. 

Can some one help me rewrite this for drupal 7 ??

function THEMENAME_preprocess_page(&amp;$vars) {
  $vars['original_title'] = $vars['title'];
  if (!empty($vars['node']) &amp;&amp; in_array($vars['node']-&gt;type, array('NODETYPE'))) {
    $vars['title'] = '';
  }
}
Just wanted to let you know that there is a module that does this Exclude Node Tittle