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

Twitter Embed

描述

Twitter Embed requires no configuration, it works out of the box right after activation. Copy a link to a tweet on Twitter.com and paste it on a line by itself in your post or page editor. When viewing the post, you’ll see that the link has been replaced with the embedded tweet with options to reply, retweet, favorite and follow.

The plugin uses Twitter’s original widgets API, the shortcode and embed HTML are available too. Embed HTML is reversed to a Tweet shortcode when HTML is filtered (for authors or contributors). The tweets themselves are cached in post meta for better performance.

屏幕截图

  • This is how your embedded tweets will appear on your blog or site.
  • This is how you embed your tweets in the editor — just a link on it’s own line or a shortcode.

安装

  1. Download the plugin zip archive.
  2. Extract it in your wp-content/plugins folder or upload via admin panel.
  3. Browse to your plugins section and active the plugin.
  4. Use it in your posts and pages by linking to tweets on a line by itself.

常见问题

Where do I get the link to a tweet?

Good question. It really depends on the Twitter application/client that you’re using. If you’re using twitter.com then take a close look at the tweets and you’ll see that the date of when the tweet has posted (1 hour ago, etc) is a link. That link is the one you’re looking for. If you’re using the Twitter for Mac application, you can right click any of the tweets and select View on Twitter.com which will take you to that particular tweet in your browser.

评价

此插件暂无评价。

贡献者及开发者

「Twitter Embed」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Twitter Embed」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.1

  • Slashes fix

1.1

  • Compatibility with 3.5 and 3.4
  • Reversal will transform HTML into a URL, not a shortcode
  • Shortcode uses WP_Embed class for caching

1.0.1

  • Protected meta security fix (which enabled authors to post unfiltered HTML, but not anymore!)
  • Commenting code

1.0

  • First release