• Resolved Rob_Lefebvre

    (@rob_lefebvre)


    I want to completely remove the ability to comment from all the pages and everything on my sebsite. How can I do this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Turn off comments in the admin panel– Settings->Discussion then the third checkbox down.

    If that isn’t ‘off’ enough, then I guess you’d h ave to edit out all of the comment stuff from your theme files.

    Thread Starter Rob_Lefebvre

    (@rob_lefebvre)

    I think I do have to edit everything on the theme. I tried that and it seems that there is still a comment box on every page. Any suggestions?

    post the name of your theme, and – if possible – a link to your site.

    as @s_ha_dum already suggested:

    you’d h ave to edit out all of the comment stuff from your theme files.

    where that all is dependfs on your theme.

    general codes to look for (probably with some parameters in the brackets):

    comments_popup_link()
    comments_template()
    comments_number()

    If your theme isn’t switching the comment boxes off when you disable comments you are going to have to dig through the theme to find them in the theme PHP and get rid of them– a bit tedious but shouldn’t be too hard.

    Thread Starter Rob_Lefebvre

    (@rob_lefebvre)

    The theme name is Hero by theme trust. The website link is https://www.throwthediceproductions.com

    Thread Starter Rob_Lefebvre

    (@rob_lefebvre)

    Hey, Thanks for all the help everyone. Basically I just deleted all of the info in the comments.php and it is now gone. If anyone is using this for reference on how to fix the same problem as me, I would reccomend saving all of the code into a notepad doc, so if you want it back you can copy paste. There is also probably an easier way, but it worked good enough for me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to completely remove the ability to comment from pages’ is closed to new replies.