[WordPress] 外掛分享: SNS Count Cache

首頁外掛目錄 › SNS Count Cache
WordPress 外掛 SNS Count Cache 的封面圖片
8,000+
安裝啟用
★★★★
4/5 分(4 則評價)
2477 天前
最後更新
問題解決
WordPress 3.7+ v1.1.3 上架:2014-06-27

內容簡介

SNS Count Cache 是一個外掛,通過緩存機制顯示分享和追隨者計數,幫助您縮短頁面加載時間。

注意事項:
從 Ver. 0.11.1 或以下版本升級時,在設置頁面中需要重新註冊客戶端 ID、客戶端密鑰和訪問令牌等信息。

插件會獲取以下 SNS 的分享計數並在後台緩存這些計數。

Twitter
Facebook
Pocket
Pinterest
Linkedin
はてなブックマーク (Hatena Bookmark)

注意:您可以從以下替代方案中選擇替代的 Twitter API 來檢索分享計數。

widgetoon.js & count.jsoon
OpenShareCount
TwitCount

插件同樣以相同的方式緩存以下 SNS 的追隨者計數。

Twitter
Facebook
Feedly
Instagram
OneSignal
Push7

通過給定的函數,可以快速獲取分享和追隨者計數,而不是通過網絡,而是通過緩存。

以下是從緩存中獲取分享計數的函數:

scc_get_share_twitter()
scc_get_share_facebook()
scc_get_share_pocket()
scc_get_share_pinterest()
scc_get_share_linkedin()
scc_get_share_hatebu()
scc_get_share_total()

以下是從緩存中獲取追隨者計數的函數:

scc_get_follow_feedly()
scc_get_follow_twitter()
scc_get_follow_facebook()
scc_get_follow_instagram()
scc_get_follow_onesignal()
scc_get_follow_push7()

以下描述了從自定義字段中獲取分享計數的元鍵。

scc_share_count_twitter
scc_share_count_facebook
scc_share_count_pocket
scc_share_count_pinterest
scc_share_count_linkedin
scc_share_count_hatebu
scc_share_count_total

以下描述了從自定義字段中獲取分享計數增量的元鍵。

scc_share_delta_twitter
scc_share_delta_facebook
scc_share_delta_pocket
scc_share_delta_pinterest
scc_share_delta_linkedin
scc_share_delta_hatebu
scc_share_delta_total

任意部分

外掛標籤

開發者團隊

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

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

原文外掛簡介

SNS Count Cache is a plugin which helps you to shorten page loading time displaying share and follower counts through the use of cache mechanism.
Notice:
In the upgrade from Ver. 0.11.1 or below, Reregistration of information such as client ID, client secret, and access token is needed in the setting page.
The plugin gets share counts for the following SNS and caches these counts in the background.

Twitter
Facebook
Pocket
Pinterest
Linkedin
Hatena Bookmark

Note: You can select alternative Twitter API for share count retrieval from the following alternatives.

widgetoon.js & count.jsoon
OpenShareCount
TwitCount

The plugin also caches follower counts for the following SNS in the same way.

Twitter
Facebook
Feedly
Instagram
OneSignal
Push7

The share and follower counts can be retrieved quickly not through network but through the cache using given functions.
The following shows functions to get share count from the cache:

scc_get_share_twitter()
scc_get_share_facebook()
scc_get_share_pocket()
scc_get_share_pinterest()
scc_get_share_linkedin()
scc_get_share_hatebu()
scc_get_share_total()

The following shows functions to get follower count from the cache:

scc_get_follow_feedly()
scc_get_follow_twitter()
scc_get_follow_facebook()
scc_get_follow_instagram()
scc_get_follow_onesignal()
scc_get_follow_push7()

The following describes meta keys to get share count from custom field.

scc_share_count_twitter
scc_share_count_facebook
scc_share_count_pocket
scc_share_count_pinterest
scc_share_count_linkedin
scc_share_count_hatebu
scc_share_count_total

The following describes meta keys to get delta of share count from custom field.

scc_share_delta_twitter
scc_share_delta_facebook
scc_share_delta_pocket
scc_share_delta_pinterest
scc_share_delta_linkedin
scc_share_delta_hatebu
scc_share_delta_total

Arbitrary section

延伸相關外掛

文章
Filter
Apply Filters
Mastodon