Snippets

Dan Bochichio WordPress IF Homepage

Created by Dan Bochichio
1
2
3
4
5
6
<?php if (is_front_page()){ ?>
    <p>Home Page</p>
  <?php else { ?>
     <p>Not Home Page</p>
  <?php } ?>
?>

Comments (0)