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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,792 views 26 10
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