I did this: <?php if (is_home()) { ?> <p>homepage</p> <?php } ?> and it isnt working. I didnt have my frontpage set as static, so it just shows www. myhomepage. com , so what could be the problem with ? Oh yah, it is with a template that I am modifying that I came to have this problem. Can someone provide me with insights on what could have gone wrong ? the other conditional tags - is_single etc etc are all working fine. Thanks!
** Sorry, i managed to find the answer somewhere else ** For those who interested (anyway) , Add this before your conditional tag - <?php wp_reset_query(); ?> Because of earlier query is stored, so you want to reset it away, and thus will show the home() condition as true.