How to Disable Comments Section on Page in WordPress

Comment section on a page doesn’t seem professional. Comment section is more legit for blog post.

If you want to build discussion on a post with your site visitors but not on pages, you may consider that sometimes unchecking the comments in the screen option or even installing Page Off Comments Plugin doesn’t work.  If this will happen to you, just go to Appearance>>Editor>>Page Template (page.php) and delete this code snippet “<?php comments_template(); ?>

Or if you want to change the word “Leave a Reply” in your comment section with something else, just go to Appearance>>Editor>>Comments (comments.php). This is the code snippet that you want to change

<?php comment_form_title( ‘Leave a Reply’, ‘Leave a Reply to %s’ ); ?>


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s