• I have tried this with is_home and is_front_page and no matter what I always get the same result, the code from the “else” clause displays no matter where I am on my site.

    Does anyone have an idea what my be happening?

    I have NOT set up my reading settings to point to another page.

    <?php if ( is_front_page()  ) { ?>
    THIS IS THE HOME PAGE
    <?php } else { ?>
    THIS IS NOT THE HOME PAGE
     <?php } ?>
Viewing 1 replies (of 1 total)
  • where is that code located, and could there be a custom query somewhere before in the same template?

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional not working’ is closed to new replies.