• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Remove Comment Form Support From Any WordPress Theme

You can disallow people from posting new comments using the native WordPress Discussion settings however this doesn’t remove the comment form.

Discussion Settings

Because of this, comment spam bots will still try and submit comments which may annoy some people.

If you want to completely remove the comment form template from posts and/or pages, you can.

Simply paste one of these PHP code snippets at the end of your child themes functions.php file.

Remove Comments Form From All Single Posts

Register for full access

More Ways To Fight Comment Form Spam

  • How To Remove Comment Form Allowed Tags

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.