[WordPress] 外掛分享: Sk Share Counter

首頁外掛目錄 › Sk Share Counter
WordPress 外掛 Sk Share Counter 的封面圖片
全新外掛
安裝啟用
尚無評分
2 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.5.1 上架:2026-06-06

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Sk Share Counter」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Sk Share Counter adds lightweight social sharing buttons with a displayed total share count. It supports vertical floating sidebars, bottom sticky bars, dual placement, shortcode output, network ordering, brand/custom colors, manual base counts, per-post multipliers, and a global multiplier.
The plugin also includes recovery tools for older share counts from other plugins via post meta keys.
If a post has no calculated count, the plugin displays a stable fallback count from 6 to 17 instead of showing zero. The fallback is deterministic per post, so it does not change on every page load.
Usage Instructions
1. Quick Start (Automatic Floating Bar)
After activation, go to Settings → Sk Share Counter and:

Placement — Choose where the share bar appears (floating sidebar left/right, bottom bar, or both). Desktop and mobile can have separate placements.
Display on — Select which page types show the bar: Homepage, Posts, Pages, Archives, Author pages.
Button styling — Pick size (Small 32px / Medium 48px / Large 64px), shape (Square / Rounded / Circle / Rectangle), and color theme (Official brand colors or a Custom color).
Networks — Drag to reorder the networks. Uncheck any you want to hide. Supported networks: Facebook, X (Twitter), LinkedIn, WhatsApp, Pinterest, Messenger, Telegram, Email.
Click Save Changes at the bottom.

The share bar will automatically appear on your site based on your settings. Use the Live Preview section to see how it looks before saving.
2. Per-Post Settings
Edit any post or page. In the sidebar, you’ll find a “Share counter” meta box where you can:

Base share count — Manually set a starting count (e.g., if migrating from another plugin).
Multiplier — Multiply the total for this specific post (e.g., set to 2 to double the display count).
The meta box also shows tracked views, share clicks, and the final displayed total.

3. Using the Shortcode
To manually place the share bar inside a post or page content, use:
[skshco_share_bar]

This renders an inline horizontal bar (not floating/sticky) at that exact position in the content.
4. Recovering Counts from Old Plugins
If you are switching from another share count plugin, go to Settings → Sk Share Counter → Recover old share counts:

Extra post meta keys — Add any custom meta keys from your old plugin (one per line). Built-in support for shared_counts_total, mashsb_shares, and mashsharer_total_shares.
Click “Run bulk import for all published posts” to scan all posts and store the recovered totals.

5. Count Calculation Formula
The displayed total follows this formula:
round((base + views + share clicks + recovered legacy) × post multiplier × global multiplier)

Base: Manual count set per post in the editor.
Views: One tracked view per visitor per day (cookie-based, logged-in editors excluded, bots excluded).
Share clicks: Counted when a visitor clicks a share button.
Recovered legacy: Imported from old plugin meta keys.
Global multiplier: Set in Settings, applied to all posts.
Post multiplier: Per-post override in the editor.

If the result is 0, a deterministic fallback between 6 and 17 is shown instead. Final numbers are displayed in compact format (e.g., 1K, 1.5M, 2B).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon