Skip to content
Jetpack

Individual products

Security
VaultPress Backup Scan Akismet Anti-spam
Performance
Site Search Boost VideoPress
Growth
Stats Social Newsletter SEO Blaze CRM
Management
Manage Mobile App

Product Bundles

Pro Security, performance, and growth tools for your WordPress site. Complete The full Jetpack suite with higher service limits.
Pricing
Overview What Jetpack AI does for your site Skills WordPress superpowers for your agent Docs Connect and set up your AI agent Getting started Connect ChatGPT, Claude or a coding agent Compare Jetpack vs other WordPress MCP connectors

Connect your agent. It’s free.

Connect ChatGPT or Claude and let it run your site, with no paid plan needed.

Get it for ChatGPT (opens in a new tab) Or use Claude (opens in a new tab)
Support Guides and help from our team Docs How-to guides for every Jetpack feature Feature Requests Request features and vote on ideas Blog News, product updates, and how-tos
About
Sign in Get Started
Security
VaultPress Backup Scan Akismet Anti-spam
Performance
Site Search Boost VideoPress
Growth
Stats Social Newsletter SEO Blaze CRM
Management
Manage Mobile App

Product Bundles

Pro Complete
Pricing
Overview What Jetpack AI does for your site Skills WordPress superpowers for your agent Docs Connect and set up your AI agent Getting started Connect ChatGPT, Claude or a coding agent Compare Jetpack vs other WordPress MCP connectors

Connect your agent. It’s free.

Connect ChatGPT or Claude and let it run your site, with no paid plan needed.

Get it for ChatGPT (opens in a new tab) Or use Claude (opens in a new tab)
Support Guides and help from our team Docs How-to guides for every Jetpack feature Feature Requests Request features and vote on ideas Blog News, product updates, and how-tos
About Search
Sign in Get Started

Blog / Jetpack 101

How to Embed a Tweet or X Feed in WordPress (Block Editor, Classic, & Plugins)

Jen Swisher's avatar

Jen Swisher February 24, 2026 · 5 min read


On this page

  1. TL;DR
  2. Embed a single Tweet using the block editor or by pasting the URL
  3. Embedding Tweets in the Classic Editor
  4. Embedding a Twitter/X feed or timeline
  5. Using plugins to embed Tweets and feeds
  6. Troubleshooting common Twitter/X embed issues
  7. Make sharing easier with Jetpack Social

5 min read

Sharing a single Tweet or a full X (formerly Twitter) feed on your WordPress site is a great way to add social proof, real-time updates, and fresh content to your posts or pages. Whether you want to highlight a specific post or display a live feed from your profile, WordPress gives you several simple ways to make it happen.

This guide walks through how to embed Tweets and X feeds using WordPress blocks, custom code, plugins, and widgets. You’ll also find tips for fixing common display issues and making sure your embedded content looks great across devices.

TL;DR

  1. Choose whether the page needs a single post, a profile timeline, or another feed type before selecting an embed method.
  2. For a single post, paste the public X URL into the editor or use the X or Twitter embed block if available.
  3. For a feed, generate timeline embed code through X Publish and paste it into a Custom HTML block.
  4. Use the Classic Editor Text tab for embed code instead of the visual tab.
  5. Adjust width, height, theme, and language settings when the generated embed supports those options.
  6. Use a plugin only when you need moderation, styling, caching, or multiple feed displays.
  7. Test the embed with logged-out browsing, because private, deleted, or age-restricted content can fail.
  8. Check performance and layout on mobile, especially when several social embeds appear on one page.

Embed a single Tweet using the block editor or by pasting the URL

WordPress supports direct Tweet embedding through its native oEmbed feature, so you can add posts from X with just a URL

It’s quick, requires no extra plugins, and works with any public Tweet. Plus, embeds are responsive by default, making them a solid choice for mobile-friendly pages.

