• Resolved wc5b

    (@wc5b)


    I am setting up a new site and would like to make it appear more of a static website that allows just a few to update news and such of our organization. We do not want or require any comments on any posts or pages, but the box still comes up saying be the first to comment. Is there anyway to not even have the “No Comments” “Make a Comment” info to not even show up so it can look a bit cleaner?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Devin Price

    (@downstairsdev)

    You can delete the comments from your template files, or uncheck “Allow Comments” from the page/post editor.

    If you’re not sure how to delete the comments from your template files, post the code from your page.php file and someone will let you know what needs to be removed.

    drstat

    (@drstat)

    Where does one find ‘page/post editor?

    Thread Starter wc5b

    (@wc5b)

    I have already unchecked Allow Comments, but the boxes after my posts still show up with the option to click “Be the first to comment – What do you think?” Then when you click it, it states no comments allowed. My question is, is there a way to get rid of the “Be the first to comment – What do you think?” statement?

    If you want all commenting gone, you’ll have to edit some theme files. index.php, page.php, single.php, etc. Which files depend on what files your theme uses, but you can go through them and delete the appropriate lines from all them.

    You are just looking for a bit of code that reference comment popup template, or something similar like
    <?php comments_popup_link('ADD COMMENTS', '1 COMMENT', '% COMMENTS'); ?>
    or
    <?php comments_template(); ?>

    you’r will look a bit different, but this is the general idea

    Thread Starter wc5b

    (@wc5b)

    Ok, I found that under Theme folder under content folder (Heatmap Theme) But after deleting it, It still shows up. Is it not the right place?

    depends…your theme uses multiple files for displaying content, usually:
    index.php is your blog post page
    page.php is single pages
    single.php is individual posts

    and there could be others depending on your theme

    You have to delete that code from each applicable template file within the theme

    Thread Starter wc5b

    (@wc5b)

    Thanks… with your direction I found it. I found the single version and the page version, but it was not in index. After searching some more I found it in a common.php Exactly what I was looking to do, thanks.

    Tom

    sure thing!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Disable Request for Comment’ is closed to new replies.