该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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 ]

  1. 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
  2. It caches retrieved tweets on the server to minimize API usage.
  3. Optionally, it adds the necessary javascript from Twitter in document <head>.
  4. Allows you to control the width of the embedded tweet.
  5. Fixes a clear:both; issue in Twitter’s CSS.
  6. Tweet functionality (e.g., retweet and follow buttons) can be displayed in multiple languages.

屏幕截图

  • The shortcode in action
  • Admin Panel

安装

  1. Upload the modern-media-tweet-shortcode directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Tweak your settings in Options > Embedded Tweets

评价

此插件暂无评价。

贡献者及开发者

「Modern Media Tweet Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1

  • Fixed faulty directory layout which put the plugin in a subdirectory, breaking the plugin installation when installed from the Plugins > Add Plugin panel

1.0

  • Initial release.