Is there some sort of template tag that I can use to detect if the current page that was requested is the home page?
like
<? if(is_front()) { ?>
Frontpage content
<? } else { ?>
The loop
<? } ?>
Is there some sort of template tag that I can use to detect if the current page that was requested is the home page?
like
<? if(is_front()) { ?>
Frontpage content
<? } else { ?>
The loop
<? } ?>
If I'm not mistaken, you can use is_home()
This topic has been closed to new replies.