{"id":2782,"date":"2019-09-27T12:26:43","date_gmt":"2019-09-27T10:26:43","guid":{"rendered":"https:\/\/www.itidea.nl\/?p=2782"},"modified":"2019-09-27T12:26:43","modified_gmt":"2019-09-27T10:26:43","slug":"comments-setting-when-a-page-is-duplicated","status":"publish","type":"post","link":"https:\/\/www.itidea.nl\/index.php\/comments-setting-when-a-page-is-duplicated\/","title":{"rendered":"Comments setting when a page is duplicated"},"content":{"rendered":"\n<p>The comments\nsetting on a duplicated page isn&#8217;t the same as the source page when comments\nare disabled at the source page. Comments are always enabled regardsless of the\ncomments setting on the source page.<\/p>\n\n\n\n<p>A page can be duplicated in different ways. Let&#8217;s look at the following three options.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> &#8216;Copy of this post&#8217; option on the page itself <\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"169\" height=\"110\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/1-Comments-setting-when-a-page-is-duplicated.png\" alt=\"\" class=\"wp-image-2784\"\/><figcaption>Copy the page<\/figcaption><\/figure><\/div>\n\n\n\n<p>When the post is copied but not saved yet the comments are disabled, just like the source page.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"635\" height=\"280\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/2-Comments-setting-when-a-page-is-duplicated.png\" alt=\"\" class=\"wp-image-2783\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/2-Comments-setting-when-a-page-is-duplicated.png 635w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/2-Comments-setting-when-a-page-is-duplicated-300x132.png 300w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><figcaption>Comments disabled<\/figcaption><\/figure>\n\n\n\n<p>When\nthe page is saved, the comments are enabled.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"280\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/3-Comments-setting-when-a-page-is-duplicated.png\" alt=\"\" class=\"wp-image-2787\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/3-Comments-setting-when-a-page-is-duplicated.png 649w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/3-Comments-setting-when-a-page-is-duplicated-300x129.png 300w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><figcaption>Comments enabled<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">&#8216;Copy to&#8217; option in the Site Pages library<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"93\" height=\"300\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/4-Comments-setting-when-a-page-is-duplicated-93x300.png\" alt=\"\" class=\"wp-image-2786\" srcset=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/4-Comments-setting-when-a-page-is-duplicated-93x300.png 93w, https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/4-Comments-setting-when-a-page-is-duplicated.png 137w\" sizes=\"auto, (max-width: 93px) 100vw, 93px\" \/><figcaption>&#8216;Copy to&#8217; option<\/figcaption><\/figure><\/div>\n\n\n\n<p>The &#8216;Copy\nto&#8217; option instantly saves the copied page and here also the comments are\nenabled, while these were disabled at the source page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Creating a new post using a template<\/h3>\n\n\n\n<p>On a page the &#8216;Save as template&#8217; option can be found at the &#8216;Save as draft&#8217; menu.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"168\" height=\"119\" src=\"https:\/\/www.itidea.nl\/wp-content\/uploads\/2019\/09\/5-Comments-setting-when-a-page-is-duplicated.png\" alt=\"\" class=\"wp-image-2785\"\/><figcaption>Save a page as a template<\/figcaption><\/figure><\/div>\n\n\n\n<p>Selected on\na page where comments are turned off results in a duplicate page with comments\nare turned back on!<\/p>\n\n\n\n<p>I manually\nturned comments off and saved the template.<\/p>\n\n\n\n<p>When a new\npage based on this template is created but not saved yet the comments are\ndisabled, just like the source page. When the page is saved, the comments are\nenabled.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>Comments are\nalways enabled when duplicating pages, regardless of the comments setting on\nthe source page.<\/p>\n\n\n\n<p>It&#8217;s not\npossible at this moment to control the comments setting when duplicating pages\nwith different comments settings.<\/p>\n\n\n\n<p>Comment settings can be turned on and off at all pages at higher levels, like web and tenant. Information about controlling comments settings can be found <a href=\"https:\/\/www.itidea.nl\/index.php\/controlling-comments-settings\/\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The comments setting on a duplicated page isn&#8217;t the same as the source page when comments are disabled at the source page. Comments are always enabled regardsless of the comments setting on the source page. A page can be duplicated &#8230; <a class=\"more-link\" href=\"https:\/\/www.itidea.nl\/index.php\/comments-setting-when-a-page-is-duplicated\/\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,41],"tags":[37,46],"class_list":["post-2782","post","type-post","status-publish","format-standard","hentry","category-office-365","category-sharepoint","tag-office365","tag-sharepoint"],"_links":{"self":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/comments?post=2782"}],"version-history":[{"count":2,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2782\/revisions"}],"predecessor-version":[{"id":2789,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2782\/revisions\/2789"}],"wp:attachment":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/media?parent=2782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/categories?post=2782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/tags?post=2782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}