Описание
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 widget_width="100%" widget_height="500"]
Inside the theme templates
<?php
if ( function_exists( 'wptelegram_ajax_widget' ) ) {
wptelegram_ajax_widget();
}
?>
or
<?php
echo do_shortcode( '[wptelegram-ajax-widget widget_width="98%" widget_height="700"]' );
?>
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" 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"]' );
?>
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
- Website wptelegram.com
- Telegram @WPTelegram
- Facebook @WPTelegram
- Twitter @WPTelegram
Contribution
Development occurs on Github, and all contributions welcome.
Translations
Many thanks to the translators for the great job!
- Алексей Семёнов (Russian)
-
robertskiba (German)
-
Note: You can also contribute in translating this plugin into your local language. Join the Chat (above)
Скриншоты
Блоки
Этот плагин предоставляет 1 блок.
- WP Telegram Widget and Join Link
Установка
- Upload the
wptelegram-widget
folder to the/wp-content/plugins/
directory - Activate the plugin through the Plugins menu in WordPress. After activation, you should see the menu of this plugin the the admin
- Configure the plugin.
Enjoy!
Часто задаваемые вопросы
-
How to create a Telegram Bot
Отзывы
Участники и разработчики
«WP Telegram Widget and Join Link» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«WP Telegram Widget and Join Link» переведён на 2 языка. Благодарим переводчиков за их работу.
Перевести «WP Telegram Widget and Join Link» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.9.4
- Added usage guide to join link
- Fixed join link defaults
1.9.3
- Fixed 404 on /v
1.9.2
- Fixed error for empty join link
1.9.1
- Added priority option for join link
- Fixed adding of join link if no post type selected
1.9.0
- Added join link automatically to posts
- Added options to customize join link for posts
- Added WP Telegram Block category
- Improved blocks
- Fixed JS bundle path for blocks
- Fixed single post iframe height