[WordPress] 外掛分享: WP Telegram Widget and Join Link

首頁外掛目錄 › WP Telegram Widget and Join Link
WordPress 外掛 WP Telegram Widget and Join Link 的封面圖片
4,000+
安裝啟用
★★★★
4.9/5 分(31 則評價)
30 天前
最後更新
問題解決
WordPress 6.6+ PHP 8.0+ v2.2.15 上架:2018-02-18

內容簡介

p>使用簡單的短代碼,在 WordPress Widget 或任何地方顯示 Telegram 公開頻道或群組的動態線。

卓越的支援

參加聊天室

我們在 Telegram 上設有一個公開小組,以提供設定插件、討論問題、功能、翻譯等的幫助。加入 @WPTelegramChat
請參考置頂信息的規則,請勿發送垃圾郵件。

功能

提供 AJAX Widget 來顯示頻道的動態線
AJAX Widget 包含 "加入頻道" 的鏈接
獨立的 "加入頻道" 鏈接/按鈕
自動從 Telegram 獲取更新
使用響應式 Widget 來顯示動態線
可以放置在任何位置
可以從 /wp-admin 中查看接收到的消息
自動刪除已刪除的消息
可以使用短代碼顯示
作為 Gutengerg 區塊可用
允許嵌入 Telegram 公開頻道消息
可使用自定義代碼進行擴展

Widget 資訊

AJAX Widget
轉至外觀>小工具,然後點擊/拖放 WP Telegram AJAX Widget 並將其放置在希望的位置。

或者,您可以使用以下短代碼。

頁面或帖子內部:

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

在主題模板中

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

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

落伍的小工具
轉至外觀>小工具,然後點擊/拖放 WP Telegram Legacy Widget 並將其放置在希望的位置。

或者,您可以使用以下短代碼。

頁面或帖子內部:

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

在主題模板中

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

wptelegram_widget( $args );
}
?>

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

加入連結
轉至外觀>小工具,然後點擊/拖放 WP Telegram Join Channel 並將其放置在希望的位置。

或者,您可以使用以下短代碼。

頁面或帖子內部:

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

在主題模板中

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

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

聯繫我們

網站wptelegram.com
Telegram @WPTelegram
Facebook

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2.15) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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

or

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
'auto',
// 'num_messages' => 5,
// 'width' => 100,
);

wptelegram_widget( $args );
}
?>

or

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

Website wpsocio.com
Telegram @WPTelegram
Facebook @WPTelegram
Twitter @WPTelegram

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon