[WordPress] 外掛分享: Simple X Buttons – Share, Follow, Mention & Hashtag for WordPress

首頁外掛目錄 › Simple X Buttons – Share, Follow, Mention & Hashtag for WordPress
WordPress 外掛 Simple X Buttons – Share, Follow, Mention & Hashtag for WordPress 的封面圖片
90+
安裝啟用
★★★★★
5/5 分(1 則評價)
剛更新
最後更新
問題解決
WordPress 5.8+ PHP 7.2+ v2.0.0 上架:2011-09-07

內容簡介

與 Twitter.com 的時間軸一樣,Simple Twitter Plugin widget 具有互動性,使您的訪客可以直接從側邊欄回覆、轉推和收藏 Tweets。使用者可以展開 Tweets,以在線檢視 Cards、轉推和收藏次數。整合的 Tweet 方塊鼓勵使用者回應或開始新對話,自動展開媒體的選項將照片置於首位。

支援移動裝置

適用於主要智慧型手機瀏覽器。
介面適用於觸控(例如,操作始終可見,間距調整)。
圖形經過優化,適用於 Retina 和其他高密度顯示器。
使用網頁意向進行互動,這也是適用於手機的設計。

請造訪插件首頁 以獲取更多資訊和示例。

造訪我們的CodeCanyon Portfolio 以查看我們製作的更多精彩外掛。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple X Buttons – Share, Follow, Mention & Hashtag for WordPress」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Simple X Buttons adds X (Twitter) buttons to your WordPress posts and pages — the right way.
Why not use X’s official embed buttons?
X’s embed infrastructure (platform.twitter.com/widgets.js) has been unreliable since 2023, hitting HTTP 429 rate limits at scale and causing embeds to fail silently or load slowly. X has not committed to fixing this.
This plugin takes a different approach entirely.
What are X Web Intents?
Web Intents are plain URLs provided by X for sharing, following, mentioning, and more. They open a lightweight native X popup — no JavaScript SDK, no third-party cookies, no external scripts loaded on page load. You click, a popup opens, done.
That means:

No API key required — zero setup friction
No external scripts — nothing loads until the user clicks
No rate limits — static URLs, no API calls
GDPR-friendly — no cookies or tracking on page load
Fast — the plugin CSS is ~1 KB, loaded only when a button is on the page

Four button types

Share — opens X compose pre-filled with the post title, permalink, hashtags, and via handle
Follow — opens X’s native follow dialog for your account
Mention — opens X compose pre-filled with @yourhandle so visitors can tweet at you
Hashtag — opens X compose pre-filled with #yourtag; optionally pulls in the post’s own tags automatically

Features

Auto-insert before and/or after post content — choose which buttons and which post types per placement
Per-placement button control — show Share on all posts, Follow only on certain post types, etc.
Post tags as hashtags — Share and Hashtag buttons can automatically pull the post’s tags (capped at 5 to keep tweets writable)
4 Gutenberg blocks — X Share, Follow, Mention, and Hashtag blocks with live editor previews
4 Shortcodes — [sxb-share], [sxb-follow], [sxb-mention], [sxb-hashtag]
Template tags — sxb_share_button() and sxb_button_bar() for theme developers
Three button styles — Dark, Outline, Ghost
Popup or new-tab intent window

Integration
Four ways to add buttons to your site:

Auto-insert (recommended): Enable a placement in Settings → Simple X Buttons. Buttons appear automatically on every matching post type.
Shortcode: [sxb-share], [sxb-follow handle="yourhandle"], [sxb-mention handle="yourhandle"], [sxb-hashtag tag="travel"] anywhere in content.
Block: Search for “X Share Button”, “X Follow Button”, “X Mention Button”, or “X Hashtag Button” in the Gutenberg block inserter.
Template tag: or in theme templates.

Compatibility

WordPress 5.8 or higher
PHP 7.2 or higher
No API key required
No external JavaScript loaded on page load
Works with any theme

延伸相關外掛

文章
Filter
Apply Filters
Mastodon