Modern Media Tweet Shortcode Modern Media Tweet Shortcode

Modern Media Tweet Shortcode

Created by: Chris Carson

Rating:
Downloaded: 2k times

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.

Screenshots

  • The shortcode in action
  • Admin Panel

Categories

Get New Themes & Resources