Twitter Tips & Strategies

How to Embed a Twitter Post in WordPress

By Spencer Lanoue
October 31, 2025

Embedding a Tweet - now known as a post on X - into a WordPress article is one of the fastest ways to add a dash of credibility, engagement, and visual interest to your content. This guide will walk you through several easy methods for embedding Twitter posts, from a simple copy-paste to more customized options, helping you bridge the gap between your website and your social media presence.

Why Embed Twitter Posts in Your WordPress Content?

Before getting into the how-to, it's worth understanding why this is such a useful tactic. Dropping a tweet into your blog post isn't just for looks, it serves several strategic purposes that benefit both your readers and your brand.

Boost Credibility and Social Proof

Nothing builds trust like unbiased validation from real people. Say you're writing an article about a new product you launched. Embedding tweets from happy customers raving about it feels far more genuine than simply quoting them. When readers see that feedback directly from the source, it acts as powerful social proof. You can also embed posts from industry leaders agreeing with a point you're making, instantly lending your arguments more weight and authority.

Increase Reader Engagement

An embedded tweet isn't just a static image, it's a living piece of content. Readers can interact with it directly from your WordPress post. They can like it, reply, and follow the account without ever leaving your website. This creates a more dynamic experience and can spark discussions that spill over from your blog comments to a social platform, increasing the overall reach of your content.

Keep Your Content Fresh and Current

News and conversations move at the speed of social media. If you're writing about a developing story, a live event, or a trending topic, embedding tweets allows you to include real-time reactions and updates. This makes your content feel more current and relevant than a purely static article. It shows your readers that you're connected to the conversation as it happens.

Improve Readability and Visual Appeal

Let's be honest: immense walls of text are intimidating. Good formatting is essential for keeping readers on the page, and embedded tweets are a fantastic way to visually break up your content. The distinct block formatting, profile picture, and familiar Twitter UI create a natural resting point for the reader's eyes, making long articles feel more scannable and digestible.

Drive Traffic to Your Twitter Profile

Embedding your own tweets can be a smart, subtle way to grow your following. If a reader finds a compelling thought or useful tip in your embedded tweet, they're just one click away from viewing your profile and hitting the "Follow" button. It's an organic method of cross-promotion that connects your website audience with your social media presence.

The Easiest Way: Using WordPress's Built-in oEmbed Feature

Thanks to great integration between platforms, adding a tweet to your WordPress site is often as simple as copying and pasting a link. This magic is powered by a feature called "oEmbed," a standard that lets WordPress automatically pull in and format content from sites like YouTube, Vimeo, and, of course, Twitter/X.

For most users, especially those using the standard Gutenberg Block Editor, this will be your go-to method.

Step-by-Step Guide for the oEmbed Method

  1. Find the Tweet You Want to Embed Open X (Twitter) in your web browser and navigate to the specific post you want to feature in your article. It can be your own post or one from another user.
  2. Copy the Tweet's URL You have two simple options to grab the link:
    • From the address bar: Click on the timestamp of the tweet (e.g., "7:15 PM · Nov 21, 2024"). This will open the tweet on its own dedicated page. Copy the full URL from your browser's address bar.
    • Using the Share button: Click the "Share" icon (the one with an arrow pointing up) at the bottom of the tweet and select "Copy link." This will save the direct URL to your clipboard.
    Both methods give you the same link, so use whichever is more comfortable for you.
  3. Paste the URL into the WordPress Editor Navigate back to your WordPress post or page editor. Find the spot where you want the tweet to appear. Click the '+' button to add a new block and choose the "Paragraph" block. Then, simply paste the copied URL directly into the block on its own line.
  4. Watch WordPress Work Its Magic As soon as you paste the link, WordPress's oEmbed feature will communicate with X, fetch the post, and automatically convert the plain URL into a fully formatted, interactive tweet. It should appear just as it does on Twitter, complete with text, media, and action buttons.

Troubleshooting Common oEmbed Issues

If you paste the URL and it remains a plain link, it's usually due to one of these minor issues:

  • The URL isn't on its own line: The oEmbed feature only triggers when the URL is the only thing in that paragraph block. If there's any text before or after it, it will just be treated as a regular link.
  • You hyperlinked the text: Double-check that you haven't accidentally turned the link into hyperlinked text (where you select text and add a link to it). It needs to be the raw URL pasted directly.
  • A plugin conflict: In very rare cases, a plugin (often a security or optimization plugin) might interfere with WordPress's ability to fetch external content. If you suspect this, try disabling your most recently installed plugins to see if it resolves the issue.

The Official Method: Using the Twitter Embed Code

If the copy-paste method isn't working, or if you want access to a few customization options, using the official embed code provided by X is a bulletproof alternative. This method gives you a snippet of HTML that you can paste directly into your site.

