Simple but unable to crack this one: How to display a few div's only on the homepage? I've tried a lot of solutions, none worked for me.
I'm doing this the header.php of the theme:
<?php if( is_home() ) : ?> <div align="center"> <div class="trigger"><h1><?php echo trigger($bowling); ?></h1><br /><h3>Wanna go bowling? Push the <a href="/bowling">Button</a></h3></div> <div class="cleardiv"></div> <?php endif;?>
Doesn't work... Anyone?