WP Telegram Widget and Join Link

Mô tả

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

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.

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 embeding 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

<?php
    echo do_shortcode( '[wptelegram-join-channel link="https://t.me/WPTelegram" text="Join us on Telegram"]' );
?>

Get in touch

Contribution
Development occurs on Github, and all contributions welcome.

Translations

Many thanks to the translators for the great job!

Ảnh màn hình

  • 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

Block

This plugin provides 4 blocks.

  • Join Telegram Channel
  • Telegram Channel Ajax Feed
  • Telegram Channel Feed
  • Telegram Single Post

Cài đặt

  1. Upload the wptelegram-widget folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress. After activation, you should see the menu of this plugin the the admin
  3. Configure the plugin.

Enjoy!

Hỏi đáp

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 😄, then open the URL given under Tip! (below the instructions) in your browser.

Đánh giá

15 Tháng Tám, 2023 3 replies
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.
14 Tháng Ba, 2023
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.
29 Tháng Một, 2023
They helped me solving something I thought it was impossible 😀
19 Tháng Năm, 2022
The plugin works great. I was especially pleased with the support, which quickly solved my problem.
29 Tháng Một, 2022
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!
Đọc tất cả 28 đánh giá

Người đóng góp & Lập trình viên

“WP Telegram Widget and Join Link” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“WP Telegram Widget and Join Link” đã được dịch qua 5 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “WP Telegram Widget and Join Link” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

2.1.10

  • Fixed translations not loaded for some strings

2.1.9

  • Added caching for the widget content

2.1.8

  • Fixed warnings in PHP 8.x

2.1.7

  • Maintenance release

2.1.6

  • Maintenance release

2.1.5

  • Fixed PHP warning for block_categories deprecation

2.1.4

  • Added lazy loading to iframes

2.1.3

  • Added new tab option for join link

2.1.2

  • Cleaned up the admin menu for single entry for WP Telegram

2.1.1

  • Fixed the issue of settings not saved due to trailing slash redirects

2.1.0

  • Added multi-channel support for Ajax Widget
  • Fixed the ugly URLs filter for widgets

2.0.5

  • Fixed the admin menu and settings page icon

2.0.4

  • Minor UI fixes for Join Link color picker

2.0.3

  • Fixed the last messed up update

2.0.2

  • Added color options to Join Link settings

2.0.1

  • Fixed the issue with message order in legacy widget

2.0.0

  • Switched to PHP namespaces
  • Added support for separate ajax and legacy widgets
  • Refreshed and improved the UI
  • Improved names for hooks and shortcodes