WP Telegram Widget and Join Link

外掛說明

Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a simple shortcode.

Features

  • Provides an ajax widget to display channel feed
  • Ajax widget contains a Join Channel link
  • A separate Join Channel Link/Button
  • Pulls updates automatically from Telegram
  • Uses a responsive widget to display the feed
  • Fits anywhere you want it to be
  • The received messages can be seen from /wp-admin
  • Automatically removes deleted messages
  • Can be displayed using a shortcode
  • Available as a Gutengerg block
  • Allows embedding of Telegram public channel messages
  • Can be extended with custom code

Widget Info

Ajax Widget
Goto Appearance > Widgets and click/drag WP Telegram Ajax Widget and place it where you want it to be.

Alternately, you can use the below shortcode.

Inside page or post content:

[wptelegram-ajax-widget username="WPTelegram" width="100%" height="500px"]

Inside the theme templates

<?php
if ( function_exists( 'wptelegram_ajax_widget' ) ) {
    wptelegram_ajax_widget();
}
?>

or

<?php
    echo do_shortcode( '[wptelegram-ajax-widget width="98%" height="700px"]' );
?>

Legacy Widget
Goto Appearance > Widgets and click/drag WP Telegram Legacy Widget and place it where you want it to be.

Alternately, you can use the below shortcode.

Inside page or post content:

[wptelegram-widget num_messages="5" width="100%" author_photo="auto"]

Inside the theme templates

<?php
if ( function_exists( 'wptelegram_widget' ) ) {
    $args = array(
        // 'author_photo' => 'auto',
        // 'num_messages' => 5,
        // 'width'        => 100,
    );

    wptelegram_widget( $args );
}
?>

or

<?php
    echo do_shortcode( '[wptelegram-widget num_messages="5" width="100%" author_photo="always_show"]' );
?>

Join Link
Goto Appearance > Widgets and click/drag WP Telegram Join Channel and place it where you want it to be.

Alternately, you can use the below shortcode.

Inside page or post content:

[wptelegram-join-channel link="https://t.me/WPTelegram" text="Join @WPTelegram on Telegram"]

Inside the theme templates

<?php
if ( function_exists( 'wptelegram_join_channel' ) ) {
    $args = array(
        'link' => 'https://t.me/WPTelegram',
        'text' => 'Join @WPTelegram on Telegram',
    );
    wptelegram_join_channel( $args );
}
?>

or


Excellent Support

Join the Chat

We have a public group on Telegram to provide help setting up the plugin, discuss issues, features, translations etc. Join @WPTelegramChat
For rules, see the pinned message. No spam please.

Get in touch

Contribution

Development takes place in our Github monorepo, and all contributions welcome.

螢幕擷圖

  • Ajax Widget Settings
  • Legacy Widget Settings
  • Legacy Widget Settings (Cont.)
  • Join Link Settings
  • Advancced Settings
  • Widget Settings (back-end)
  • Widget View (front-end)
  • Blocks
  • Join Link View

適用於區塊編輯器

這個外掛提供 4 個可供 Gutenberg/區塊編輯器使用的區塊。

  • WP Telegram Widget and Join Link
  • Telegram Channel Ajax Feed
  • Telegram Channel Feed
  • Telegram Single Post

安裝方式

Automatic installation

Automatic installation is the easiest way — WordPress will handle the file transfer, and you won’t need to leave your web browser. To do an automatic install of the plugin:

  • Log in to your WordPress dashboard
  • Navigate to the Plugins menu, and click “Add New”
  • In the search field type “wptelegram-widget” and hit Enter
  • Locate the plugin in the list of search results
  • Click on “Install Now” and wait for the installation to complete
  • Click on “Activate”

Manual installation

Manual installation method requires downloading the plugin and uploading it to your web server via your favorite FTP application. The official WordPress documentation contains instructions on how to do this here.

Updating

Automatic updates should work smoothly, but we still recommend you back up your site.

常見問題集

How to create a Telegram Bot

How do I create a bot?.

Why Legacy Widget shows nothing?

Legacy Widget does not show the old messages.

You need to post something new into the group/channel and wait for 5 minutes for the messages to appear.

If you are too impatient to wait for the results, open the URL under Tip!💡 (below the instructions) in your browser.

Note: Please ensure to follow the instructions given on the settings page correctly.

Why do I see my own website in the widget?

It means that there is something wrong with the permalinks on your website.

Simply goto wp-admin > Settings > Permalinks and just Save Changes.

That should fix it. If it doesn’t, please let us know at @WPTelegramSupport.

使用者評論

2024 年 4 月 16 日
I was looking for a free solution to publish Telegram posts and I found this plugin.2 minutes to set everything up and it works like a charm.
2023 年 8 月 15 日 3 則留言
Wow, that was super easy and quick. Took me less than 10 minutes from downloading the plugin to a perfectly working widget in the sidebar on my site. Not a single issue encountered. Congratulations to the developer of this mighty plugin. Where can I support your great work?The only thing I miss is a button to quickly move [back] to the latest post. I never know which way to scroll.
2023 年 3 月 14 日
The developer coded an additional feature for me and went above and beyond. Can not recommend the plugin and the support that comes with it enough.
2023 年 1 月 29 日
They helped me solving something I thought it was impossible 😀
2022 年 5 月 19 日
The plugin works great. I was especially pleased with the support, which quickly solved my problem.
2022 年 1 月 29 日
This plugin does exactly what I was after, and thanks to the friendly help of the developer I was able to customize the CSS. RECOMMENDED!
閱讀全部 29 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Telegram Widget and Join Link〉的開發相關工作。

參與者

〈WP Telegram Widget and Join Link〉外掛目前已有 5 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈WP Telegram Widget and Join Link〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.1.22

  • Added blueprints for WP Playground

See full changelog