Support » Fixing WordPress » is_404 returning true on outside page

  • I am using my template on an page outside of wordpress.

    I put this at the top of the php file

    <?php
    require(‘../wp-blog-header.php’);
    ?>

    However, when I have a call to is_404() – it is returning true. But it’s not a 404 page. Any thoughts? Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘is_404 returning true on outside page’ is closed to new replies.