{"id":2042,"date":"2012-12-05T17:50:43","date_gmt":"2012-12-05T17:50:43","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/12\/05\/completely-remove-comments\/"},"modified":"2021-08-16T23:27:33","modified_gmt":"2021-08-17T03:27:33","slug":"completely-remove-comments","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/","title":{"rendered":"Completely disabling Comments from WordPress in the code"},"content":{"rendered":"<p><a href=\"\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"670\" height=\"689\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif\" class=\"optimized-lcp-image\" alt=\"removing-comments-completely-1\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\"><\/a><\/p>\n<div style=\"clear:both;\"><\/div>\n<p>WordPress by default has comments enabled for most themes. The comments can be disabled in the WordPress Dashboard <strong>Settings<\/strong> &gt; <strong>Discussion<\/strong> page; however, this does not remove the comments from the page entirely. What happens when the comments are disabled is, the site will display <strong>\u201cComments are closed\u201d<\/strong>. Comments can be removed completely be <strong>Commenting out the lines of code<\/strong> in the theme file that displays the Comments. The following code snippets are an example of the code used to display the comments.<\/p>\n<pre>&lt;?php comments_template( '', true ); ?&gt; &lt;?php comments_template(); ?&gt; <\/pre>\n<p>In this tutorial, HTML comment code will be used to disable the Comments from displaying in the <strong>page.php<\/strong> and <strong>single.php<\/strong> pages of WordPress. <strong>The Main Index Template page will not be touched<\/strong> in this tutorial because that template is the main template and can be disabled or changed in a different way. In this article, the <strong>Birdsite<\/strong> theme is used. The following will outline the steps to remove the comments.<\/p>\n<p class=\"alert\"><strong>Important!<\/strong> Editing the source code of a WordPress theme is a critical change. If the code is not edited correctly, <strong>the site WILL break<\/strong>. If you are not comfortable editing the code, please check with a developer before proceeding.<\/p>\n<p>This article will explain how to remove the Comment code from the WordPress theme by using HTML comments.<br style=\"clear: both;\"><\/p>\n<h3>Disabling the Comments in the WordPress Theme code<\/h3>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/wordpress\/logging-into-wordpress-dashboard\/\" target=\"_blank\" title=\"Click for more information\" rel=\"noopener\">Log into the WordPress Dashboard<\/a><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-2.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"removing-comments-completely-2-wordpress\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-2.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Navigate to the <strong>Appearance<\/strong> &gt; <strong>Editor<\/strong> in the WordPress Dashboard to the left. <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-3.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"removing-comments-completely-3-wordpress\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-3.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Select the <strong>page Template (page.php)<\/strong> in the <strong>Templates<\/strong> section to the right. <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-4.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"removing-comments-completely-4-wordpress\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-4.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>On the<strong> Edit Themes<\/strong> page, comment out the code that displays the Comments on the <strong>page.php page<\/strong>. In this case, the following code will be commented. <\/p>\n<pre>&lt;?php comments_template( '', true ); ?&gt; <\/pre>\n<p> <strong>Change to<\/strong><\/p>\n<pre>&lt;!-- Begin Comment &lt;?php comments_template( '', true ); ?&gt; End Comment --&gt; <\/pre>\n<p><strong>Click Update page<\/strong>.<\/p>\n<p> <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-5.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"removing-comments-completely-5-wordpress\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-5.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Next, <strong>Click<\/strong> the <strong>Single Post (single.php)<\/strong>. <br style=\"clear: both;\"><\/p><\/li>\n<li><a href=\"\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-6.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"removing-comments-completely-6-wordpress\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-6.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>On the<strong> Edit Themes<\/strong> page, comment out the code that displays the Comments on the <strong>single.php page<\/strong>. In this case the following code will be commented. <\/p>\n<pre>&lt;?php comments_template(); ?&gt; <\/pre>\n<p><strong>Change to<\/strong><\/p>\n<pre>&lt;!-- Begin Comment &lt;?php comments_template(); ?&gt; End Comment --&gt; <\/pre>\n<p><strong>Click Update page<\/strong>.<br style=\"clear: both;\"><\/p>\n<p><a href=\"\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-7.gif\" rel=\"lightbox-0\"><img decoding=\"async\" alt=\"removing-comments-completely-7-wordpress\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-7.gif\" style=\"float: right; margin: 0px 0px 15px 15px;\" title=\"Click here to view the larger image\" width=\"100\"><\/a><\/p>\n<div style=\"clear:both;\"><\/div>\n<p>Now the WordPress site will not display the comments on the single.php and the page.php pages. <br style=\"clear: both;\"><\/p>\n<\/li>\n<\/ol>\n<p>This concludes this article on How to completely remove Comments from WordPress. To learn more about Widgets, please visit <a href=\"\/support\/\" target=\"_blank\" title=\"Click here to view the courses\" rel=\"noopener\">Introduction to Plugins &amp; Widgets<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress by default has comments enabled for most themes. The comments can be disabled in the WordPress Dashboard Settings &gt; Discussion page; however, this does not remove the comments from the page entirely. What happens when the comments are disabled is, the site will display \u201cComments are closed\u201d. Comments can be removed completely be Commenting<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/\"> Read More ><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4325,56],"tags":[],"class_list":["post-2042","post","type-post","status-publish","format-standard","hentry","category-wordpress-hosting","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Completely disabling Comments from WordPress in the code | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This article will explain how to remove the Comments completely from a WordPress template.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Completely disabling Comments from WordPress in the code | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This article will explain how to remove the Comments completely from a WordPress template.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-12-05T17:50:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:27:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41\"},\"headline\":\"Completely disabling Comments from WordPress in the code\",\"datePublished\":\"2012-12-05T17:50:43+00:00\",\"dateModified\":\"2021-08-17T03:27:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/\"},\"wordCount\":372,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif\",\"articleSection\":[\"WordPress Hosting\",\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/\",\"name\":\"Completely disabling Comments from WordPress in the code | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif\",\"datePublished\":\"2012-12-05T17:50:43+00:00\",\"dateModified\":\"2021-08-17T03:27:33+00:00\",\"description\":\"This article will explain how to remove the Comments completely from a WordPress template.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif\",\"width\":670,\"height\":689,\"caption\":\"Click here to view the larger image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Completely disabling Comments from WordPress in the code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41\",\"name\":\"InMotion Hosting Contributor\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/jamesr\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Completely disabling Comments from WordPress in the code | InMotion Hosting","description":"This article will explain how to remove the Comments completely from a WordPress template.","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:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/","og_locale":"en_US","og_type":"article","og_title":"Completely disabling Comments from WordPress in the code | InMotion Hosting","og_description":"This article will explain how to remove the Comments completely from a WordPress template.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-12-05T17:50:43+00:00","article_modified_time":"2021-08-17T03:27:33+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41"},"headline":"Completely disabling Comments from WordPress in the code","datePublished":"2012-12-05T17:50:43+00:00","dateModified":"2021-08-17T03:27:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/"},"wordCount":372,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif","articleSection":["WordPress Hosting","WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/","name":"Completely disabling Comments from WordPress in the code | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif","datePublished":"2012-12-05T17:50:43+00:00","dateModified":"2021-08-17T03:27:33+00:00","description":"This article will explain how to remove the Comments completely from a WordPress template.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/12\/edu_wordpress_104_completely-removing-comments_removing-comments-completely-1.gif","width":670,"height":689,"caption":"Click here to view the larger image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/completely-remove-comments\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Completely disabling Comments from WordPress in the code"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/0ba9f3ef6fadef71df5aa120ff996c41","name":"InMotion Hosting Contributor","url":"https:\/\/www.inmotionhosting.com\/support\/author\/jamesr\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2042"}],"version-history":[{"count":2,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2042\/revisions"}],"predecessor-version":[{"id":85233,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2042\/revisions\/85233"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}