[WordPress] 外掛分享: Share Decentral

首頁外掛目錄 › Share Decentral
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
4356 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0 上架:2014-04-13

內容簡介

這個外掛會在你的文章內容之後增加原始的 Facebook、Twitter 和 Google+ 分享按鈕,但不會建立外部連結。

簡單、輕量化、安全
在點擊之前沒有外部連線,保護隱私
僅使用 HTML 和 CSS,沒有 JavaScript,沒有外部圖片
比「2 次點擊以獲取更多隱私」設計更好

在模板中使用

預設情況下,按鈕會在內容之後插入。如果您想防止自動插入,可以將以下代碼插入 functions.php 檔案中:

以下函數可以在模板中使用:

the_share_decentral($class) – 在模板中顯示按鈕。
share_decentral($class) – 以 HTML 代碼的形式返回按鈕。

您可以使用可選的 $class 參數來添加自定義 CSS 類別,並用空格隔開。

此外掛由 NodeCode 製作。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Share Decentral」→ 直接安裝(推薦)

原文外掛簡介

This Plugin adds the original Facebook, Twitter and Google+ Share Buttons after your post content, but without establish external connections.

simple, lightweight and secure
no external connections before clicking, protects the privacy
only HTML and CSS, no JavaScript, no external images
better than “2 clicks for more privacy”-buttons

Use in Template
By default, the buttons are inserted after the content. If you want to prevent the automatic insert, you can insert the following code into the functions.php:

The following functions are available in templates:

the_share_decentral($class) – Displays the buttons on the template.
share_decentral($class) – Returns the buttons as HTML code.

With the parameter $class (optional) you can add custom CSS classes, separated with white spaces.
Plugin by NodeCode

延伸相關外掛

文章
Filter
Apply Filters
Mastodon