{"id":37118,"date":"2014-10-15T11:40:33","date_gmt":"2014-10-15T15:40:33","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=37118"},"modified":"2016-02-24T03:16:37","modified_gmt":"2016-02-24T08:16:37","slug":"drupal-7-x-how-to-enabledisable-comments","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/drupal-7-x-how-to-enabledisable-comments.html","title":{"rendered":"Drupal 7.x. How to enable\/disable comments"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>Welcome! Today you will learn how to enable or disable comments in Drupal.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=7cNbQFqKjl0?width=1280&amp;height=720\" rel=\"prettyPhoto\"><\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Log into admin panel of your website (usually by adding <strong>\/?q=user<\/strong> to the url).<\/p>\r\n<\/li>\r\n<li>\r\n<p>Click on <strong>Structure<\/strong> from the upper menu bar and then select the <strong>Content types<\/strong> category:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/09\/screenshot1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/09\/screenshot1-300x152.jpg\" alt=\"screenshot1\" width=\"300\" height=\"152\" class=\"aligncenter size-medium wp-image-37119\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot1-300x152.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot1-150x76.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot1-1024x522.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot1.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Click Edit button, located next to the name of the content type you wish to edit.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Scroll down and click on <strong>Comment settings<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Select <strong>Closed<\/strong> from the drop down menu under Default comment setting for the new content:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/09\/screenshot2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/09\/screenshot2-280x300.jpg\" alt=\"screenshot2\" width=\"280\" height=\"300\" class=\"aligncenter size-medium wp-image-37120\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot2-280x300.jpg 280w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot2-140x150.jpg 140w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot2.jpg 815w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Click Save content type button at the bottom of the page. <\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>To disable comments for an element, you can follow these steps:<\/p>\r\n<ol>\r\n<li>\r\n<p>Click on <strong>Content<\/strong> from the upper menu bar:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/09\/screenshot3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/09\/screenshot3-300x164.jpg\" alt=\"screenshot3\" width=\"300\" height=\"164\" class=\"aligncenter size-medium wp-image-37121\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot3-300x164.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot3-150x82.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot3-1024x561.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot3.jpg 1784w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Click on the needed element.<\/p>\r\n<\/li>\r\n<li>\r\n<p>After that click the <strong>edit<\/strong> button, choose comments setting and change it from open to close:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/09\/screenshot4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/09\/screenshot4-300x171.jpg\" alt=\"screenshot4\" width=\"300\" height=\"171\" class=\"aligncenter size-medium wp-image-37122\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot4-300x171.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot4-150x85.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/09\/screenshot4.jpg 757w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Save changes and reload the page.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=7cNbQFqKjl0?width=1280&amp;height=720\" rel=\"prettyPhoto\"><\/a>\r\n<\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Today you will learn how to enable or disable comments in Drupal.<\/p>\n","protected":false},"author":63,"featured_media":39015,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[723],"tags":[1331,1537,593,1297],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/37118"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=37118"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/37118\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/39015"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=37118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=37118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=37118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}