该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Channel Widget for telegram

描述

What the plugin can do ?

As you know, Telegram has added the ability to display channel posts on the web using EMBED Code.

Based on this feature, I decided to build this plugin That allows you to display all your channel content in a beautiful widget
similar to the Telegram App easily, and by activating the post updater bot on your channel, you will automatically have
the most recent channel content in your site widget.

Note : You can display any channel’s post on your WordPress site when you enter last post link of a channel in the plugin’s Setting !
but if you need to Connect widget to your channel and automatically show all new posts of your channel on TGchannel widget ,
you should add @TGCH_BOT to your telegram channel as admin.
this bot will refresh widget posts when a new post published in telegram channel.

屏幕截图

  • Show your Channel in sidebar using TGchannel widget. (screen-1.png)
  • Show your Channel in pages/posts using shortcode. (screen-2.png)
  • TGchannel Setting. (screen-3.png)
  • TGchannel Widget. (screen-4.png)

安装

  1. Install the TGchannel plugin either via the WordPress plugin directory, or by uploading the files to your web server (in the /wp-content/plugins/ directory).

  2. Activate the TGchannel plugin through the ‘Plugins’ menu in WordPress.

  3. Navigate to the ‘TGchannel’ settings page to obtain your channel link and configure your settings.

  4. Use the shortcode [tgchannel] in your page, post or widget to display your Telegram Channel.

常见问题

How can i use it?

Go to target channel in telegram , then right click on last post , and choose Copy Post Link, paste the coppied link to last post link field in TGchannel’s Setting and click on Validation.

If you desire to have the newest posts from your Telegram channel on TGchannel Widget , add “@TGCH_BOT” to your Telegram channel as admin and then click on Active TGCH_BOT .

click on Save changes button .

Copy and paste the following shortcode directly into the page, post or widget where you’d like your channel to show up :

[tgchannel]

also you can use TGchannel Widget that already exists on Appearance->widgets !

评价

2018 年 2 月 17 日 3 回复
It works as described and very easy to configure Telegram connection. However, styling it is not easy – had to deactivate because couldn’t make it fit into a sidebar.
阅读所有4条评价

贡献者及开发者

「Channel Widget for telegram」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Channel Widget for telegram」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Channel Widget for telegram」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1

Launched the TGchannel plugin!

0.2

An option page to customize styles and widget’s size has ben added.