# Adicionar link no menu do usuário

**URL:** <https://meta.discourse.org/t/add-link-in-user-menu/85949>\
**Category:** Support\
**Created:** [Abril 23, 2018, 8:33am UTC](https://meta.discourse.org/t/add-link-in-user-menu/85949 "2018-04-23T08:33:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [Abril 23, 2018, 9:00am UTC](https://meta.discourse.org/t/add-link-in-user-menu/85949/2 "2018-04-23T09:00:29Z")

</div>

You can use something like this in the `</head>` section under common:

```plaintext
<script type="text/discourse-plugin" version="0.8">
api.addUserMenuGlyph({
  label: "c_user_icon",
  className: "my-class", // change classnames
  icon: "heart", // change icon
  href: `/some/path` // change path
});

I18n.translations.en.js.c_user_icon = "label goes here"; // change label here
</script>

```

Here’s the result:

 ![Capture](https://global.discourse-cdn.com/meta/original/3X/3/a/3a19c81313b4ba83bceeaa2353facc3378238a08.PNG)

This is documented here:

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/lib/plugin-api.js.es6#L540-#L556](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/lib/plugin-api.js.es6#L540-#L556)

---

_[View the full topic](https://meta.discourse.org/t/add-link-in-user-menu/85949)._
