Title: Twitter
Author: Twitter
Published: <strong>January 5, 2009</strong>
Last modified: July 24, 2019

---

Search plugins

![](https://ps.w.org/twitter/assets/banner-772x250.png?rev=1590182)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/twitter/assets/icon-256x256.png?rev=1590182)

# Twitter

 By [Twitter](https://profiles.wordpress.org/twitter/)

[Download](https://downloads.wordpress.org/plugin/twitter.zip)

 * [Details](https://pcd.wordpress.org/plugins/twitter/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/twitter/#reviews)
 * [Development](https://pcd.wordpress.org/plugins/twitter/#developers)

 [Support](https://wordpress.org/support/plugin/twitter/)

## Description

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.

 * [single Tweet](https://github.com/twitter/wordpress/wiki/Embedded-Tweet)
 * [profile timeline](https://github.com/twitter/wordpress/wiki/Embedded-Profile-Timeline)
 * [list timeline](https://github.com/twitter/wordpress/wiki/Embedded-List-Timeline)
 * [collection](https://github.com/twitter/wordpress/wiki/Embedded-Collection-Timeline)
 * [Moment](https://github.com/twitter/wordpress/wiki/Moments)

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](https://github.com/twitter/wordpress/wiki/Cards) . Easily
identify your site and author Twitter accounts through your site and user administrative
interfaces.

Add a [Tweet button](https://github.com/twitter/wordpress/wiki/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](https://github.com/twitter/wordpress/wiki/Follow-Button) to
convert your site visitors into Twitter subscribers.

Add a [Periscope On Air button](https://github.com/twitter/wordpress/wiki/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](https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html)
of Twitter advertising campaigns or [build tailored audiences](https://business.twitter.com/en/targeting/tailored-audiences.html)
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](https://github.com/twitter/wordpress).
> View [Twitter for WordPress documentation](https://github.com/twitter/wordpress/wiki)
> to learn more about customization through WordPress filters.

## Screenshots

 * [[
 * 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.
 * [[
 * Post editor meta box. Define custom Tweet text, hashtags, and Twitter Card data.
 * [[
 * Embed single Tweets, timelines, Twitter Moments, and Vines.
 * [[
 * 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](https://developer.mozilla.org/docs/Web/Security/CSP/Introducing_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](https://dev.twitter.com/web/overview/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](https://support.twitter.com/articles/20171365).

## Reviews

![](https://secure.gravatar.com/avatar/1b3647f43bd45d7f24f14d4db1098de8c38118cddcae3ee5e0d80fbc24ddda17?
s=60&d=retro&r=g)

### 󠀁[Analytics now available](https://wordpress.org/support/topic/analytics-now-available/)󠁿

 [whassan](https://profiles.wordpress.org/whassan/) July 18, 2020

Motivated by our love to twitter and its analytics we have launched a tool to complement
this plugin. https://wordpress.org/plugins/ki-twitter-analytics/

![](https://secure.gravatar.com/avatar/7361d1340007537f6c441e5be20c41911382de9b2d55ef47bd7e8daaa46ffec1?
s=60&d=retro&r=g)

### 󠀁[This needs to go the way of the Dodo](https://wordpress.org/support/topic/this-needs-to-go-the-way-of-the-dodo/)󠁿

 [Christian Saborio](https://profiles.wordpress.org/christian-saborio/) June 30,
2020

I agree with others. I checked the Wiki and I am still baffled on how to include
a simple timeline. You would think it’d be just as easy as embedding their code.
Uninstalling in 3, 2… Update: This is what you are looking for: Custom Twitter Feeds

![](https://secure.gravatar.com/avatar/ae79b5fda05f87f33c3be1c8862db3966138773718b60451f9ca6bad61aa6734?
s=60&d=retro&r=g)

### 󠀁[Don’t waste your time.](https://wordpress.org/support/topic/dont-waste-your-time-84/)󠁿

 [DevelopNovaNumis](https://profiles.wordpress.org/developnovanumis/) October 25,
2019

JUNK. It doesn’t work. Can’t save after adding as a widget. If I have to spend more
than 10 minutes setting up the basics for a Widget, it gets canned.

![](https://secure.gravatar.com/avatar/5ebf5e0cfb53caf6214a83cf9f7b2f11919794158d6d7695db41ed05989cc850?
s=60&d=retro&r=g)

### 󠀁[This work great for a sidebar widget.](https://wordpress.org/support/topic/this-work-great-for-a-sidebar-widget/)󠁿

 [12sp](https://profiles.wordpress.org/sp12/) October 7, 2019

I use this to add recent tweets (with images) in the sidebar. It works well.

![](https://secure.gravatar.com/avatar/2feb3a06ad000d7028ab90571c316109dfffae3d55ef3348b24084cc6e326044?
s=60&d=retro&r=g)

### 󠀁[not good plugin from twitter](https://wordpress.org/support/topic/not-good-plugin-from-twitter/)󠁿

 [zuola](https://profiles.wordpress.org/zuola/) May 29, 2021

there are two type of twitter card: summary_large_image and summary <meta name=”
twitter:card” content=”summary_large_image” /> if you need change to large image,
you need add below code to twitter.php manually, not in the admin panel: function
twitter_card_type( $card_type, $query_type, $object_id ) { return 'summary_large_image';}
add_filter('twitter_card_type', 'twitter_card_type', 10, 3); more information from:
https://github.com/twitter/wordpress/wiki/Cards I am going to vote 1 star, not good
plugin, really wast time.

![](https://secure.gravatar.com/avatar/2dfd2106a0d993674c34d3b9720193bfae832981da96ff4d324f5f19dfa16213?
s=60&d=retro&r=g)

### 󠀁[Doesn’t include twitter card image](https://wordpress.org/support/topic/doesnt-include-twitter-card-image/)󠁿

 [MJ](https://profiles.wordpress.org/prmyapps/) January 7, 2018 1 reply

This official plugin from twitter only allows you to add 3 meta tags to your WP 
post: twitter:site (your twitter username) twitter:title (title of WP post) twitter:
description (first 140-280 chars of the WP post) The plugin does not generate twitter:
image. So when the URL for your WP post is tweeted, I assume an image is not included
in the tweet. I did not actually test this on my production website, but I could
see there was no twitter:image element in the WP rendering of the localhost post.

 [ Read all 34 reviews ](https://wordpress.org/support/plugin/twitter/reviews/)

## Contributors & Developers

“Twitter” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Twitter ](https://profiles.wordpress.org/twitter/)
 *   [ Niall Kennedy ](https://profiles.wordpress.org/niallkennedy/)
 *   [ Evan Sobkowicz ](https://profiles.wordpress.org/sobkowicz/)

“Twitter” has been translated into 20 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/twitter/contributors)
for their contributions.

[Translate “Twitter” into your language.](https://translate.wordpress.org/projects/wp-plugins/twitter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/twitter/), check out
the [SVN repository](https://plugins.svn.wordpress.org/twitter/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/twitter/) by [RSS](https://plugins.trac.wordpress.org/log/twitter/?limit=100&mode=stop_on_copy&format=rss).

## 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](https://dev.twitter.com/web/embedded-timelines/user),
   [list timeline](https://dev.twitter.com/web/embedded-timelines/list), or [collection](https://dev.twitter.com/web/embedded-timelines/collection)
   by pasting a URL, customizing a shortcode, or a widget
 * Embed a [search timeline](https://dev.twitter.com/web/embedded-timelines/search)
   by shortcode or widget using a widget ID configured on Twitter.com
 * Upgrade Twitter advertising tracker to [universal website tag](https://blog.twitter.com/2016/website-conversion-tracking-and-remarketing-made-easier-and-more-flexible)
 * 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](https://dev.twitter.com/web/embedded-timelines/collection#template-grid)
   by pasting a Twitter collection URL
 * Add a [Periscope On Air button](https://www.periscope.tv/embed) 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](https://twittercommunity.com/t/deprecating-the-photo-gallery-and-product-cards/38961).
   Removed from plugin
 * Add [Shortcake plugin](https://wordpress.org/plugins/shortcode-ui/) 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

## Meta

 *  Version **2.0.5**
 *  Last updated **7 years ago**
 *  Active installations **10,000+**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **5.2.24**
 *  Languages
 * [Arabic](https://ar.wordpress.org/plugins/twitter/), [Dutch](https://nl.wordpress.org/plugins/twitter/),
   [English (Australia)](https://en-au.wordpress.org/plugins/twitter/), [English (Canada)](https://en-ca.wordpress.org/plugins/twitter/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/twitter/), [English (UK)](https://en-gb.wordpress.org/plugins/twitter/),
   [English (US)](https://wordpress.org/plugins/twitter/), [Finnish](https://fi.wordpress.org/plugins/twitter/),
   [German](https://de.wordpress.org/plugins/twitter/), [Greek](https://el.wordpress.org/plugins/twitter/),
   [Hebrew](https://he.wordpress.org/plugins/twitter/), [Italian](https://it.wordpress.org/plugins/twitter/),
   [Japanese](https://ja.wordpress.org/plugins/twitter/), [Korean](https://ko.wordpress.org/plugins/twitter/),
   [Malay](https://ms.wordpress.org/plugins/twitter/), [Polish](https://pl.wordpress.org/plugins/twitter/),
   [Russian](https://ru.wordpress.org/plugins/twitter/), [Spanish (Chile)](https://cl.wordpress.org/plugins/twitter/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/twitter/), [Spanish (Spain)](https://es.wordpress.org/plugins/twitter/),
   and [Thai](https://th.wordpress.org/plugins/twitter/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/twitter)
 * Tags
 * [embedded timeline](https://pcd.wordpress.org/plugins/tags/embedded-timeline/)
   [twitter](https://pcd.wordpress.org/plugins/tags/twitter/)[twitter list](https://pcd.wordpress.org/plugins/tags/twitter-list/)
   [twitter profile](https://pcd.wordpress.org/plugins/tags/twitter-profile/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/twitter/advanced/)

## Ratings

 2.5 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/twitter/reviews/?filter=5)
 *  [  3 4-star reviews     ](https://wordpress.org/support/plugin/twitter/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/twitter/reviews/?filter=3)
 *  [  4 2-star reviews     ](https://wordpress.org/support/plugin/twitter/reviews/?filter=2)
 *  [  16 1-star reviews     ](https://wordpress.org/support/plugin/twitter/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/twitter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/twitter/reviews/)

## Contributors

 *   [ Twitter ](https://profiles.wordpress.org/twitter/)
 *   [ Niall Kennedy ](https://profiles.wordpress.org/niallkennedy/)
 *   [ Evan Sobkowicz ](https://profiles.wordpress.org/sobkowicz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/twitter/)