Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Don’t allow comments to blog posts

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34945

    Gday, I’m trying to delete the code in my site to not allow comments to my blog posts. This is my site http://www.vigourdynamicfitness.com.au…..who knows how to do?

    #89806
    chrisburton
    Participant
    #89808

    Thanks but I’m confused by this…not sure where I would need to put this code:
    UPDATE wp_posts SET comment_status = ‘closed’;
    Which php file?

    #89811

    functions.php i guess

    #89838
    TheDoc
    Member

    Or you can find your single.php file and take out the code for the comments.

    #89842
    standuncan
    Member

    I do three things to make sure they are all the way removed. First I go to the Wp settings and turn commenting off, then go to comments.php and remove everything from that file except the first comment. Then I search and remove everywhere is calls for the comments;

    This is the string I search for: ” <php comments_popup_link “

    Then there is no way for comments to ever show and there is no way anyone can try to comment. I would only do it this way if you are for sure you never want comments on your wp site, even int he future.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Back End’ is closed to new topics and replies.