The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Removing comments (4 posts)

  1. ant01
    Posted 5 years ago #

    Please can someone assist me in how to remove comments from my pages. I've done it before but have forgotten how I did it.

    I am using a multi site setup and am not sure where to look and which files. I searched the subject and it seems that I need to remove <?php comments_popup_link('0 comments', '1 comment',
    '% comments', 'comments-link', 'Comments off'); ?>
    from the comment-template.php file.

    I looked in the editor under appearance I only have a (comments.php) and (comments_legacy.php) file and neither have the above code.

    Please can someone assist.


  2. K-Fella
    Posted 5 years ago #

    Only for Pages or site-wide?

  3. ant01
    Posted 5 years ago #

    Site wide, please

  4. K-Fella
    Posted 5 years ago #

    In the Dashboard go to Settings -> Discussion and uncheck the 3rd checkbox (Allow people to post comments on new articles).

    To remove the code from the templates, you'll need to edit several templates for each site theme.

Topic Closed

This topic has been closed to new replies.

About this Topic