# Add /groups to top nav

**URL:** https://meta.discourse.org/t/add-groups-to-top-nav/65193
**Category:** Theme component
**Tags:** broken
**Created:** [June 27, 2017, 1:33pm UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193 "2017-06-27T13:33:03Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [June 27, 2017, 1:33pm UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193/1 "2017-06-27T13:33:03Z")

</div>

### Location

Repo: [GitHub - alehandrof/discourse-group-nav: Add group nav for Discourse (theme component) · GitHub](https://github.com/alehandrof/discourse-group-nav)

### About

This theme component adds the full nav bar on both mobile and desktop on the groups page:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/8/a859ab3ea67af7c2ef51e72d608609405b66a8db.png)

It’s based on [the component that does the same thing with /users](https://meta.discourse.org/t/add-users-to-top-nav/63681). So much so, that I’m not really sure how this works 🙂

### Install guide

[How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [May 7, 2018, 3:51am UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193/2 "2018-05-07T03:51:13Z")

</div>

FYI - This theme component is now broken due to the recent changes on the group page. I’m at a conference right now, but I’ll look at repairing it when I get back. If any one else wants to take a stab at it, go ahead 🙂

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [October 2, 2018, 10:07am UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193/3 "2018-10-02T10:07:07Z")

</div>

I’ve moved this to the (brand new!) #customization:theme:broken-theme category to avoid any confusion. It would be still great to get it fixed though. Using the official javascript plugin API would make it more resilient in future (same goes for the /user equivalent).

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [December 26, 2018, 10:10pm UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193/4 "2018-12-26T22:10:11Z")

</div>

> [@david](#):
>
> categoria

Is the option to add groups available?

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [January 31, 2020, 1:56pm UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193/5 "2020-01-31T13:56:05Z")

</div>

This plugin replaces the functionality that this old theme provided: [Custom Top Navigation Links](https://meta.discourse.org/t/custom-top-navigation-links/87225)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 3, 2020, 1:21am UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193/6 "2020-02-03T01:21:03Z")

</div>

Note, there is no technical reason this requires a plugin, this modification can be made using the client side api only in a theme component.

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [February 3, 2020, 10:19am UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193/7 "2020-02-03T10:19:07Z")

</div>

Oh my! I meant the exact opposite of what I posted:

“[This new theme component](https://meta.discourse.org/t/custom-top-navigation-links/87225) replaces the functionality that this old theme provided.”

Sorry, I posted quickly without re-reading 😳

Feel free to close this topic. I have gone ahead and archived this theme on Github.

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [February 3, 2020, 10:36am UTC](https://meta.discourse.org/t/add-groups-to-top-nav/65193/8 "2020-02-03T10:36:04Z")

</div>


