這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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 replies
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.