WP Manifestindependent plugin directory
manifest / social / wp-discord-feed

Discord Channel Display

WordPress plugin that allows website administrators to embed Discord channel messages directly into WordPress posts and pages using shortcodes

by Your Name · github.com/andrzejskowron/wp-discord-feed · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/andrzejskowron/wp-discord-feed/archive/refs/heads/main.zip

Discord Channel Display - WordPress Plugin

Overview

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

Premium Features (1-Year License)

The premium version unlocks advanced Discord functionality through a licensed activation system that connects to a premium server (https://premium.skylarkads.com).

Premium Functionality

1. Message Reactions

  • Display emoji reactions on messages
  • Support for both Unicode and custom Discord emojis
  • Show reaction counts
  • Highlight user's own reactions
  • Animated emoji support
  • Custom emoji rendering from Discord CDN

2. Enhanced Message Embeds

  • Advanced embed formatting processed through premium server
  • Rich embed display with:
    • Author information with icons
    • Title and description
    • Custom color borders
    • Fields (inline and block)
    • Images and thumbnails
    • Video embeds with preview
    • Footer with icons and timestamps
    • YouTube video previews

3. Pinned Messages

  • Dedicated [discord_pinned] shortcode to display only pinned messages
  • Visual pinned message badge with pin icon
  • Pinned messages displayed first in regular channel view
  • Premium server handles pinned message sorting logic

4. Thread Support

  • Display thread information on messages
  • View thread reply counts
  • Load thread messages dynamically
  • Thread toggle buttons with message counts
  • Active threads retrieval

5. Advanced Message Sorting

  • Server-side message sorting through premium API
  • Pinned messages prioritized to top
  • Custom sorting logic maintained by premium server

6. Premium Shortcodes

[discord_pinned channel_id="YOUR_CHANNEL_ID"]

Displays only pinned messages from a channel.


Premium License Purchase

When users purchase a 1-year premium license, they receive:

  1. License Key: Unique activation key
  2. Premium Access: All advanced features unlocked
  3. Priority Support: Enhanced customer support
  4. 1-Year Duration: License valid for 12 months from activation
  5. Single Domain: License bound to one WordPress installation domain

License Renewal

  • Licenses expire after 1 year
  • Expired licenses revert to free version functionality
  • Renewal extends access for another year
  • Grace period during temporary server issues

Installation

  1. Upload plugin to /wp-content/plugins/discord-channel-display/
  2. Activate through WordPress Plugins screen
  3. Configure bot token in Settings > Discord Display
  4. Create Discord bot at https://discord.com/developers/applications
  5. Enable "Message Content Intent" for the bot
  6. Invite bot to Discord server with required permissions
  7. Use shortcode in posts/pages

Premium Activation

  1. Purchase 1-year license
  2. Navigate to Discord Premium in WordPress admin
  3. Enter license key and API key
  4. Click "Save and Verify License"
  5. Premium features activate immediately upon successful verification

WordPress Requirements

  • WordPress Version: 5.0 or higher
  • PHP Version: 7.2 or higher
  • Required Capabilities: manage_options for settings access
  • Cron: WordPress cron for scheduled license checks