How to Hide Confluence Child Pages With jQuery

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

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:

最終更新日: 2025 年 1 月 24 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.