Comments error message at bottom of all blog posts

Discussion in 'Harrington- A WordPress Business Theme.' started by dmedia, Jun 29, 2016.

Thread Status:
Not open for further replies.
  1. dmedia

    dmedia Member

    Joined:
    Dec 6, 2013
    Messages:
    164
    Likes Received:
    4
    Hi - For some reason every blog post has the following message at the bottom of the post:

    Notice: Use of undefined constant CMNT_CLSD - assumed 'CMNT_CLSD'
    in comments.php on line 37


    I am not using any "no comment" plugin. Although I am happy there are no comments on the blog section. I do have the box unchecked in Discussion Settings for "Allow people to post comments on new articles" because we do not want comments.

    I went to that file (comments.php) in the theme folder, and that line. I see it says:

    <h3 class="nocomments"><?php echo CMNT_CLSD; ?></h3>

    I am not sure why the theme is having a problem with this. Have you run across this before?

    http://dev.dfwvetsurgeons.com/library/anal-sac-removal-elective/
     
  2. priya

    priya Guest

    Hi,

    Greetings from InkThemes!

    You are suggested to replace the code as you have metioned above to <h3 class="nocomments">Comment Closed</h3> in comments.php file..

    Hope it will resolve your issue

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  3. dmedia

    dmedia Member

    Joined:
    Dec 6, 2013
    Messages:
    164
    Likes Received:
    4
    That was it exactly! Solved the issue, thank you so much!!!
     
  4. priya

    priya Guest

    You're welcome..:)

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
Thread Status:
Not open for further replies.

Share This Page