WP Discord Channel Display

FREE

WP Discord Channel Display is a WordPress plugin that allows website administrators to embed Discord channel messages directly into WordPress posts and pages using shortcodes. The plugin provides real-time message display with automatic refresh functionality, mimicking the Discord user interface with support for avatars, timestamps, reactions, embeds, and more.

 

Core Functionality

Basic Features (Free Version)

The plugin provides essential Discord integration capabilities:
– Message Display via Shortcode: Embed Discord channel messages using `[discord_channel]` shortcode
– Live Auto-Refresh: Configurable automatic message updates (5-300 seconds interval)
– Discord-like Styling: Messages displayed with Discord-inspired UI design
– User Information: Display user avatars, usernames, discriminators, and bot badges
– Timestamp Display: Relative timestamps (e.g., “5 minutes ago”) with full date on hover
– Rich Content Support:
– Text messages with markdown formatting (bold, italic, underline, strikethrough, code)
– Image attachments with lazy loading
– File attachments with download links
– Message embeds (standard Discord embeds)
– URL auto-linking
– Responsive Design: Mobile-friendly layout
– Dark Mode Support: Compatible with dark themes
– Multiple Channels: Display multiple channels on the same page using different shortcode instances

Shortcode Usage

[discord_channel channel_id=”YOUR_CHANNEL_ID”]

 

 Available Attributes:
Attribute Required Description Default
channel_id Yes Discord channel ID
limit No Number of messages to display (1-100) 50
refresh No Auto-refresh interval in seconds (0 to disable) 30
show_avatar No Show user avatars (yes/no) yes
show_timestamp No Show message timestamps (yes/no) yes

Example:

[discord_channel channel_id=”123456789012345678″ limit=”25″ refresh=”60″]

Setup Requirements

1. Discord Bot Token: Users must create a Discord bot application and obtain a bot token
2. Bot Permissions: The bot requires:
– View Channels
– Read Message History
– Message Content Intent (Privileged Gateway Intent)
3. Bot Invitation: Bot must be invited to the Discord server