Embedding a single Tweet in the block editor:

  1. Go to X.com and open the Tweet you want to embed.
  2. Copy the Tweet’s URL from your browser.
  3. In the WordPress editor, select the plus (+) icon to add a block.
  4. Choose the Twitter block.
  5. Paste the Tweet URL into the field.
  6. Click Embed.

Once you do, the Tweet will appear in your editor, including images, hashtags, and links.

If you prefer an even faster option, you can paste the Tweet URL directly into the editor without adding a block first. WordPress will automatically convert it into an embed. This shortcut works in both the block editor and the Classic Editor, making it ideal for quick updates or lists of Tweets.

adding a single tweet in the block editor

Embedding Tweets in the Classic Editor

If you’re using the Classic Editor plugin, you can still embed Tweets on your site, but there are a few extra steps compared to the block editor.

Embedding a single Tweet in the classic editor:

  1. Go to X.com and open the Tweet you want to embed.
  2. Click the More menu (the three dots in the upper-right corner of the Tweet).
  3. Select Embed Post.
  4. This will open the Twitter Publish tool with your embed options.
  5. Copy the generated embed code.
  6. In WordPress, switch the Classic Editor to Text (the code view).
  7. Paste the embed code where you want the Tweet to appear.
  8. Update or preview your post to confirm everything looks right.

WordPress will display the Tweet as a fully interactive embed on the front end of your site.

Embedding a Twitter/X feed or timeline

Embedding a single Tweet is great for articles, but sometimes you need to showcase an entire feed like a profile timeline or brand updates. To do that, you’ll use X’s timeline embed tool.

Embedding an X feed in WordPress:

  1. Visit the Twitter Publish tool.
  2. Enter the URL of the profile you want to display (for example: twitter.com/yourusername).
  3. Select Embedded Timeline as your format.
  4. Copy the embed code that’s generated.
  5. In WordPress, add a Custom HTML block where you want the feed to appear.
  6. Paste the embed code into the block.
  7. Use Preview to check the layout.
  8. Save or publish your post or page.

You can also paste the same embed code into a Custom HTML widget if you want your timeline to appear in a sidebar or footer.

Customizing your X embeds

When using the Twitter Publish tool, you can adjust several display settings before generating your embed code. Options include the height and width of the feed, a light or dark theme, link color, language, and the number of Tweets shown. For even more control, you can manually tweak the attributes in the iframe or apply custom CSS through your theme customizer.

Using plugins to embed Tweets and feeds

Embedding a Tweet or feed directly in WordPress is already quick and straightforward, but if you want more control over styling, layout, or extra features, a plugin like Smash Balloon Twitter Feed can be a great addition.

Plugins such as Feed Them Social or Smash Balloon Twitter Feed let you display dynamic feeds that update automatically, customize the appearance of your timelines, and even make it easier to share new content from your site to your social channels.

Troubleshooting common Twitter/X embed issues

Even with the simplest embedding methods, sometimes Tweets or feeds don’t render quite right. A few quick checks usually solve most problems.

  • A Tweet isn’t displaying: Make sure it’s from a public account, double-check that the URL isn’t broken or shortened, and try pasting the URL on a new line in a Paragraph block.
  • Your feed doesn’t load: Your theme might be blocking scripts, so try switching to a default theme for testing. Clearing your browser cache or using a different browser can also help. If you’re using a plugin, check for conflicts or JavaScript errors.
  • The layout breaks on mobile: Use responsive embed containers or blocks, and avoid fixed-width sidebars or narrow columns that can restrict display.

Once everything is working, your Tweets and X feeds should display smoothly across your site, keeping your content engaging and up to date.

Make sharing easier with Jetpack Social

Embedding Tweets or feeds on your site helps visitors see your social content without leaving the page. But just as important is sharing your posts across your own social channels — and that’s where Jetpack Social can save you time and effort.

Jetpack Social homepage with the text "Publish Once. Share everywhere."

