> For the complete documentation index, see [llms.txt](https://mykolapetrovych.gitbook.io/argus-wordpress-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mykolapetrovych.gitbook.io/argus-wordpress-plugin/version-6.1.0/wordpress-shortcodes/discord/connect-profile-shortcode.md).

# Connect Profile Button Shortcode

This is an enclosing shortcode. It outputs an HTML link to connect the WP profile with the Discord profile. You can set shortcode attributes to alter its behavior.

**The text in the shortcode** - is the text of the button. If text is not set, the default display will switch between `Connect Discord Profile` and `Disconnect Discord Profile` texts.

***style*** - attribute will allow you to add style to the button. Use `default` for default styling of the button.

{% hint style="info" %}
If the WP user is not authorized, the shortcode will output nothing.
{% endhint %}

Shortcode example:

```shortcode
[argus-discord-connect-profile-button style="default"]Time to Connect[/argus-discord-connect-profile-button]
```
