Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Login

Register Now

Register in less than a minute and start posting your queries and get help from experts.

[Solved] Remove Comment Form in WordPress Theme

Today i will be able to be serving to you on a way to remove comment type in WordPress Theme. Here we’ll learn varied ways of removing comment type in WordPress, to avoid wasting from spam bots.
You can command individuals from posting new comments victimisation the native WordPress Discussion settings but this doesn’t take away the comment type.

remove comment

Because of this, comment spam bots can still attempt to submit comments which can nettle some individuals. If you would like to utterly take away the comment type templet from posts and/or pages, you can. merely paste one amongst these PHP code snippets at the top of your kid themes functions.php file.

To hide comments on the particular page visit “WP-admin > Pages” and click on the “quick edit” link. you may see the “Allow Comments” checkbox

comments-disable

You can do identical within the Page/Post Adding/Editing interface. merely check the “Discussion” checkbox in Screen possibility – corresponding “Discussion” box can seem

disablecommentsonpage-codexjunction

About Irfan

I love to Develop Websites, Applications and UI Design. I’m a Certified Developer, blogger and owner of Codexjunction.com. My friends call me WordPress Expert too. I like to learn and share technical stuff. For more info quick message me, I’ll help you out.

Leave a reply

Captcha Click on image to update the captcha .

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>