[WordPress] 外掛分享: انتشار یار – انتشار پست در کانال تلگرام و شبکه های اجتماعی (Entesharyar)

首頁外掛目錄 › انتشار یار – انتشار پست در کانال تلگرام و شبکه های اجتماعی (Entesharyar)
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.6.1 上架:2026-09-15

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.6.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「انتشار یار – انتشار پست در کانال تلگرام و شبکه های اجتماعی (Entesharyar)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

انتشار یار is a lightweight, fully right-to-left (RTL) plugin for
sharing WordPress articles on popular social networks and messaging apps
used by Persian-speaking audiences.
Adding a simple shortcode displays a share icon anywhere inside the article
content. Clicking the icon opens a popup containing the featured image,
title, and excerpt of the article, along with share buttons for:

Telegram
Bale
Eitaa
WhatsApp
Rubika (Rubika has no standard web-share URL, so this button copies the
full title + excerpt + article URL to the clipboard instead of opening a
link, so the user can paste it into the Rubika app)
Twitter / X
Facebook

Key features

Dedicated shortcode: Insert [entshryr_share_popup] anywhere in the
content (or [entshryr_share_popup id="123"] for a specific post) to
display the share button.
Accessible popup: The modal follows accessibility best practices
(dialog role, focus management, closes with Esc or a click on the
backdrop).
Fully right-to-left: Both the trigger icon and the popup are forced
to RTL, independent of the active theme’s default text direction.
Automatic excerpt: If the author has not written a manual excerpt,
the plugin automatically builds one from the article content (shortcodes
and HTML tags stripped) with a configurable word count.
Publish directly to a Telegram channel: Available in two places —
a dedicated meta box on the post-edit screen, and a button inside the
popup itself shown only to a logged-in user who can edit that specific
post (regular visitors never see it). Either option sends the title,
excerpt, and featured image to your channel through the Telegram Bot API
with a single click. This feature is protected with a nonce and a
capability check, and requires a bot token (created via @BotFather) and
a channel ID, both entered on the plugin’s settings page.
Simple dashboard settings: From Settings > انتشار یار you can manage
the icon’s tooltip text, the automatic excerpt length (in words), the
active networks shown in the popup, and the Telegram bot/channel
credentials.
Works on hosts inside Iran: Since Telegram is typically blocked from
Iranian server IPs, you can optionally route Telegram publishing through
a free relay operated by the plugin’s developer, instead of connecting to
api.telegram.org directly. Disabled by default and only used if you
explicitly opt in.
Secure and standards-compliant: Output is escaped with WordPress
functions (esc_html, esc_attr, esc_url), the settings form uses the
Settings API with a dedicated sanitize callback, and the Telegram publish
AJAX request is protected with a nonce and current_user_can().

Usage
This plugin does not automatically insert the icon into your content. To
display it, add the following shortcode anywhere inside the article body:
[entshryr_share_popup]
To display the button for a post other than the one currently being viewed
(for example, inside a widget or a custom template), specify the post ID:
[entshryr_share_popup id=”123″]
To publish an article to your Telegram channel, open that post’s edit
screen and click the button in the “Publish to Telegram Channel” meta box
in the sidebar — or, if you are viewing the published post and have
permission to edit it, use the matching button inside the share popup
itself.
External services
This plugin connects to the Telegram Bot API (api.telegram.org) to provide
the optional “publish to a Telegram channel” feature.
This connection only happens when:
* The site administrator has already entered a Telegram bot token and a
channel ID on the plugin’s settings page, and
* A user who can edit a given post clicks the “Publish to Telegram
Channel” button for that specific post — either from the post-edit
screen or from the button inside the share popup.
When that happens, the post’s title, excerpt, link, and featured image are
sent to api.telegram.org so the bot can publish them to the configured
channel. No other data (such as visitor information or content from other
posts) is sent to this service, and no request is made to Telegram unless
an authorized user explicitly clicks the button.
This service is provided by Telegram FZ-LLC:
* Terms of Service: https://telegram.org/tos
* Privacy Policy: https://telegram.org/privacy
Optional plugin-developer relay (only if explicitly selected by the user)
If the user explicitly selects the “Use the plugin developer’s relay” option
in settings (disabled by default), requests to publish to a Telegram channel
are routed through a relay service (a Cloudflare Worker) operated by this
plugin’s developer instead of connecting directly to api.telegram.org. In
that case, the bot token, channel ID, and the post’s title/excerpt/image
pass through this relay on their way to Telegram. This relay does not store
or log any data; it only forwards the request unmodified to
api.telegram.org.

延伸相關外掛

文章
Filter
Mastodon