# Adding header links post vdom upgrade

**URL:** <https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284>\
**Category:** Product Support\
**Created:** [26 Abril , 2016 23:44 UTC](https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284 "2016-04-26T23:44:31Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Yuun](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuun](https://meta.discourse.org/u/Yuun)\
**Post date:** [17 Julho , 2016 14:46 UTC](https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284/10 "2016-07-17T14:46:55Z")

</div>

I haven’t played around with it much, but this should get you started:

```plaintext
<script type="text/discourse-plugin" version="0.4">
api.decorateWidget('header-icons:before', helper => {
    const showExtraInfo = helper.attrs.minimized;
        if(!showExtraInfo) {
            return helper.h('div#test-links', [
                helper.h('a#test1', {
                    href:'/t/joining-sih/494', 
                    text:'Join Us!'
                }),
            ]);
        }
});
</script>

```

```plaintext
div#test-links {
    display: inline;
    float: left;
}

```

---

_[View the full topic](https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284)._
