# カスタムヘッダーリンク

**URL:** <https://meta.discourse.org/t/custom-header-links/90588>\
**Category:** Theme component\
**Tags:** official, custom-header-links\
**Created:** [2018 年 6 月 24 日午前 10:22 UTC](https://meta.discourse.org/t/custom-header-links/90588 "2018-06-24T10:22:32Z")\
**Posts on this page:** 1\
**Showing post:** 148

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2022 年 6 月 24 日午前 8:54 UTC](https://meta.discourse.org/t/custom-header-links/90588/148 "2022-06-24T08:54:11Z")

</div>

これを実現するには、各グループを異なるテーマにし、各テーマでこのテーマコンポーネントの独自のコピーを使用します。

これは、2つのグループのうち1つが非常に静的（または少なくとも小さい）場合、または少なくとも動的なグループが1つしかない場合にうまく機能します。スタッフグループがそれに最適のようです。

次に、学生リンクをサイトのデフォルトテーマにし、スタッフメンバーにはスタッフリンクを手動で設定します（UIまたはRailsコンソール経由）。

---

_[View the full topic](https://meta.discourse.org/t/custom-header-links/90588)._
