WordPress.org

Support

Support » Plugins and Hacks » How do you check if a post has comments ?

How do you check if a post has comments ?

  • Matt B.
    Participant

    @dtc

    Hi guys,

    Is there a way to check if a post/page has comments already ? I would like to include my javascript only on posts/pages who have comments already.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do you check if a post has comments ?’ is closed to new replies.