ThemeShaper Forums » Thematic

"Leave a comment" not displaying

(1 post)
  • Started 12 years ago by Wisefaq
  • This topic is not resolved
  1. Going to leave this as unresolved, as I don't know if it's an "undocumented feature" or a bug.

    In hooks-filters.php, there is a piece of code to check if there are comments.
    "// Display comments link and edit link"

    This line of code:
    elseif ($postcommentnumber == '0') ...

    doesn't work with my Blog (, as get-comments-number is returning "-1".

    Changing the line to

    seems to resolve the issue.

    But I don't know if:
    * this is the right fix?
    * what is causing a negative value (DISQUS perhaps?)


    Posted 12 years ago #

RSS feed for this topic


You must log in to post.