Linux 软件免费装

Custom connect button block for Discord

开发者 vanbom
webbdeveloper
更新时间 2025年8月26日 01:07
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

block gutenberg membership LMS discord

下载

1.0.0 1.0.1

详情介绍:

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-onExpressTech MemberPress Discord Add-onConnect Ultimate Member to DiscordConnect Tutor LMS to Discord This plugin’s source code is available on GitHub. Contributions and bug reports are welcome.

安装:

  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.

屏幕截图:

  • Enable live preview for non-connected user
  • Live preview for connected user to Discord
  • The button text placeholder settings
  • The color settings for buttons: front color and background color

常见问题:

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.

更新日志:

1.0.0