Step-by-Step Guide for Using the Embed Code

  1. Navigate to the Tweet Find the post you want to embed on the X/Twitter website.
  2. Open the "More" Menu Click on the three-dots icon (...) located in the top-right corner of the tweet.
  3. Select "Embed Post" From the dropdown menu, choose the "Embed Post" option. This will open a new browser tab and take you to Twitter's embed generation tool (publish.twitter.com).
  4. Copy the HTML Code On this new page, you'll see a preview of how the tweet will look and a box containing the embed code. Click the blue "Copy Code" button to copy the entire HTML snippet to your clipboard.
  5. Add a Custom HTML Block in WordPress Go back to your WordPress post editor. Click the '+' icon to add a new block, then search for "Custom HTML" and select that block.
  6. Paste the Embed Code In the Custom HTML block editor, paste the code you just copied from Twitter. When you click "Preview" in the block's toolbar, you'll see the fully rendered tweet appear.

This method circumvents WordPress's oEmbed system entirely and works across almost all website builders, not just WordPress.

Customizing Your Embedded Posts for a Cohesive Look

Using the official embed code method (from the previous section) unlocks a few handy customization options that can help the embedded tweet better match your site's aesthetic. After you click "Embed Post" and land on the publish.twitter.com page, look for the "Set customization options" link above the code.

Here's what you can change:

  • Dark or Light Theme: If your website has a dark background, you can switch the embedded tweet to a "dark" theme. This makes it feel much more integrated and less like a jarring white box on a dark page.
  • Hide Conversation Thread: By default, if the embedded post is a reply to another tweet, the original tweet will show above it. By checking "Hide conversation," you can display only the specific tweet you want to feature, which is great for a cleaner, more focused embed.
  • Hide Media: If you only want to quote the text of a tweet and not display the accompanying image or video, check the "Hide media" box. This is useful for placing textual callouts without large visual interruptions.

After adjusting these settings, click the "Update" button. The embed code in the box will refresh with your changes. Simply copy the new code and paste it into a Custom HTML block in WordPress.

Best Practices for Embedding Tweets Effectively

Now that you know how to embed a post, here are a few tips to make sure you're doing it in a way that truly enhances your content.

  • Always Provide Context: Don't just drop an embedded tweet into your article without explanation. Introduce it. A simple line like, "The reaction on X was swift," or "As brand strategist Jane Smith noted..." helps the reader understand why the tweet matters and why you included it.
  • Choose Posts That Add Value: Resist the urge to only embed your own content. Feature tweets from customers, other experts, or even humorous commentary that supports your point. An embedded tweet should serve a purpose - providing evidence, offering a counterpoint, or showcasing social proof.
  • Don't Overdo It: While a few embedded tweets can make an article more dynamic, too many can slow down your page load speed. Each embed is a separate request to Twitter's servers. Use them strategically, not liberally on every post. One to three impactful embeds are usually far better than ten.
  • Verify on Mobile: WordPress's default embeds are responsive and typically look great on mobile devices, but it never hurts to check. Preview your post on various screen sizes to confirm that the embedded tweets don't break your site's layout or require excessive scrolling.

Final Thoughts

Embedding a Twitter post in WordPress is a simple yet high-impact way to make your content more credible, dynamic, and engaging for your audience. Whether you rely on the quick copy-paste convenience of oEmbed or the added control of the official embed code, you now have the tools to seamlessly integrate live social media conversations directly into your website content.

A great website is often supported by an equally great social media presence, and keeping that consistent can feel like a full-time job. As our team scaled brands online, we realized how much time was lost to managing multiple platforms. That's why we built Postbase, a social media tool focused on helping you plan and schedule your content across all platforms from one visual calendar. You can plan campaigns weeks in advance, get a clear view of your strategy, and ensure you're always creating great content that's worth sharing - both on social media and on your WordPress site.

Spencer's spent a decade building products at companies like Buffer, UserTesting, and Bump Health. He's spent years in the weeds of social media management—scheduling posts, analyzing performance, coordinating teams. At Postbase, he's building tools to automate the busywork so you can focus on creating great content.

Other posts you might like

How to Add Social Media Icons to an Email Signature

Enhance your email signature by adding social media icons. Discover step-by-step instructions to turn every email into a powerful marketing tool.

Read more

How to Add an Etsy Link to Pinterest

Learn how to add your Etsy link to Pinterest and drive traffic to your shop. Discover strategies to create converting pins and turn browsers into customers.

Read more

How to Grant Access to Facebook Business Manager

Grant access to your Facebook Business Manager securely. Follow our step-by-step guide to add users and assign permissions without sharing your password.

Read more

How to Record Audio for Instagram Reels

Record clear audio for Instagram Reels with this guide. Learn actionable steps to create professional-sounding audio, using just your phone or upgraded gear.

Read more

How to Add Translation in an Instagram Post

Add translations to Instagram posts and connect globally. Learn manual techniques and discover Instagram's automatic translation features in this guide.

Read more

How to Optimize Facebook for Business

Optimize your Facebook Business Page for growth and sales with strategic tweaks. Learn to engage your community, create captivating content, and refine strategies.

Read more

Stop wrestling with outdated social media tools

Wrestling with social media? It doesn’t have to be this hard. Plan your content, schedule posts, respond to comments, and analyze performance — all in one simple, easy-to-use tool.

Schedule your first post
The simplest way to manage your social media
Rating