How to disable comment section for a specific page in Confluence.

Alok kumar Singh January 9, 2013

I have created space for a portal in Confluence. When I add pages its shows comment section in every page. I want to disable it for specific pages. I tried adding {hide-comments} as markup but it's not working.

2 answers

1 accepted

3 votes
Answer accepted
Laurent Corbière January 9, 2013

Hi,

Add this code to the top of your page:

{style}

div#comments-section.pageSection

{

display:none;

}

{style}

Have a nice day :)

Laurent

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 20, 2020

Thanks

0 votes
JohnA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2013

Hi Alok,

I think you'll find this blog useful as it details how to do what you are trying to achieve, (more or less): http://davidsimpson.me/2011/01/23/more-flexible-commenting-in-atlassians-confluence/

All the best,
John

Alok kumar Singh January 9, 2013

Hi John, I went thru this page and tried macros. But there is no way I was able to disable the likes and comments sections for specific pages. This allows to enable or disable for space not pages.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events