[WordPress] 外掛分享: Reve Click2Tweet

首頁外掛目錄 › Reve Click2Tweet
WordPress 外掛 Reve Click2Tweet 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
1871 天前
最後更新
問題解決
WordPress 4.0+ PHP 5.6+ v1.3.0 上架:2018-03-20

內容簡介

在您的 WordPress 網站上新增完全自定義、響應式和快速的 Click to tweet 盒子。
Reve Click2Tweet 完全免費,超快速且非常輕巧(僅 58Kb!)。
使用方法

僅需在任何文章、頁面或 HTML/text widget 中插入短碼 [revec2t]。如果啟用了選項(默認情況下),可以使用 Reve Click2Tweet 經典編輯器按鈕添加。

短碼將被可連結的盒子替換,允許您的訪客在 Twitter 上分享任何內容。

您可以在短碼中使用以下屬性:文字、URL、hashtags、via、標籤、圖示和短碼。

所有屬性都是可選的。如果您沒有設置文字,則短碼將顯示要分享的 URL。此外,您可以手動設置 URL,否則短碼將產生當前頁面 URL。

屬性 hashtags、via、標籤、圖示和短碼允許您自定義每個短碼。如果設置了這些值,則它們將覆蓋已保存的選項。同樣,如果您將任何屬性的特殊值 0,則已保存的選項將被禁用。

通常,您只需要使用文字屬性來設置推文的文字,然後讓短碼完成其餘操作。

一些例子

[revec2t]:最簡單的示例。因為您沒有設置文字,所以將顯示當前頁面 URL。

[revec2t text=”推文的文字”]:推薦使用。顯示帶有文字、當前 URL 和已保存選項的盒子。

[revec2t text=”推文的文字” url=”http://…”]:使用自定義 URL。請注意,URL 必須有效。

[revec2t text=”推文的文字” label=”點擊此處”]:更改默認的呼叫到操作標籤。

[revec2t text=”推文的文字” hashtags=”hashtags1,hashtags2″]:設置推文的 hashtags,或更改已設置的默認 hashtags 參數。

[revec2t text=”推文的文字” via=”twitter_user”]:設置或更改默認的 via 參數。

[revec2t text=”推文的文字” via=”0″ hashtags=”0″]:禁用在選項中設置的默認 via 和 hashtags 參數。

關於 Twitter API

請注意,Twitter API 將接收和驗證提交的所有參數。因此,在發布每個短碼時測試是最佳實踐,特別是當文字或 URL 太長時。

當前的推文最大長度為 280 個字符,包括文字、URL、via 參數、hashtags 和空格。

需要幫助嗎?

需要幫助請使用 WordPress 支援。
您還可以撰寫評論。

貢獻開發

您可以按照以下方式進行貢獻:

如果您喜歡此外掛,請在此處給我們五星評分。

如果您使此外掛更加有利可圖,請在此處向我們進行任何 Paypal 捐贈。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Add totally custom, responsive and fast Click to tweet boxes to your WordPress site.
Reve Click2Tweet is totally free, superfast and very light-weight (only 58Kb!).
How to use
Simply insert the shortcode [revec2t] in any post, page or HTML/text widget. To add it you can use the Reve Click2Tweet classic editor button, if option is enabled (by default).
The shortcode will be replaced by the linkable box that allows your visitors to share any content on Twitter.
You can use the following attributes into the shortcode: text, url, hashtags, via, label, icon and short.
All attributes are optional. If you don’t set the text, the shortcode will display the URL to share. Also, you can set manually the URL, or the shortcode will generate the current page URL.
The attributes hashtags, via, label, icon and short allows you to custom each shortcode. If set, they will overwrite the saved options. Also, if you use the special value 0 to any attribute, the saved option will be deactivated.
Usually you only need to use the text attribute to set the text of the tweet, and allow the shortcode to do the rest.
Some examples

[revec2t] : The simplest example. As you don’t set the text, the current page URL will be shown in its place.

[revec2t text=”Text of the tweet”] : The recommended use. Displays the box with the text, the current URL and the saved options.

[revec2t text=”Text of the tweet” url=”http://…”] : To use a custom URL. Note that URLs must be valid.

[revec2t text=”Text of the tweet” label=”Click here”] : Changes the default call to action label.

[revec2t text=”Text of the tweet” hashtags=”hashtag1,hashtag2″] : Sets the hashtags of the tweet, or changes the default hashtags parameter, if set.

[revec2t text=”Text of the tweet” via=”twitter_user”] : Sets or changes the default via parameter.

[revec2t text=”Text of the tweet” via=”0″ hashtags=”0″] : Disables the default via and hashtags parameters, if set in options.

About the Twitter API
Note that the Twitter API will receive and validate all the submitted params. So, is a best practice to test each shortcode when it is published, especially if the text or the URL are too long.
Currently the maximum length of a tweet is 280 characters, including the text, the URL, the via parameter, the hashtags and the blanks.
Need help?

For help use the WordPress Support.
Also you can write a review.

Contribute development
You can contribute as follow:

If you like this plugin, give us a five stars rating clicking here.

If you make this plugin profitable, give us any Paypal donation clicking here.

延伸相關外掛

文章
Filter
Mastodon