If & Else for footer.php? Am I doing something wrong?
-
Hi all,
I have a couple of different divs called between homepage and the rest of my site and thought my code – see here: https://paste-it.net/public/m4d3ebd/php/ would do the trick, but it does not.
I am using a:
<?php if (is_page(home)) { ?>
some text
<?php } else { ?>
some text
<?php } ?>
Is this correct?
Many thanks
Chris
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘If & Else for footer.php? Am I doing something wrong?’ is closed to new replies.