Embedding content, Social Tools

Twitter »Twitter Embeds

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, in your blog’s post editor, paste the URL on a line by itself (no HTML necessary).

tweet URL in post editor

That’s it! You’ll see a preview of the tweet in the Visual Editor. Troubleshooting tips: be sure to paste the URL on a line by itself, and don’t hyperlink it. Also, switch over to your HTML Editor (click the HTML tab) to check for extraneous text or code around the tweet URL, which might cause embedding issues, too.

↑ 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']

Still confused?

Contact support.

Not quite what you're looking for?

Get Help