The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Conditional is_comments() function available? (3 posts)

  1. jeffb0
    Posted 7 years ago #

    Is there a conditional tag to determine if a page is a 'comments' page?

    Right now my comments pages are picking up the is_single() and is_page() conditional tags.

    Codex is no help after searching for a while. BTW, is_comments_popup() does not do the trick.

  2. jeffb0
    Posted 7 years ago #

    ... Or maybe a better question is, how do I tell WordPress, "HEY! This is a comments page?" ;-)

    And better yet, "How do I tell WordPress that FIRST: this is a comments page, and SECOND: that it's paged?"

  3. jeffb0
    Posted 7 years ago #

    For others needing help with this topic, I found the code to do this here:


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.