[WordPress] 外掛分享: Rotating Tweets (Twitter widget and shortcode)

首頁外掛目錄 › Rotating Tweets (Twitter widget and shortcode)
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
9,000+
安裝啟用
★★★★
4.8/5 分(64 則評價)
724 天前
最後更新
問題解決
WordPress 3.2+ PHP 5.2.4+ v1.9.10 上架:2012-05-28

內容簡介

取代 捷徑,例如 [rotatingtweets screen_name='your_twitter'],或小工具,並旋轉顯示您最新的推文。
支援新的更長推文格式
支援280字符
節省空間 –  不會同時顯示所有推文,而是一次只顯示一條,然後平滑地更換為下一條。顯示完所有推文後,循環回到開始。
可靠 – 即使 Twitter 網站失效,也會持續顯示您的最新推文。
可自定義 – 你可以決定要顯示誰的推文,要顯示幾條,是否包括轉推和回覆以及是否顯示「關注」按鈕。您也可以決定推文的轉換速度和要使用的動畫類型。
響應式 – 隨著頁面大小調整大小。
符合 GDPR – 使用預設設置,不會收集任何用戶數據,也不會與任何人共享使用者數據(包括 IP 地址)。
提供一個自定義的 Twitter 「關注」按鈕。注意,由於 Twitter 按鈕的代碼工作方式,對於已設置「拒絕追蹤」的站點訪問者,該按鈕將顯示為常規文字鏈接。
將t.co鏈接替換為原始鏈接
緩存最近的 Twitter 數據,以避免速率限制問題
使用jQuery、jQuery.Cycle和jQuery.Cycle2來生成漂亮的平滑效果。
與W3 Total Cache兼容。
多語言 – 現在設置為多語言。Twitter 「關注」按鈕會自動翻譯成與您站點的語言設置匹配,如果 Twitter 已提供適當的語言。還通過WordPress的多語言能力,通過語言包實現對插件使用的所有其他文本的翻譯。

如果您想查看插件的實際效果,您可以在此處查看插件的工作方式。

榮譽證書

大部分是我自己的工作,但還要特別感謝:

jQuery團隊
Mike Alsup提供了jQuery.Cycle和jQuery.Cycle2
Syd Lawrence介紹了我使用 jQuery 和 jQuery.Cycle
Abraham Williams提供了TwitterOauth,使我能夠通過 Twitter API 檢索推文。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Rotating Tweets (Twitter widget and shortcode)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Replaces a shortcode such as [rotatingtweets screen_name='your_twitter'], or a widget, with a rotating display of your most recent tweets
Supports the new longer tweet format
Supports 280 characters
Space efficient – instead of showing all your tweets at once, shows one at a time and then smoothly replaces it with the next one. After showing all your tweets, loops back to the beginning again.
Reliable – keeps showing your latest Tweets even if the Twitter website is down.
Customizable – you decide whose tweets to show, how many to show, whether to include retweets and replies, and whether to show a follow button. You can also decide how quickly the tweets rotate and what type of animation to use.
Responsive – resizes as your page resizes
GDPR-friendly – with default settings, collects no user data and shares no user data (including IP addresses) with anyone else. Supports ‘Do Not Track’ (DNT).
Gives you the option to show a fully customizable Twitter ‘follow’ button. For note, because of the way Twitter’s code for the Twitter button works, the button will display as a regular text link to site visitors who have set ‘Do Not Track’.
Replaces t.co links with the original link
Caches the most recent data from Twitter to avoid problems with rate limiting
Uses jQuery, jQuery.Cycle and jQuery.Cycle2 to produce a nice smooth result.
Compatible with W3 Total Cache.
Multi-lingual – now set up to be multi-lingual. The Twitter ‘follow’ button is automatically translated to match your site’s language setting if Twitter has made the appropriate language available. Also uses WordPress’s multi-lingual capability to enable translation of all the other text used by the plug-in via language packs.

If you’d like to see what the plug-in looks like in action, you can see the plug-in working here.
Credits
Most of this is my own work, but special thanks are owed to:

The jQuery team
Mike Alsup for jQuery.Cycle and jQuery.Cycle2
Syd Lawrence for introducing me to jQuery and jQuery.Cycle
Abraham Williams for TwitterOAuth
Liam Gaddy at Storm Consultancy for his work on oAuth Twitter Feed for Developers (although I ended up using it for inspiration rather than plugging it in directly).
All the people who have given advice and suggested improvements

Thank you to the people who did the original translation work for the following packs:

Wilmerson Felipe for his work on Brazilian Portuguese
Nils Kroneberg for his work on German
Alberto Lario for his work on Spanish
Mattia Migliorini at deshack for his work on Italian
Natasja Weijer for her work on Dutch
Alexandre Trudel for his help on French
Borisa Djuraskovic at Web Hosting Hub for his help on Serbian

延伸相關外掛

文章
Filter
Apply Filters
Mastodon