WordPress.org

Ready to get started?Download WordPress

Forums

Conditional is_comments() function available? (3 posts)

  1. jeffb0
    Member
    Posted 5 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
    Member
    Posted 5 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
    Member
    Posted 5 years ago #

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

    http://blog.kaizeku.com/wordpress/prevent-wordpress-27-duplicate-content/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.