How to remove or hide the last updated and created by text on a Confluence page

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

To remove or hide the last updated and created by text on a Confluence page. 

Solution

 Open the file <confluence-install>/confluence/decorators/includes/page-metadata.vm in a text editor and remove the following text:

    
    #if ($page.isLatestVersion() == true)
        $action.getText('added.by.user.last.edited.on.date', ["#usernameLink ($page.creatorName)","#usernameLink ($page.lastModifierName)","$action.dateFormatter.format( $page.lastModificationDate )"])
        #set ($previousPage = $action.getPreviousVersion($page.previousVersion))
        #if ($!previousPage)
            <span class="noprint">&nbsp;(<a href="$req.contextPath/pages/diffpages.action?pageId=${page.id}&originalId=$previousPage.id">$action.getText('view.change')</a>)</span>
        #end
    #else
        $action.getText('added.by.user.edited.on.date', ["#usernameLink ($page.creatorName)","#usernameLink ($page.lastModifierName)","$action.dateFormatter.format( $page.lastModificationDate )"])
    #end

Additionally, to hide Last Updated and Created by Text using CSS, go to Confluence Admin >> Stylesheet (Global Stylesheet) and add the following code:

.page-metadata
{
	 display:none !important;
}
Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.