Disabling comments

Support Area Forums Epic Disabling comments

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question:
  • Author
    Posts
  • #8745
    Don Rozier
    Participant

    I am trying to totally disable comments on my site. I successfully did so under SettingsDiscussion Settings. However, there was still a button with “Make A Comment” showing on my News Page. News is my only category.

    So after poking around in the .php files, I discovered this line in the archive.php file and the page-blog.php file:

    [sourcecode language="html"]
    <a class="right" href="<?php the_permalink(); ? rel="nofollow">#comments"><?php comments_number(__(‘Make A Comment’, ‘organizedthemes’), __(‘1 Comment’, ‘organizedthemes’), __(‘% Comments’, ‘organizedthemes’)); ?></a>
    [/sourcecode]

    So I deleted it. That made the button disappear but I’m wondering if I did something bad that will bite me later on?

    Was that the best way to do this?

    And are there any other files that contain this code?

    #8750
    Bill Robbins
    Moderator

    Don,

    Thank you for your business first of all. That’s a fine way to remove the comments from displaying on your blog page. You also may wish to remove that line from the archive.php file too.

    It shouldn’t cause you any trouble to remove that.

    If you have any questions, just let me know.

    Happy New Year,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Disabling comments’ is closed to new replies.