• The is_single() function is not working in my theme for whatever reason.

    <?php if(is_single()): ?>
    <?php include(TEMPLATEPATH . '/footer2.php'); ?>
    <?php else: ?>
    <?php get_footer(); ?>
    <?php endif; ?>

    That just doesn’t work… The page executes as though there were no conditions and seems to skip directly to get_footer(). (I’ve tested this with and without single.php.)

    If I were to guess, I’d say that WordPress simply isn’t classifying posts in a way that is_single() can identify.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘is_single() disabled? somehow?’ is closed to new replies.