With Jetpack Social, you can publish once in WordPress and instantly share to multiple networks, edit captions for each platform (including Facebook, LinkedIn, and Tumblr), schedule posts to go live at a future time, and even track performance to see how your content is doing across channels.

If you’re already embedding Tweets on your site, Jetpack Social helps close the loop by pushing your content back out to followers on other platforms, keeping your audience engaged without adding extra work. You can get started right from your WordPress dashboard. It’s quick to set up and easy to use, so you can focus on creating great content instead of juggling multiple accounts.

Like Loading…
Jen Swisher's avatar

Written by

Jen Swisher

Jen is a Customer Experience Specialist for Jetpack. She has been working with WordPress and Jetpack for over a decade. Before starting at Automattic, Jen helped small businesses, local non-profits, and Fortune 50 companies create engaging web experiences for their customers. She is passionate about teaching others how to create on the web without fear.

Publish once.
Share everywhere.

Automatically share your website content to your favorite social media platforms, from one place.

Get Jetpack Social for free

Questions about this post? Ask in the support forum

Share


Keep reading.

More from Jetpack 101, newest first.

See all posts

Jetpack 101 Mar 31, 2026

WordPress Image SEO: 12 Techniques to Rank Higher & Load Faster

Are images helping or hurting your rankings? What can you do about it? 12 realistic ways to optimize your image strategy for more high-quality traffic.

Jen Swisher's avatar Jen Swisher 14 min read

Jetpack 101 Mar 26, 2026

WordPress Site Redirecting to Spam? Here’s How to Fix a Hacked Site

Uncover hidden malware, remove malicious code, and stop spam redirects fast — before they damage your reputation. Secure your WordPress site.

Jen Swisher's avatar Jen Swisher 12 min read

Jetpack 101 Mar 24, 2026

WordPress Form with File Upload: How to Create One in 3 Steps

How to create a secure file upload form in WordPress — fast. Add drag-and-drop uploads in just 3 simple steps. Plus, the top tool to keep…

Jen Swisher's avatar Jen Swisher 5 min read

Run your WordPress site the AI-first way.

Free to start, and AI agents are free to connect. Money back within 14 days on yearly plans.

Get Started Get Jetpack free

WordPress Plugins

  • Akismet Anti-spam↗ (opens in a new tab)
  • Jetpack↗ (opens in a new tab)
  • Jetpack Boost↗ (opens in a new tab)
  • Jetpack CRM↗ (opens in a new tab)
  • Jetpack Protect↗ (opens in a new tab)
  • Jetpack Search↗ (opens in a new tab)
  • Jetpack Social↗ (opens in a new tab)
  • Jetpack VideoPress↗ (opens in a new tab)
  • VaultPress Backup↗ (opens in a new tab)
  • WP Super Cache↗ (opens in a new tab)
  • Download

AI

  • Jetpack AI
  • Skills
  • WordPress MCP

Partners

  • Partner Program
  • Recommended Hosts
  • For Hosts
  • For Agencies
  • For Affiliates

Developers

  • Documentation↗ (opens in a new tab)
  • Beta Program
  • Jetpack on GitHub↗ (opens in a new tab)

Help

  • Knowledge Base
  • Forums↗ (opens in a new tab)
  • Reviews and Testimonials
  • Contact Us
  • About Jetpack
  • Press
Select language English
  • English
  • Deutsch
  • Español
  • Français
  • 日本語

© 2026 Automattic Inc. All rights reserved.

  • Terms of Service↗ (opens in a new tab)
  • Privacy Policy↗ (opens in a new tab)
  • GDPR

Made with care by

Download on the App Store Get it on Google Play
Loading Comments...
  • Reblog
  • Subscribe Subscribed
    Jetpack
    Join 53,354 other subscribers

    Have a WordPress.com account? Log in now.

  • Jetpack
    Copy shortlinkView post in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar
%d