內容簡介
此外掛新增一個「tweet」短碼以嵌入推特貼文,使用推特的短碼格式,例如:
「[tweet https://twitter.com/OnionSports/status/145262716104351747]」
此外掛使用推特的statuses/oembed API端點來檢索在短碼參數中URL末端標示的ID的嵌入式推文。
此外掛在伺服器上快取已檢索到的推文,以最小化API使用。
可選擇地,此外掛會將推特所需的JavaScript添加到文件的<head>中。
可以控制嵌入貼文的寬度。
解決了推特CSS中的clear:both;問題。
推文功能(例如轉推和關注按鈕)可以顯示多種語言。
外掛標籤
開發者團隊
② 後台搜尋「Modern Media Tweet Shortcode」→ 直接安裝(推薦)
原文外掛簡介
This plugin adds a ‘tweet’ shortcode to embed tweets using Twitter’s shortcode format,
for example:
[tweet https://twitter.com/OnionSports/status/145262716104351747 ]
The plugin uses Twitter’s statuses/oembed API endpoint to retrieve embedded tweets identified by the id at the end of the url in the shortcode parameter
It caches retrieved tweets on the server to minimize API usage.
Optionally, it adds the necessary javascript from Twitter in document
Allows you to control the width of the embedded tweet.
Fixes a clear:both; issue in Twitter’s CSS.
Tweet functionality (e.g., retweet and follow buttons) can be displayed in multiple languages.
