Embedding content, Social Tools

Twitter »Twitter Embeds

Watch the video below for a quick overview of how it works, and read below for more examples and settings.

To embed a tweet, just paste a tweet URL on its own line.

Unlike the Twitter Timeline Widget, which displays a Twitter feed in your sidebar, a Twitter embed allows you to display an individual tweet in a blog post or post comment, complete with:

  • The tweet’s text
  • Action links allowing readers to reply to, retweet, and favorite tweets without leaving your site
  • Inline links, links to hashtag pages, linked usernames, and a follow button in the tweet
  • A border around the tweet showing part of the background image from the Twitter profile

Embedding with a URL

First, locate the tweet you want to post. Then click the timestamp.

tweet timestamp

You’ll be taken to the page for that individual tweet. Copy the URL in the address bar.

tweet URL in browser

Next, paste it on a line by itself in your Visual editor. Make sure that it is not hyperlinked.

That’s it! You’ll see a preview of the tweet in the Visual Editor.

↑ Table of Contents ↑

Embedding with a shortcode

If you want more control over the display and layout of the tweet you are embedding, you can use a special shortcode. Copy and paste one of the following shortcodes into a post, page, or text widget. Be sure to change the tweet URL or ID to the one that you want to embed.

Display a tweet:

[tweet https://twitter.com/wordpressdotcom/status/632582884654751744 ]

Display a tweet with a smaller width:

[tweet https://twitter.com/wordpressdotcom/status/632582884654751744 width='200']

Display the follow button and tweet actions in a different language:

[tweet https://twitter.com/wordpressdotcom/status/632582884654751744 lang='ko']

Hide or show context when a tweet is in reply to another tweet:

[tweet 552831565495955456]

[tweet 552831565495955456 hide_thread='true']

Hide or show the media item from the linked site:

[tweet 632582884654751744 hide_media='true']

Combine parameters:

[tweet 632582884654751744 hide_thread='true' width='250' lang='ko']

Align a tweet to the left, right, or center:

[tweet 632582884654751744 align='right']

↑ Table of Contents ↑

Troubleshooting

For information about troubleshooting Twitter embeds, take a look at our Troubleshooting Embed Links doc.

Still confused?

Contact support.

Not quite what you're looking for?

Get Help