Jan 23, 2012

Wordpress: Show a DIV only if on Home Page

<?php
  if (is_home())
    echo '<div>bleh</div>';
?>

source

No comments: