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

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

2 votes
Accepted answer

Hi,

Add this code to the top of your page:

{style}

div#comments-section.pageSection

{

display:none;

}

{style}

Have a nice day :)

Laurent

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

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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,133 views 61 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you