title: Load different div at home template in wordpress
body: <p>I am working on a custom wordpress homepage. 
  I want that it is loading in a different div in the header.</p>
  
  <p>The header now loads the #content div for every page. But i want to let it load #contenthome div if the homepage loads.</p>
  
  <p>I'm using this php-code:</p>
  
  <pre class="lang-php prettyprint-override"><code>&lt;?php if (is_page_template('template-home.php'))  { ?&gt;
  &lt;div id="contenthome"&gt;
  &lt;?php } else { ?&gt;
  &lt;div id="content"&gt;
  &lt;? } ?&gt;
  </code></pre>
  
  <p>I'm fairly new to php. so i hope you guys can help me :) </p>
  
  <p>Thanks a lot.</p>