Title: Custom connect button block for Discord
Author: Younes
Published: <strong>25 Tháng 8, 2025</strong>
Last modified: 4 Tháng 9, 2025

---

Tìm kiếm plugin

![](https://ps.w.org/custom-connect-button-block-for-discord/assets/banner-772-250.
png?rev=3349873)

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/custom-connect-button-block-for-discord/assets/icon-256x256.
png?rev=3349877)

# Custom connect button block for Discord

 Bởi [Younes](https://profiles.wordpress.org/vanbom/)

[Tải về](https://downloads.wordpress.org/plugin/custom-connect-button-block-for-discord.1.0.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/custom-connect-button-block-for-discord/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/custom-connect-button-block-for-discord/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/custom-connect-button-block-for-discord/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/custom-connect-button-block-for-discord/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/custom-connect-button-block-for-discord/)

## Mô tả

**Custom Connect Button Block for Discord** adds a flexible Gutenberg block that
allows users to connect or disconnect their Discord accounts from any page or post.

The block is fully customizable (text, colors, text, styles) and can display each
user’s connection status, including the Discord roles they will be assigned (via
the integration add-on).

Unlike shortcodes, this block supports unique design variations per page and offers
a real-time preview toggle directly in the editor, so you can instantly view the
exact frontend output without publishing.

### Features

– Add a fully customizable “Connect to Discord” button.
 – Display a “Disconnect”
button for already connected users. – Show assigned Discord roles dynamically. –
Real-time live preview in the editor with Play/Stop toggle. – No coding required–
all options are visual in the block editor.

### Supported Add-ons

This block requires one of the following plugins for the actual Discord integration(
authentication and role sync):
 – [PMPro Discord Add-on](https://wordpress.org/plugins/pmpro-discord-add-on/)–
[ExpressTech MemberPress Discord Add-on](https://wordpress.org/plugins/expresstechsoftwares-memberpress-discord-add-on/)–
[Connect Ultimate Member to Discord](https://wordpress.org/plugins/ultimate-member-discord-add-on/)–
[Connect Tutor LMS to Discord](https://wordpress.org/plugins/connect-tutorlms-to-discord/)

This plugin’s source code is [available on GitHub](https://github.com/younes-dro/custom-connect-button-block-for-discord).

Contributions and bug reports are welcome.

### External services

This plugin does not connect to external APIs directly.
 Instead, supported add-
ons (listed above) handle all communication with the **Discord API**.

**Optional external call used by this plugin:**
 – **Discord CDN (https://cdn.discordapp.
com/)** — to display a connected user’s avatar image, if provided by the add-on.–**
Data sent:** None. – **Data retrieved:** Avatar image. – **When:** Only when the
user is already connected to Discord through a supported add-on.

For more details:
 – [Discord Terms of Service](https://discord.com/terms) – [Discord Privacy Policy](https://discord.com/privacy)

## Ảnh màn hình

[⌊Animated demo showcasing all block features in action.⌉⌊Animated demo showcasing
all block features in action.⌉[

Animated demo showcasing all block features in action.

[⌊Enable live preview for non-connected user.⌉⌊Enable live preview for non-connected
user.⌉[

Enable live preview for non-connected user.

[⌊Live preview for connected user to Discord.⌉⌊Live preview for connected user to
Discord.⌉[

Live preview for connected user to Discord.

[⌊The button text placeholder settings.⌉⌊The button text placeholder settings.⌉[

The button text placeholder settings.

[⌊The color settings for buttons: front color and background color.⌉⌊The color settings
for buttons: front color and background color.⌉[

The color settings for buttons: front color and background color.

[⌊Initial block status - buttons + text.⌉⌊Initial block status - buttons + text.⌉[

Initial block status – buttons + text.

## Khối

Plugin này cung cấp 1 khối.

 *   Connect Button for Discord Displays a customizable "Connect to Discord" button

## Cài đặt

 1. Upload the plugin files to `/wp-content/plugins/custom-connect-button-block-for-
    discord/` or install directly from the WordPress Plugins screen.
 2. Activate the plugin through the “Plugins” menu in WordPress.

## Hỏi đáp

### What does this block do?

It provides a customizable “Connect to Discord” button that works alongside supported
add-ons. Those add-ons handle the actual Discord connection, while this block lets
you design and place the button anywhere in the editor.

### Does this block work with any Discord integration plugin?

It currently supports the PMPro, MemberPress, Ultimate Member, and Tutor LMS Discord
add-ons.

### Can I customize the button style?

Yes. You can set the button’s text, colors, and text directly in the Gutenberg editor.

### Can I preview changes live before saving?

Yes. The block includes a Play/Stop toggle that renders the live frontend output
instantly inside the editor.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Custom connect button block for Discord” là mã nguồn mở. Những người sau đã đóng
góp vào plugin này.

Những người đóng góp

 *   [ Younes ](https://profiles.wordpress.org/vanbom/)
 *   [ Ravi Soni ](https://profiles.wordpress.org/webbdeveloper/)

[Dịch “Custom connect button block for Discord” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/custom-connect-button-block-for-discord)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/custom-connect-button-block-for-discord/),
check out [SVN repository](https://plugins.svn.wordpress.org/custom-connect-button-block-for-discord/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/custom-connect-button-block-for-discord/)
qua [RSS](https://plugins.trac.wordpress.org/log/custom-connect-button-block-for-discord/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.0

 * Initial release.

## Meta

 *  Phiên bản **1.0.1**
 *  Cập nhật lần cuối **1 năm trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.8 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.8.12**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/custom-connect-button-block-for-discord/)
 * Thẻ
 * [block](https://vi.wordpress.org/plugins/tags/block/)[discord](https://vi.wordpress.org/plugins/tags/discord/)
   [gutenberg](https://vi.wordpress.org/plugins/tags/gutenberg/)[lms](https://vi.wordpress.org/plugins/tags/lms/)
   [membership](https://vi.wordpress.org/plugins/tags/membership/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/custom-connect-button-block-for-discord/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/custom-connect-button-block-for-discord/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/custom-connect-button-block-for-discord/reviews/)

## Những người đóng góp

 *   [ Younes ](https://profiles.wordpress.org/vanbom/)
 *   [ Ravi Soni ](https://profiles.wordpress.org/webbdeveloper/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/custom-connect-button-block-for-discord/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://paypal.me/younesdro)