The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Alok kumar Singh
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Laurent Corbière
Contributor
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 Champion
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 Champions.
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
Contributor
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.

TAGS
AUG Leaders

Atlassian Community Events