Support » Fixing WordPress » Hiding comment tag for a category. How?

  • Hi all,

    I have singled out a category to display in a different way than my other posts – http://phpfi.com/64431 but I am not 100% sure how to hide the comment include from that category.

    Can anyone help me here?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you’re trying to hide them when in category 26, just move the comments_template() tag to just before you close your else statement:

    <?php link_pages('<strong>Pages:</strong> ', '
    ', 'number'); ?>

    <?php comments_template(); ?>

    <?php } ?>

    <?php endwhile; else: ?>

    Ah so simple 🙂

    Sorry to trouble you 🙂

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hiding comment tag for a category. How?’ is closed to new replies.