The Twitter Block shows your latest tweets on your site, posts, pages, and sidebars.
Use the Twitter block to embed tweets into your posts and pages. You can also pull all the content from single tweets and Twitter threads, known as tweetstorms, directly into the draft of any page or post.
Note: You don’t need a Twitter account to be able to use it. You can only embed public tweets, though.
How to add the Twitter block
To add the Twitter block, click on the + Block Inserter icon and search for “Twitter.” Click it to add the block to the post or page.
You can also type /Twitter on a new line, and press enter to quickly add a new Twitter block.
For more, visit our detailed instructions on adding blocks.
To embed a tweet means that you can display an individual tweet on your site that includes:
- The tweet’s text, images, and links.
- Action buttons for Twitter users to retweet and favorite tweets without leaving your site.
- Links to hashtag pages, usernames, and a follow button.
The quickest way to embed a tweet is to paste the URL of the tweet on an empty line in the editor.
To find the URL, locate the tweet you want to post. Then click the timestamp to open a new page for that individual tweet. Copy the URL from the address bar and paste it onto your Twitter block.
You can also click the down arrow at the top right of the tweet on Twitter to find the Copy Link to Tweet option.
Twitter also has an ‘Embed Tweet’ option with a code. This method is not supported, so make sure to use the link instead.
Here’s how a single tweet looks when embedded:
You can use the Twitter block to embed a feed. You can paste the profile URL inside the box and click Embed:
Here is an example of an embedded Twitter feed:
You can also use the Twitter block to “unroll” content from a single tweet or Twitter thread, also known as a tweetstorm.
The text and media will be pulled into your page or posted in draft form.
When you “unroll” a single tweet or tweetstorm (Twitter thread), all of the content will be converted into appropriate blocks in the WordPress editor.
You can learn more about the Unroll extension for the Twitter Blocks here.