DFX Feed for Telegram Channels mirrors messages from one or more Telegram channels onto your WordPress site. Messages are fetched via a Telegram bot you control, stored locally as a custom post type, and rendered through a shortcode, Gutenberg block, or Elementor widget. Both public and private channels are supported.
Features
- Three rendering surfaces — shortcode, Gutenberg block, or Elementor widget. The block exposes per-instance styling controls (border, background, padding, typography per element).
- Full media support — photos at the highest resolution available, video and animation thumbnails, static stickers, animated TGS stickers via Lottie, and WEBM video stickers.
- Bot token never reaches the client — Telegram file URLs (which embed your bot token) are resolved server-side; the frontend only receives a token-less proxy URL. Media is cached on disk for performance.
- Edits sync automatically with a small "(edited)" marker carrying the edit timestamp.
- Background refresh every 2 minutes via WP-cron, plus on-demand refresh on frontend visits as a fallback for low-traffic sites.
- Per-message admin controls — Hide (reversible, suppresses on frontend) and Move to Trash (sticky against refresh) row actions.
- Theme template overrides — drop
dfxfftc/feed.php or dfxfftc/browser.php into your theme to fully customize the output.
- Works with private channels if your bot is admin in them.
- Upload the plugin to the
/wp-content/plugins/ directory, or install via the WordPress plugins screen.
- Activate the plugin through the 'Plugins' menu.
- In WordPress admin, go to Settings → Telegram Feed.
- Create a Telegram bot via @BotFather, paste the bot token into the settings page, and save.
- Add the bot as an administrator of every channel you want to mirror.
- Add a shortcode such as
[dfxfftc_channel_feed channel="@yourchannel" count="10"] to a page, or use the "Feed for Telegram Channels" Gutenberg block / Elementor widget.
Note: messages posted in the channel
before the bot was added are not retrievable via the Bot API.