How to disable comments for posts and pages in WordPress

How to disable comments for posts and pages in WordPress

First – navigate to your page or post (edit more). Then go to the top of the page and find Screen options
Make sure you have the Discussion activated. Then, on your page find the box and uncheck the “Allow comments” and “Allow trackbacks and pingbacks on this page”. That should hide the comment box. You can check the screenshots below.