Confluence: Is there a way to hide the authors name (added by user) in every page globally?

We don't want the author name to show up in our end user documentation. We don't need customers to know who created what page. Is there a plugin or setting that can hide the "added" and "edited" by user names in Confuence?

10 answers

1 accepted

4 votes
Accepted answer
David Simpson Community Champion Apr 29, 2013

If you want to do this globally including spaces with custom stylesheets, go to Confluence Admin | Look & Feel | Custom HTML and paste into At the end of the HEAD:

<style>
  #com-atlassian-confluence .page-metadata  {
    display:none; 
  }
</style>

I've aggressively upped the specificity with #com-atlassian-confluence just in case people are customising heavily.

Thanks, David! This worked like a charm!

Great! is there a way to move it to the bottom of the page instead (just above comments?)

Hi Damian, did you find a solution for this? It's what we'd like to do, too.

I added

.page-metadata  { display:none; }

to the custom stylesheet of our documentation space (Browse > Space Admin > Stylesheet). We're using Confluence 4.
For more information on styling Confluence with CSS look here: https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS.

Hi Chitra,

we hid the whole line using CSS.
Nevertheless, the information is in the HTML and can be retrieved if looking at the source of the page. To us, that didn't matter.

Cheers,
Kirstin

If you check the page layout in confluence admin / layout you will find the line

#parse ("/decorators/includes/page-metadata.vm")

If you want to hide the complete metadata line (created/updated information) you can just delete this line. But if you want to hide only parts of it, you have to look into the page-metadata.vm file and do your changes here.

I want to hide the author for a space or a specific page. How do I that in Confluence 5.x?

I could not find Kristin's step" Browse > Space Admin > Stylesheet " in our Confluence 5.1

I found that Space Admins do not have access to the space's "Stylesheet" page. But members of "Confluence- administrators" do.

Is there an answer for hiding this content based on a Page or Space only?

Hi Kirstin,
Can you please tell me where you hid the CSS line globally? We cannot hide in each and every page--we have 1000s of pages.

Superuschi,
We are using Refinedwiki theme, so the default layout is not applied there. Any idea where I can find the .VM files? in the \install directory?

For our installation it's in the confluence main folder (not application data), subfolder "confluence/decorators/includes", so our path is

C:\Program Files\Atlassian\Confluence\confluence\decorators\includes

Thanks everybody for your answers; I am yet to try out the suggestions.

David,

We are not using the default theme at all; we are using the customized Refinedwiki theme--the global HTML is not applicable.

Not sure if changing the .vm file will work either. I will try and let you all know.

David's solution worked without going into the .vm file. Thanks everyone.

Hello, I used David's css and it removes the entire line.

I would like to keep the date last edited though. How do I remove only the names?

Thanks!

You could add

.page-metadata .author { display: none; }

but this would only hide the authors name, not the text "Created by".

I suppose that you need Java script to hide this text, too.

Thanks much! That worked.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

103 views 3 4
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