- Gutenberg block for the WordPress block editor
- Full styling control:
- Button text customization
- Button background and text color (connect/disconnect states)
- Dynamic messaging based on connection state
- Role assignment messaging
- Connected account display
- Conditional visibility based on login status
- Seamless integration with popular plugins:
- Membership: Paid Memberships Pro, MemberPress, Ultimate Member, Tutor LMS
- Developer-friendly: Easily extensible with hooks and filters
- Upload the plugin files to the
/wp-content/plugins/all-in-one-discord-connect-block/
directory, or install it directly through the WordPress admin dashboard. - Activate the plugin through the “Plugins” menu in WordPress.
- Edit a post or page using the Gutenberg Block Editor.
- Search for “Discord Connect” block and insert it.
- Use the block settings panel to customize appearance, behavior, and messages.
Each block instance allows you to customize:
-
Button Appearance
connectButtonTextColor
: Color of the “Connect” button textconnectButtonBgColor
: Background color for the “Connect” buttondisconnectButtonTextColor
: Color of the “Disconnect” button textdisconnectButtonBgColor
: Background color for the “Disconnect” button
-
Text & Messaging
loggedInText
: Text shown when user is logged in but not connectedloggedOutText
: Text shown when user is connected to DiscordroleWillAssignText
: Message before assigning rolesroleAssignedText
: Message after assigning rolesdiscordConnectedAccountText
: Label for the connected Discord account
-
Visibility Options
- Conditional display based on login status
This plugin supports out-of-the-box integrations with:
-
Membership Plugins:
- Paid Memberships Pro
- MemberPress
- Ultimate Member
- Tutor LMS