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


Add this code to the top of your page:







Have a nice day :)


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):

All the best,

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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,177 views 20 14
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