Skip to main content
All CollectionsSocial Media Integration
How to add a Twitter/X.com feed to your website
How to add a Twitter/X.com feed to your website
Updated over 10 months ago

This will simply display your Twitter/X.com feed of tweets onto any page, post or widget within your site.

Step 1: Draft snippet code

  • Use the example code below and make adjustments by replacing [YOUR USERNAME] with your account information.

  • Copy the code

<!-- wp:embed {"url":"https://twitter.com/[YOUR USERNAME]", "type":"rich","providerNameSlug":"twitter","responsive":true} --> <figure class="wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter"> <div class="wp-block-embed__wrapper"> https://twitter.com/[YOUR USERNAME] </div> </figure> <!-- /wp:embed -->

Step 2: Paste the code

  • Pasting the code into the TEXT tab of the editor within a page, post, or widget will display your feed once you hit save.

Did this answer your question?