# Don't Link User Title to a Group

**URL:** https://meta.discourse.org/t/dont-link-user-title-to-a-group/58267
**Category:** Feature
**Tags:** groups
**Created:** [Mars 3, 2017, 1:02 UTC](https://meta.discourse.org/t/dont-link-user-title-to-a-group/58267 "2017-03-03T01:02:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Mars 3, 2017, 1:02 UTC](https://meta.discourse.org/t/dont-link-user-title-to-a-group/58267/1 "2017-03-03T01:02:27Z")

</div>

In order to target a user’s title with CSS, they must have an assigned primary group. Once assigned a primary group, their title links to the group per

> [@Linking user titles to groups](https://meta.discourse.org/t/link-user-title-to-a-group/19169):
>
> bookmark This guide explains how to link a user’s title to a group in Discourse, allowing users to click on the title to view the associated group page. person_raising_hand Required user level: Administrator This guide will walk you through the process of associating a user’s title with a specific group in Discourse. When set up correctly, clicking on the user’s title will navigate to the linked group’s page. information_source In this example we’re using a user named anonymous, and …

This is great if the user’s title is related to the group - however, if the only reason for the primary group is to allow CSS targeting, the link is unwanted.

This is currently handled using JS:

```plaintext
<script>
$(document).on("ajaxComplete", function( event ) {
    $('a.user-group').each(function() {
        $(this).replaceWith("<div class='user-group'>" + $(this).html() + "</div>" );
    });
});
</script>

```

However, JS can be broken with any Discourse update. I’d like to see a new group setting to disable linking the title to a group.
