To embed a tweet in WordPress using HTML in the Classic Editor, follow these steps:

  1. Locate the Tweet HTML Code:
    • Go to Twitter, find the tweet, and click on the “Share” icon.
    • Select “Embed Tweet” and copy the generated HTML code.
  2. Switch to Text Editor in WordPress:
    • In the Classic Editor, switch from the “Visual” tab to the “Text” tab.
  3. Paste the HTML Code:
    • Paste the copied HTML embed code directly into the post where you want the tweet to appear.
  4. Preview & Publish:
    • Switch back to “Visual” to preview the embed. Save, update, or publish the post if it appears as desired.

Example HTML Code for Embedding a Tweet

<blockquote class="twitter-tweet">
<p lang="en" dir="ltr">Here's an example tweet to embed.</p>&mdash; Twitter User (@TwitterUser) <a href="https://twitter.com/TwitterUser/status/123456789">October 25, 2024</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

This HTML allows Twitter to render the tweet as it appears on the platform, enhancing engagement and appearance.