Twitter

July 24, 2019

Twitter Plugin

Official Twitter and Periscope plugin for WordPress. Embed content and grow your audience. Requires PHP 5.6 or greater.

Embed Twitter content, improve sharing on Twitter, convert your web audience into Twitter or Periscope subscribers, and easily track visits to your website from Twitter advertising.

Requires PHP version 5.6 or greater.

Embed Twitter content

Embed Twitter content by pasting a URL, customizing a shortcode, or in a widget area.

Customize embed display to match your theme. Choose a light or dark background, customize link and border colors, and customize timeline template components through your site’s WordPress administrative interface.

The plugin automatically customizes an embed’s template text to match the locale of your site, optimally loads Twitter’s JavaScript to improve site speed and extensibility, and handles advanced use cases such as articles loaded asynchronously via the WordPress API.

Grow your Twitter audience

Automatically generate link previews for your site’s URLs shared on Twitter using Twitter Cards markup . Easily identify your site and author Twitter accounts through your site and user administrative interfaces.

Add a Tweet button to public posts to encourage your visitors to share your content on Twitter. Visitors may see recommended accounts to follow after sharing your content including your site and its authors.

Add a Follow button to convert your site visitors into Twitter subscribers.

Add a Periscope On Air button to convert your site visitors into Periscope subscribers.

Improve Twitter advertising campaigns

Easily add a Twitter website tag to your website to track the effectiveness and conversion rates of Twitter advertising campaigns or build tailored audiences to target your Twitter advertisements for your website audience.

Docs and active development
Contribute to the plugin, submit pull requests, or run test suites through the Twitter plugin for WordPress GitHub repository.
View Twitter for WordPress documentation to learn more about customization through WordPress filters.

Screenshots

  1. Settings screen. Customize Tweet and Timeline color schemes including background, text colors, and borders. Attribute site content to a Twitter account. Automatically include Tweet buttons alongside your post content.

    Settings screen. Customize Tweet and Timeline color schemes including background, text colors, and borders. Attribute site content to a Twitter account. Automatically include Tweet buttons alongside your post content.

  2. Post editor meta box. Define custom Tweet text, hashtags, and Twitter Card data.

    Post editor meta box. Define custom Tweet text, hashtags, and Twitter Card data.

  3. Embed single Tweets, timelines, Twitter Moments, and Vines.

    Embed single Tweets, timelines, Twitter Moments, and Vines.

  4. Embed a Twitter profile, list, collection, Moment, or search result in a theme widget area. Add a Twitter follow button or Periscope on Air button to a theme widget area to increase followers. Easily add advertising conversion tracking through a widget.

    Embed a Twitter profile, list, collection, Moment, or search result in a theme widget area. Add a Twitter follow button or Periscope on Air button to a theme widget area to increase followers. Easily add advertising conversion tracking through a widget.

FAQ

How can I change an embedded Tweet’s background and link colors to match my site’s theme?

The Twitter plugin for WordPress includes a settings page with options to set a light or dark theme and choose a link or border color used in embedded Tweets and timelines.

My custom link color and border color do not appear in embedded Tweets or timelines

Your site may have a Content Security Policy blocking Twitter’s JavaScript from inserting your custom styling into the widget.

You may have configured an embedded search timeline widget with a non-default link color. Your stored widget configuration overrides your page or theme’s configuration.

Does the Twitter plugin add additional tracking of my site’s visitors?

The Twitter plugin for WordPress makes it easier to explicitly include Twitter features and functionality on your WordPress site. No additional tracking is added as a result of our plugin code’s execution on your server(s).

Twitter widgets and buttons load Twitter’s widgets.js library through the WordPress JavaScript queue. Read more about how Twitter for Websites widgets respect user privacy.

Twitter advertising trackers are only included on the page when invoked by the site using the twitter_tracking shortcode or placing the Twitter advertising shortcode in a widget area. Read more about Twitter’s policies for conversion tracking and tailored audiences products.

Changelog

2.0.5

  • Add support for WordPress 5.2
  • Fix conversation option to properly set hide_thread oEmbed param

2.0.4

  • Add support for WordPress 5.1
  • Remove documentation on video widget, grid widget, and search timeline widget which have been deprecated.

2.0.3

  • Add support for WordPress 5.0

2.0.2

  • Support 280 characters
  • Add support for WordPress 4.8 and 4.9
  • Remove support for WordPress 4.6 and below

2.0.1

  • Enqueue Twitter widgets JavaScript and advertising JavaScript early in the page build process if a widget is active on the page
  • Tweet button: update expected length of a wrapped t.co URL with HTTP scheme
  • Support expanded post metadata descriptors in WordPress 4.6+. Includes REST API support for custom Tweet button and Twitter Cards values
  • Fix post metadata deletion for custom Tweet button and Twitter Card text

2.0.0

  • Embed a profile timeline, list timeline, or collection by pasting a URL, customizing a shortcode, or a widget
  • Embed a search timeline by shortcode or widget using a widget ID configured on Twitter.com
  • Upgrade Twitter advertising tracker to universal website tag
  • Twitter Cards include image alternative text when available
  • Follow button and Periscope On Air button use post author or site username if no username specified
  • Improved compatibility with WordPress.com / Jetpack formatting of tweet shortcode
  • Prefer wp_resource_hints API for DNS prefetch in WordPress 4.6+
  • Update single Tweet with video to remove status customization no longer supported by Twitter
  • Fix bug when a large featured image is highlighted in a Twitter Card
  • Describe site username option for WordPress REST API in WordPress 4.7
  • Bump minimum WordPress version to 4.1

1.5.0

  • Place Twitter administrative menu as a general menu item, not the deprecated utility menu. WordPress 4.5 compatibility feature
  • Use publish.twitter.com oEmbed API endpoint for single Tweet oEmbed

1.4.0

  • Remove Tweet button options for share count and align display, matching Twitter’s changes
  • Convert Twitter profile URLs into a Follow button
  • Enable language packs loaded from WordPress.org

1.3.0

  • Display multiple Tweets in a media-rich responsive grid template by pasting a Twitter collection URL
  • Add a Periscope On Air button through a widget, shortcode, or as an embed handler for a Periscope profile URL
  • Add a Vine through a URL or shortcode
  • Shortcode UI integration now uses the register_shortcode_ui action introduced in Shortcake 0.5.0

1.2.0

  • Embed a Twitter Moment by simply pasting a URL
  • Always load Twitter ads conversion tracking JavaScript over HTTPS

1.1.0

  • Shortcodes now include inline asynchronous JavaScript loaders for improved compatibility with ajax-loaded content
  • Twitter announced photo, gallery, and product Twitter Cards are no longer supported. Removed from plugin
  • Add Shortcake plugin compatibility for form-based shortcode construction and previews
  • Improved Twitter Card image compatibility

1.0.1

  • Display admin notice if plugin is installed on a site not meeting minimum PHP requirement
  • Disable Tweet button the_content wrapper when called during excerpt generation
  • Tweet button: add support for via shortcode attribute
  • Fix: save Follow button widget with no overrides

1.0.0

  • Embedded Tweet
  • Embedded Tweet with video template
  • Tweet button
  • Twitter Cards
  • Follow button
  • Advertising tracker for Twitter custom audiences and ad conversion

Details

  • Version: 2.0.5
  • Active installations: 10,000
  • WordPress Version: 4.7
  • Tested up to: 5.2.21

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars