{"id":36591,"date":"2024-04-23T22:33:02","date_gmt":"2024-04-23T22:33:02","guid":{"rendered":"https:\/\/10web.io\/blog\/?p=36591"},"modified":"2024-04-24T08:21:09","modified_gmt":"2024-04-24T08:21:09","slug":"how-to-disable-comments-in-wordpress","status":"publish","type":"post","link":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/","title":{"rendered":"How to Disable Comments in WordPress: Complete Tutorial"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Comments can significantly shape the experience and interaction on your WordPress site. They offer a platform for engagement, allowing visitors to voice their opinions and interact with your content.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, while enriching, this feature can also present challenges ranging from spam to high maintenance efforts. Deciding whether to enable or disable comments can influence your site\u2019s functionality and user experience.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This tutorial will show you how to disable comments in WordPress, delete existing comments, and prevent new comments from appearing on old content.<\/span><\/p>\n<h2><b>FAQ<\/b><\/h2>\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">How do I turn comments off in WordPress?<\/p>\n    <div class=\"faq_content\"> To turn off comments in WordPress, go to Settings &gt; Discussion in your dashboard and uncheck the option to allow comments on new posts. For existing posts, disable comments by editing each post and unchecking &#8216;Allow comments&#8217; in the Discussion settings. Plugins like Disable Comments can also disable comments site-wide or for specific post types.<br \/>\n<\/div>\n<\/div>\n\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">How do I turn off comments and pings in WordPress?<\/p>\n    <div class=\"faq_content\"> To disable comments and pings, navigate to Settings &gt; Discussion and uncheck the options for allowing comments and notifying blogs (pings) on new posts. For existing content, adjust these settings individually in each post&#8217;s edit screen or use bulk editing tools.<br \/>\n<\/div>\n<\/div>\n\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">Can I turn off comments on my page?<\/p>\n    <div class=\"faq_content\"> Yes, you can disable comments on a specific page by opening the page in the WordPress editor, finding the Discussion section under Document settings, and unchecking <strong>Allow comments<\/strong>.<br \/>\n<\/div>\n<\/div>\n\n<div class=\"faq-shortcode\">\n    <p class=\"faq_title\">How do I disable HTML comments in WordPress?<\/p>\n    <div class=\"faq_content\"> To disable HTML in comments, add a custom filter to your theme\u2019s functions.php file that strips HTML from comment content. For example:<\/p>\n<pre>add_filter('pre_comment_content', 'wp_strip_all_tags');\r\n<\/pre>\n<p>This code removes all HTML tags from comments. Alternatively, certain security plugins can manage HTML usage in comments.<br \/>\n<\/div>\n<\/div>\n\n<h2><b>Reasons to disable comments in WordPress<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Even if you want to keep comments on in some form or fashion, learning how to disable comments in WordPress will help you decide what\u2019s best for your site. Depending on your site\u2019s needs and purpose, there are various cases where adapting the default WordPress comments functionality better serves site visitors.<\/span><\/p>\n<h3><b>They don\u2019t suit the brand or the website\u2019s purpose<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">For some websites, especially those in professional services, ecommerce, or portfolios, comments may not align with the brand\u2019s image or the website\u2019s purpose. Removing this feature can maintain a cleaner, more focused site presentation.<\/span><\/p>\n<h3><b>Combating spam and self-promotion<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Unfortunately, comment sections can become targets for spam and self-promotion. Disabling comments helps prevent these nuisances, ensuring that your site remains reputable and your resources are not wasted on moderation.<\/span><\/p>\n<h3><b>Decreasing moderation efforts where comments aren\u2019t needed<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Managing comments may become an unnecessary overhead if your content doesn\u2019t seek direct feedback or user interaction. Disabling comments can free up resources and streamline site management in such cases.<\/span><\/p>\n<h3><b>Enhancing site performance and load times<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Comments can slow down your page loading times, particularly on popular posts with numerous comments. Disabling them can improve overall site <\/span><span style=\"font-weight: 400;\">performance<\/span><span style=\"font-weight: 400;\"> and enhance user experience, especially for content-heavy sites.<\/span><\/p>\n<h3><b>Keep comments on social media<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">For large volumes of comments, keeping discussions on social media platforms can sometimes be more beneficial. It enables engagement in a more dynamic environment where your audience is already active and where tools for moderation and interaction are more robust.<\/span><\/p>\n<h3><b>Using a plugin to display comments<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Opting to use a specialized plugin for managing comments can provide better control over settings and appearances, enhancing the way interactions are handled on your site.<\/span><\/p>\n<h2><b>How to disable comments in WordPress<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Whether you want to disable comments on a single page or post or turn them off entirely, WordPress\u2019s default comment features allow you to adapt the comment settings to suit your needs. Here\u2019s how to disable comments in WordPress so that you can keep this feature only where it\u2019s needed or get rid of comments everywhere.<\/span><\/p>\n<h3><b>Disable comments on a single page or post<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">To turn off comments for a single page or post:\u00a0<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Open the post or page in the WordPress editor.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Under the <\/span><b>Document<\/b><span style=\"font-weight: 400;\"> settings panel, locate the <\/span><b>Discussion<\/b><span style=\"font-weight: 400;\"> box.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress.jpg\" alt=\"The WordPress editor's Post\/Page settings sidebar's Discussion panel expanded to show the Allow comments option.\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-36601\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress.jpg 1920w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress-1484x835.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress-768x432.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress-1536x864.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-disable-comments-in-wordpress-600x338.jpg 600w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/> <\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Uncheck the <\/span><b>Allow comments<\/b><span style=\"font-weight: 400;\"> option.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Save or update the post to apply the changes.<\/span><\/li>\n<\/ol>\n<h3><b>Disabling comments for all posts and pages in the WordPress dashboard<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Alternatively, you can disable the comments site-wide in the WordPress dashboard. Keep in mind that disabling comments in the dashboard won\u2019t disable comments on existing pages and posts. To stop new comments on existing content, you must delete the old comments and turn off comments on existing pages and posts.<\/span><\/p>\n<h4><span style=\"font-weight: 400;\">Disabling comments on future posts<\/span><\/h4>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Navigate to the WordPress dashboard.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to <\/span><b>Settings<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Discussion<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Uncheck the option <\/span><b>Allow people to submit comments on new posts<\/b><span style=\"font-weight: 400;\">.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments.jpg\" alt=\"The WordPress dashboard's Discussion settings page showing the &quot;allow people to submit comments on new posts&quot; option highlighted in red.\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-36600\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments.jpg 1920w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments-1484x835.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments-768x432.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments-1536x864.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/uncheck-allow-comments-600x338.jpg 600w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Save Changes<\/b><span style=\"font-weight: 400;\"> to ensure that future posts won\u2019t have comments enabled by default.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400;\">Disable comments on existing posts<\/span><\/h4>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Use the bulk editor to disable comments on multiple posts or pages.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to <\/span><b>Posts<\/b><span style=\"font-weight: 400;\"> and select <\/span><b>All Posts<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Use the <\/span><b>Bulk Actions<\/b><span style=\"font-weight: 400;\"> dropdown to edit multiple posts at once.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Choose <\/span><b>Edit<\/b><span style=\"font-weight: 400;\"> and apply.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments.jpg\" alt=\"Editing multiple posts in bulk to turn off comments in WordPress.\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-36599\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments.jpg 1920w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments-1484x835.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments-768x432.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments-1536x864.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-turn-off-comments-600x338.jpg 600w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Set the <\/span><b>Comments<\/b><span style=\"font-weight: 400;\"> option to <\/span><b>Do not allow<\/b><span style=\"font-weight: 400;\">.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts.jpg\" alt=\"The bulk editor's Comments dropdown menu is highlighted in red.\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-36598\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts.jpg 1920w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts-1484x835.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts-768x432.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts-1536x864.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-old-posts-600x338.jpg 600w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Update <\/b><span style=\"font-weight: 400;\">to make the changes effective across selected posts.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400;\">Delete comments in bulk<\/span><\/h4>\n<p><span style=\"font-weight: 400;\">With comments turned off in WordPress on existing and new posts and pages, it\u2019s time to clean up old comments. Before you delete existing comments, you might want to <\/span><a href=\"https:\/\/10web.io\/blog\/how-to-export-wordpress-site\/\"><span style=\"font-weight: 400;\">export them<\/span><\/a><span style=\"font-weight: 400;\"> and archive the data.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Navigate to the <\/span><b>Comments<\/b><span style=\"font-weight: 400;\"> section in the dashboard.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select the comments you wish to delete using checkboxes.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Choose <\/span><b>Move to Trash<\/b><span style=\"font-weight: 400;\"> from the <\/span><b>Bulk Actions<\/b><span style=\"font-weight: 400;\"> dropdown menu.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments.jpg\" alt=\"Selecting multiple comments in the dashboard's Comments page. The bulk actions dropdown menu is highlighted in red.\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-36597\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments.jpg 1920w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments-1484x835.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments-768x432.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments-1536x864.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/bulk-delete-comments-600x338.jpg 600w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Apply <\/b><span style=\"font-weight: 400;\">to clean up unwanted comments in bulk.<\/span><\/li>\n<\/ol>\n<p><span>\r\n<style>\r\n  #ctablocks_inline_92{\r\n          background-color: #000000;\r\n        color: #ffffff;\r\n    border-radius: 6px;\r\n  }\r\n\r\n  #ctablocks_inline_92 p{\r\n    color: #ffffff;\r\n  }\r\n  #ctablocks_inline_92 .button{\r\n        background-color: rgb(51,57,241);\r\n      color: #ffffff;\r\n    border-color: #3339f1 !important;\r\n  }\r\n  #ctablocks_inline_92 .button:hover{\r\n    background: rgba(51,57,241,0.8);\r\n    color: #ffffff;\r\n    opacity: 1;\r\n  }\r\n        #ctablocks_inline_92 .ctablocks_content_info p {\r\n        padding-left: 36px;\r\n      }\r\n      #ctablocks_inline_92 .ctablocks_content_button {\r\n          margin-left: 37px;\r\n      }\r\n  @media screen and (min-width: 768px) and (max-width: 1260px) {\r\n      #ctablocks_inline_92 .ctablocks_content_button {\r\n          margin-left: 37px !important;\r\n      }\r\n  }\r\n  ;\r\n<\/style>\r\n<div id=\"ctablocks_inline_92\" class=\"ctablocks_container inline_type\r\n        \">\r\n\r\n  <div class=\"ctablocks_content clear\">\r\n    <div class=\"ctablocks_content_info\">\r\n      \r\n            <div class=\"title-wrap\">\r\n\t\t\t\t\t                  <img decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/info-icon-cta.png\" alt=\"Simplify WordPress with 10Web\" title=\"Simplify WordPress with 10Web\">\r\n\t\t\t\t\t            <h4>Simplify WordPress with 10Web<\/h4>\r\n        <\/div>\r\n              <p>Automate manual work with 10Web Managed WordPress Hosting and 10Web AI Website Builder. Optimize your WordPress website effortlessly. <\/p>\r\n          <\/div>\r\n    <div class=\"ctablocks_content_button\">\r\n              <a href=\"https:\/\/10web.io\/ai-website-builder\/\" class=\"button\" data-gtag=\"sign-up-blog\" data-buttontype=\"sign-up\" data-gtag=\"cta-92\" data-buttontype=\"cta-inline\"\r\n\t        >Learn How<\/a>\r\n            \r\n    <\/div>\r\n  <\/div>\r\n    <\/div>\r\n<\/span><\/p>\n<h3><b>Handling comments on media files<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Frustratingly, WordPress allows comments by default on media files. That means every item in the Media Library has a page where users can potentially post comments.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here\u2019s how to disable comments in WordPress media files:\u00a0<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to <\/span><b>Media<\/b><span style=\"font-weight: 400;\"> in your dashboard.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click on an item and select <\/span><b>Edit more details<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Find the <\/span><b>Discussion<\/b><span style=\"font-weight: 400;\"> box similar to posts and pages and uncheck <\/span><b>Allow comments<\/b><span style=\"font-weight: 400;\">.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments.jpg\" alt=\"Turning off a media file's allow comments option displayed in the Media Library.\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-36596\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments.jpg 1920w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments-1484x835.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments-768x432.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments-1536x864.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/turn-off-media-comments-600x338.jpg 600w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/> <\/span><span style=\"font-weight: 400;\">If you don\u2019t see the Discussion box, it may be hidden. To enable it, go to the <strong>Screen Options<\/strong> menu at the top right corner of the screen<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Update <\/b><span style=\"font-weight: 400;\">to save the new settings.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Unfortunately, there\u2019s no way to edit the <\/span><b>Allow comments<\/b><span style=\"font-weight: 400;\"> option in bulk. However, you can add a bit of code to your theme\u2019s <\/span><span style=\"font-weight: 400;\">functions.php<\/span><span style=\"font-weight: 400;\"> file to disable comments on media attachments.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Using an FTP client like FileZilla or your hosting provider\u2019s File Manager, navigate to your site\u2019s <\/span><span style=\"font-weight: 400;\">wp-content\/themes\/theme-folder<\/span><span style=\"font-weight: 400;\"> and locate the <\/span><span style=\"font-weight: 400;\">functions.php<\/span><span style=\"font-weight: 400;\"> file. Using a text editor, add the following code snippet to your <\/span><span style=\"font-weight: 400;\">functions.php<\/span><span style=\"font-weight: 400;\"> file using a text editor, then save the file.<\/span><\/p>\n<pre>$post = get_post($post_id);\r\nif ($post-&gt;post_type == 'attachment') {\r\n    return false;\r\n}\r\nreturn $open;\r\n}\r\nadd_filter('comments_open', 'disable_comments_on_media_attachments', 10, 2);<\/pre>\n<h2><b>Plugins and tools for managing comments<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Plugins like <\/span><b>Disable Comments<\/b><span style=\"font-weight: 400;\"> are highly effective for managing comments across a WordPress site comprehensively. This plugin allows you to systematically disable comments in WordPress on every post, page, or media file and provides options to remove related fields from the backend.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here\u2019s how you can install and use the plugin to disable comments across your site:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In your WordPress dashboard, find the <\/span><b>Plugins<\/b><span style=\"font-weight: 400;\"> menu on the left-hand side and click on <\/span><b>Add New<\/b><span style=\"font-weight: 400;\">. This will take you to the WordPress plugin repository.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the <\/span><strong>Add New<\/strong><span style=\"font-weight: 400;\"><strong> Plugin<\/strong> page, use the search box to find \u201cDisable Comments.\u201d\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You\u2019ll see the Disable Comments plugin listed in the search results. Click on the <\/span><b>Install Now<\/b><span style=\"font-weight: 400;\"> button next to the plugin. WordPress will download and install the plugin.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress.jpg\" alt=\"The WordPress dashboard's Plugins, Add New Plugin page displaying &quot;disable comments&quot; in the search box and the plugin's Install Now button highlighted in red.\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-36603\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress.jpg 1920w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress-1484x835.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress-768x432.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress-1536x864.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/how-to-turn-off-comments-wordpress-600x338.jpg 600w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">After the installation is complete, click the <\/span><b>Activate<\/b><span style=\"font-weight: 400;\"> button. This will activate the Disable Comments plugin on your site.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Once activated, navigate to <\/span><b>Settings<\/b><span style=\"font-weight: 400;\"> in your WordPress dashboard and click on <\/span><b>Disable Comments<\/b><span style=\"font-weight: 400;\">.\u00a0<\/span><\/p>\n<p><b>Step 1: Select the disable option<\/b><\/p>\n<p><span style=\"font-weight: 400;\">You will see several options for disabling comments. You can choose to disable comments on specific post types or everywhere.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The settings include:\u00a0<\/span><\/p>\n<p><b>Everywhere<\/b><span style=\"font-weight: 400;\">: This will disable comments across your entire WordPress site.\u00a0<\/span><\/p>\n<p><b>On certain post types<\/b><span style=\"font-weight: 400;\">: You can select specific post types (like posts, pages, media) where comments should be disabled.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin.jpg\" alt=\"The Disable Comments plugin's settings page with the plugin's two options highlighted in red: Everywhere or on specific posts, pages, or media.\" width=\"1920\" height=\"1080\" class=\"alignnone size-full wp-image-36602\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin.jpg 1920w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin-1484x835.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin-768x432.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin-1536x864.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable-comments-with-plugin-600x338.jpg 600w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p><b>Step 2: Disable comments on media<\/b><\/p>\n<p><span style=\"font-weight: 400;\">If you specifically want to disable comments on media files, ensure you check the box next to <\/span><b>Media<\/b><span style=\"font-weight: 400;\">. This will apply the settings to all attachment pages.<\/span><\/p>\n<p><b>Step 3: Save changes<\/b><\/p>\n<p><span style=\"font-weight: 400;\">After selecting your preferred options, click the <\/span><b>Save Changes<\/b><span style=\"font-weight: 400;\"> button at the bottom of the page to apply your settings.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">At this point, new comments are disabled, but any posts or pages that have existing comments will still display them. If you want to remove any existing comments from your site, the Disable Comments plugin lets you delete comments in bulk. This option can be found under the same settings page and is useful for cleaning up unwanted comments after disabling.<\/span><\/p>\n<h3><b>How to remove the \u2018Comments are closed\u2019 message<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">After disabling comments, you may find a \u201cComments are closed\u201d message in their place.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To remove this message, you\u2019ll need to edit your theme files:\u00a0<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Access your theme\u2019s <\/span><b>comments.php<\/b><span style=\"font-weight: 400;\"> file using an FTP client or your hosting provider\u2019s File Manager.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Look for the phrase <\/span><b>Comments are closed<\/b><span style=\"font-weight: 400;\"> within the PHP code.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Either remove or comment out this line of code to stop displaying the message.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Save and upload your changes.<\/span><\/li>\n<\/ol>\n<h2><b>Summing up<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Comments can enhance interaction but also pose challenges such as maintenance and performance issues. Weighing their benefits against their drawbacks in the context of your specific site needs is crucial. Understanding these factors will help you optimize your WordPress site for better performance and user engagement, whether you choose to disable comments or manage them through plugins.<\/span><\/p>\n<p><span>\r\n<style>\r\n  #ctablocks_scrollbox-with-icon_91{\r\n            color: #ffffff;\r\n    border-radius: 6px;\r\n  }\r\n\r\n  #ctablocks_scrollbox-with-icon_91 p{\r\n    color: #ffffff;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_91 .button{\r\n          background-color: rgb(51,57,241);\r\n        color: #ffffff;\r\n    border-color: #3339f1 !important;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_91 .button:hover{\r\n    background: rgba(51,57,241,0.8);\r\n    color: #ffffff;\r\n    opacity: 1;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_91.ctablocks_container {\r\n    left: 100%;\r\n  }\r\n  @media screen and (max-width: 1300px) {\r\n      #ctablocks_scrollbox-with-icon_91.ctablocks_container {\r\n          left: 0;\r\n          margin: 0 auto;\r\n      }\r\n  }\r\n  #ctablocks_scrollbox-with-icon_91 .ctablocks_content {\r\n      background-color: #000000;\r\n  }\r\n<\/style>\r\n<div id=\"ctablocks_scrollbox-with-icon_91\" class=\"ctablocks_container scrollbox-with-icon_type\r\n      \">\r\n\r\n  <div class=\"ctablocks_content clear\">\r\n    <div class=\"ctablocks_content_info\">\r\n              <h4>Simplify WordPress with 10Web<\/h4>\r\n        <h4 class=\"mobile-title\">Simplify WordPress with 10Web<\/h4>\r\n              <p>Skip and automate manual work with 10Web Managed WordPress Hosting and the 10Web AI Website Builder.<\/p>\r\n          <\/div>\r\n    <div class=\"ctablocks_content_button\">\r\n              <a href=\"https:\/\/10web.io\/ai-website-builder\/\" class=\"button\" data-gtag=\"sign-up-blog\" data-buttontype=\"sign-up\" data-gtag=\"cta-91\" data-buttontype=\"cta-scrollbox-with-icon\"\r\n\t        >Learn How<\/a>\r\n            \r\n    <\/div>\r\n  <\/div>\r\n    <span class=\"close_ctablocks\">\r\n      <img decoding=\"async\" class=\"close-icon\" src=\"https:\/\/10web.io\/blog\/wp-content\/plugins\/cta-blocks\/assets\/images\/close_w.svg\" class=\"close\">\r\n      <img decoding=\"async\" class=\"floating-icon\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Info-icon_Blog.png\" alt=\"Simplify WordPress with 10Web\" title=\"Simplify WordPress with 10Web\">\r\n<!--      <img decoding=\"async\" class=\"arrow-icon white\" src=\"\/cta-blocks\/assets\/images\/arrow-icon.svg\" class=\"close\">\r\n-->      <img decoding=\"async\" class=\"arrow-icon purple\" src=\"https:\/\/10web.io\/blog\/wp-content\/plugins\/cta-blocks\/assets\/images\/arrow-icon-purple.svg\" class=\"close\">\r\n  <\/span>\r\n<\/div>\r\n<\/span><br \/>\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comments can significantly shape the experience and interaction on your WordPress site. They offer a platform for engagement, allowing visitors to voice their opinions and interact with your content.\u00a0 However, while enriching, this feature can also present challenges ranging from spam to high maintenance efforts. Deciding whether to enable or disable comments can influence your site\u2019s functionality and user experience&#8230;.<\/p>\n","protected":false},"author":11,"featured_media":34955,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"two_page_speed":[],"footnotes":"","tenweb_blog_toc":"<ul>\r\n\t<li>\r\n\t\t<a href=\"#faq\">FAQ<\/a>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#reasons-to-disable-comments-in-wordpress\">Reasons to disable comments in WordPress<\/a>\r\n\t\t<ul>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#they-dont-suit-the-brand-or-the-websites-purpose\">They don\u2019t suit the brand or the website\u2019s purpose<\/a>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#combating-spam-and-self-promotion\">Combating spam and self-promotion<\/a>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#decreasing-moderation-efforts-where-comments-arent-needed\">Decreasing moderation efforts where comments aren\u2019t needed<\/a>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#enhancing-site-performance-and-load-times\">Enhancing site performance and load times<\/a>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#keep-comments-on-social-media\">Keep comments on social media<\/a>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#using-a-plugin-to-display-comments\">Using a plugin to display comments<\/a>\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#how-to-disable-comments-in-wordpress\">How to disable comments in WordPress<\/a>\r\n\t\t<ul>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#disable-comments-on-a-single-page-or-post\">Disable comments on a single page or post<\/a>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#disabling-comments-for-all-posts-and-pages-in-the-wordpress-dashboard\">Disabling comments for all posts and pages in the WordPress dashboard<\/a>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#handling-comments-on-media-files\">Handling comments on media files<\/a>\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#plugins-and-tools-for-managing-comments\">Plugins and tools for managing comments<\/a>\r\n\t\t<ul>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#how-to-remove-the-comments-are-closed-message\">How to remove the \u2018Comments are closed\u2019 message<\/a>\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#weighing-the-pros-and-cons-of-comments-based-on-individual-site-needs\">Summing up<\/a>\r\n\t<\/li>\r\n<\/ul>\r\n","tenweb_blog_competitor_type":"","tenweb_blog_competitor_names":"","tenweb_blog_twb_version":0,"tenweb_blog_type":""},"categories":[463],"tags":[],"class_list":["post-36591","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.0 (Yoast SEO v23.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Learn How to Disable Comments in WordPress: Complete Tutorial<\/title>\n<meta name=\"description\" content=\"Find out how to disable comments in WordPress, manage existing comments, and turn off comments on old posts, pages, and media files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Disable Comments in WordPress: Complete Tutorial\" \/>\n<meta property=\"og:description\" content=\"Find out how to disable comments in WordPress, manage existing comments, and turn off comments on old posts, pages, and media files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"10Web - Build &amp; Host Your WordPress Website\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/10Web.io\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-23T22:33:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T08:21:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable_comments_in_wordpress.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1569\" \/>\n\t<meta property=\"og:image:height\" content=\"880\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Tigran Nazaryan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@10Web_io\" \/>\n<meta name=\"twitter:site\" content=\"@10Web_io\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tigran Nazaryan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Learn How to Disable Comments in WordPress: Complete Tutorial","description":"Find out how to disable comments in WordPress, manage existing comments, and turn off comments on old posts, pages, and media files.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Disable Comments in WordPress: Complete Tutorial","og_description":"Find out how to disable comments in WordPress, manage existing comments, and turn off comments on old posts, pages, and media files.","og_url":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/","og_site_name":"10Web - Build &amp; Host Your WordPress Website","article_publisher":"https:\/\/www.facebook.com\/10Web.io\/","article_published_time":"2024-04-23T22:33:02+00:00","article_modified_time":"2024-04-24T08:21:09+00:00","og_image":[{"width":1569,"height":880,"url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable_comments_in_wordpress.jpg","type":"image\/jpeg"}],"author":"Tigran Nazaryan","twitter_card":"summary_large_image","twitter_creator":"@10Web_io","twitter_site":"@10Web_io","twitter_misc":{"Written by":"Tigran Nazaryan","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/"},"author":{"name":"Tigran Nazaryan","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/9466e64f67fc213397b384bbe3af3bd0"},"headline":"How to Disable Comments in WordPress: Complete Tutorial","datePublished":"2024-04-23T22:33:02+00:00","dateModified":"2024-04-24T08:21:09+00:00","mainEntityOfPage":{"@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/"},"wordCount":1622,"commentCount":0,"publisher":{"@id":"https:\/\/10web.io\/blog\/#organization"},"image":{"@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable_comments_in_wordpress.jpg","articleSection":["Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/","url":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/","name":"Learn How to Disable Comments in WordPress: Complete Tutorial","isPartOf":{"@id":"https:\/\/10web.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable_comments_in_wordpress.jpg","datePublished":"2024-04-23T22:33:02+00:00","dateModified":"2024-04-24T08:21:09+00:00","description":"Find out how to disable comments in WordPress, manage existing comments, and turn off comments on old posts, pages, and media files.","breadcrumb":{"@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/#primaryimage","url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable_comments_in_wordpress.jpg","contentUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/disable_comments_in_wordpress.jpg","width":1569,"height":880,"caption":"Learning how to disable comments in WordPress is important for site performance, security, and user experience."},{"@type":"BreadcrumbList","@id":"https:\/\/10web.io\/blog\/how-to-disable-comments-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/10web.io\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Disable Comments in WordPress: Complete Tutorial"}]},{"@type":"WebSite","@id":"https:\/\/10web.io\/blog\/#website","url":"https:\/\/10web.io\/blog\/","name":"10Web Blog - Build & Host Your WordPress Website","description":"10Web is an All-in-One Website Building Platform, offering Managed WordPress Hosting on Google Cloud, Beautiful Templates, Premium Plugins and Services.","publisher":{"@id":"https:\/\/10web.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/10web.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/10web.io\/blog\/#organization","name":"10Web","url":"https:\/\/10web.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2025\/04\/Logo-768x686-1.png","contentUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2025\/04\/Logo-768x686-1.png","width":768,"height":686,"caption":"10Web"},"image":{"@id":"https:\/\/10web.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/10Web.io\/","https:\/\/x.com\/10Web_io","https:\/\/www.instagram.com\/10web.io\/","https:\/\/www.linkedin.com\/company\/10web\/mycompany\/","https:\/\/www.youtube.com\/c\/10Web"]},{"@type":"Person","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/9466e64f67fc213397b384bbe3af3bd0","name":"Tigran Nazaryan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ce2393558e7591a237212f11acac58fb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ce2393558e7591a237212f11acac58fb?s=96&d=mm&r=g","caption":"Tigran Nazaryan"},"description":"Tigran Nazaryan is an experienced science and technology professional. After seeing great potential in the automation of web development, he co-founded and became CInO of 10Web. Tigran is passionate about creating solutions to bring AI automation into web development and turning great ideas into powerful technological achievements.","sameAs":["https:\/\/www.linkedin.com\/in\/tnazaryan\/"],"url":"https:\/\/10web.io\/blog\/author\/tigran\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts\/36591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/comments?post=36591"}],"version-history":[{"count":0,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts\/36591\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/media\/34955"}],"wp:attachment":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/media?parent=36591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/categories?post=36591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/tags?post=36591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}