How to Hide Confluence Child Pages With jQuery

Still need help?

The Atlassian Community is here for you.

Ask the community

When you create child pages in Confluence, a section is added to the bottom of the parent page listing all of the child pages:


To hide that section, you can use jQuery:

  • Log in to Confluence as an administrator.
  •  Select Browse -> Confluence Admin -> Look and Feel -> Custom HTML.
  •  Insert the following code in the “At end of HEAD” section:

    <script>
    AJS.toInit(function() {
     AJS.$("#children-section").css("display","none");
     });
    </script>
    
  • Save your changes. Your page will now look like the following:

Last modified on Feb 26, 2016

Was this helpful?

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