/wptelegram-widget

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

Primary LanguagePHP

WP Telegram Channel Widget

Contributors: manzoorwanijk
Tags: telegram, feed, widget, channel, group
Requires at least: 4.0
Tested up to: 5.1.1
Stable tag: 1.5.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Wordpress plugin Wordpress Wordpress rating

Complete contributors list found here: github.com/manzoorwanijk/wptelegram-widget/graphs/contributors

Download plugin on wordpress.org

Description

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

Features:

  • 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

Goto Appearance > Widgets and click/drag WP Telegram 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" widget_width="100" author_photo="auto"]

Inside the theme templates

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

    wptelegram_widget( $args );
}
?>

or

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

Contribution

Development occurs on Github, and all contributions welcome.

Translation

If you are looking to provide language translation files, Please do so via WordPress Plugin Translations.

Installation

  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.