How to Add Twitter Cards for Your Website (Step by Step Guide)
tiktok-icon

Embed TikTok feeds on your website with our TikTok Plugin–for free!

Get Plugin angle-right
Home Blog How to Add Twitter Cards for Your Website (Step by Step Guide)

How to Add Twitter Cards for Your Website (Step by Step Guide)

add twitter cards for your website

Want to learn how to add Twitter cards for your website?

Using Twitter cards, you can engage your visitors with social media content and promote your own tweets as well.

And in this post, we’ll show you the simplest way to display Twitter cards on your website.

Before we get started, let’s look at the ways you can use Twitter cards to grow your brand.

Or you can click here and skip directly to the tutorial.

Why Use Twitter Cards for Your Website

If you want to reach a lot of new people for your brand, Twitter can be a fantastic place.

After all, based on our research on social media marketing statistics, Twitter has over 330 million users so it’s a massive social media platform with tons of potential customers.

But getting started with Twitter can be tough — especially if your brand doesn’t have a large social media following already.

A simple and effective way to do that is by adding Twitter cards to your website. That way, your website visitors can easily check out your tweets and follow you.

Here are a few more ways you can start using Twitter cards for your website:

  • By embedding relevant tweets, you can grab people’s attention and keep them engaged on your website.
  • You can post tweets with the latest news and announcements about your brand and easily inform your visitors.
  • Displaying your Twitter timeline also shows people that you’re actively posting on Twitter, which means they’re likely to reach out to you there. This also helps you get more retweets.
  • If you want to get more sales, you can use Twitter cards to embed reviews of your products and convince more people to buy
twitter review feed example

And that’s just the start. Twitter cards can be a fantastic way to get started with social media marketing, engage your followers and grow your business.

Let’s check out the easiest way to start displaying Twitter content on your website.

How to Add Twitter Cards for Your Website (Easy Way)

If you want to show Twitter cards to your website visitors, the best way is to use a WordPress plugin.

That way, you can embed as much Twitter content as you want — with absolutely no coding needed.

And the best plugin to display tweets on your website is Twitter Feed Pro.

twitter feed pro homepage

Using this plugin, you can add Twitter cards for your website with ease and start engaging your visitors in no time.

All it takes is a few simple clicks, and you can create, customize, and embed a feed of Twitter cards on your website.

What’s more, you get tons of options when it comes to the type of Twitter content you want to show.

You can show tweets from user timelines, embed your chosen Twitter hashtags, show Twitter search results, and much more.

The best part? Your Twitter cards will automatically match the design of your website using the plugin. That way, the Twitter content will perfectly fit your branding.

And if you want more control over the design of your Twitter cards, you can use the live feed editor to customize how they look.

You can set your layout, color scheme, button design, header style, and much more.

live feed editor twitter

Plus, this plugin comes with a team of WordPress experts who are always ready to help you out.

As you can see, Twitter Feed Pro is really the best plugin to help you embed Twitter content on your website.

In fact, some of the biggest brands in the world use Smash Balloon to embed social media feeds on their websites.

Ready to add Twitter cards for your website? Get your copy of Twitter Feed Pro here.

With that, let’s check out how you can use the plugin to add Twitter cards to your website.

Step 1: Download the Twitter Feed Pro Plugin

To get started, grab your copy of the Twitter Feed Pro plugin and then download it on your computer.

After that, you can simply install and activate the plugin on your website.

If you want some help with that, just check out this tutorial on how to install a WordPress plugin step-by-step.

Once you’ve installed and activated the plugin, you can move on to step 2 below.

Step 2: Create a New Twitter Feed

Now that your plugin is ready, you can use it to create a new Twitter feed on your website.

Using that feed, you can show tons of Twitter cards at once.

From your dashboard area, navigate to the Twitter Feed » All Feeds menu to get started.

Now create a new feed by clicking on the Add New button.

add new custom twitter feed

After that, you can choose the type of Twitter content you want to show on your cards. Here are the options you can choose from:

  • User Timeline: Embed a Twitter timeline on your website
  • Hashtag: Show Twitter posts with a chosen hashtag
  • Home Timeline: Display the tweets from your homepage
  • Search: Pick a search term and embed tweets with that term
  • Mentions: Show tweets that tag your profile
  • Lists: Display content from a public Twitter list
feed type options twitter

Select the option that you prefer from this list and then click on the Next button.

For this example, we’ll use a user timeline feed type.

select feed type twitterr

As you can see, you can create a Twitter feed in just a few clicks with this plugin,

In step 3, you can connect this feed to Twitter so that it can display Twitter cards on your website.

Step 3: Connect Your Twitter Account

To embed Twitter cards, you can connect this new feed to your Twitter account.

For that, click on the Connect button to get started.

connect twitter account to wordpress

The plugin will then open Twitter so you can finish connecting your account. For that, you can simply give read-only access to the plugin.

That way, your Twitter account will be completely safe since the plugin can only view Twitter info and won’t be able to make any changes at all.

To connect your Twitter account, click on Authorize app here.

authorize twitter read only access.jpg

Now that you’ve connected your Twitter account, it’s time to add the source.

The source can be the Twitter profile, hashtag, list, search term, and custom Twitter content that you want to display on your website.

Here, we’ve added the @starbucks Twitter profile as the source. This will display Twitter cards from that user’s profile.

After entering the source in the popup, click on the Next button.

embed twitter feed user timeline

With that, you can move to step 4 and customize how your Twitter cards look on your website.

Step 4: Customize Your Twitter Feed

To get started, you can choose to import a pre-built design for your Twitter cards. Here are the 6 options that you can choose from:

  • Default
  • Masonry Cards
  • Simple Carousel
  • Simple Cards
  • Showcase Carousel
  • Latest Tweet
  • Widget

After you select the template, click on Next to continue.

choose a feed template

After you do that, Twitter Feed Pro will send you to the live feed editor. From here, you can change the layout, colors, button design, lightbox, header design, and more for your Twitter cards.

Towards the right, you can find a live preview that shows how the Twitter cards will look for your website.

live feed editor twitter

To get started with the customization, you can change the layout of the Twitter cards on your website.

Click on the Feed Layout option to do that.

feed layout option twitter

After that, you can choose between 3 layouts for your Twitter cards: List, Masonry, and Carousel.

Let’s take a look at them below:

pick a feed layout twitter

Using the list layout, you can show your Twitter cards in a single column — just like the layout of Twitter’s official website.

This way, each Twitter card is clearly visible on your website.

list twitter feed layout

Next, you have the masonry layout that can show Twitter cards in multiple columns.

It’s a great way to show tons of Twitter cards at once.

example masonry twitter feed wordpress

You can also pick the carousel layout and embed a slideshow of Twitter cards on your website.

This layout can help you make your website even more interactive.

horizontal twitter feed example

After selecting your Twitter feed layout, click on the Save button at the top.

Next, you can continue setting up the design of your Twitter feed by clicking on the Customize button at the top.

back to customization options twitter

Now, you can use the live feed editor to change the colors of your Twitter feed.

Click on the Color Scheme option on the left to get started.

color scheme option twitter feed pro

To change your colors, you can simply choose between 4 different color schemes here:

  • Inherit from Theme: Copy the colors of your WordPress theme
  • Light: A light background with dark font color
  • Dark: Dark background on top of a light font color
  • Custom: Manually pick all the colors yourself

Once you select your color scheme, click on the Save button.

choose color scheme twitter

You can then use the remaining customization options and change the header, button design, feed size, and much more in just a few clicks.

Finally, click on the Save button to confirm the new design of your Twitter feed.

You can then go to the final step and start embedding your Twitter cards on your website.

Step 5: Embed Your Twitter Cards on Your Website

Now that you’ve customized how the Twitter cards will look, it’s time to embed them on your WordPress website

You can do that in 2 ways with this plugin:

  • Embed Twitter cards on a WordPress page
  • Embed Twitter cards on the WordPress sidebar or footer

Let’s take a look at both of the methods below.

Embed Twitter Cards on a WordPress Page

Using the live feed editor, you can easily embed your Twitter cards in a few clicks — no coding needed.

To get started, click on the Embed button at the top.

embed yout twitter feed

Once you do that, you’ll see a popup where you can choose the location for your Twitter cards.

Click on Add to a Page here to continue.

add to a page

Next, you’ll see a list of all the WordPress pages on your website. You can now select the page where you want to embed the Twitter cards.

After you do that, click on Add to continue.

add twitter feed to a new page

Twitter Feed Pro will now open that page in the WordPress editor. Here, you can add a new content block by clicking on the plus (+) icon.

add new block content block

Write “twitter feed” in the search bar at the top to look for the right content block here.

Then, click on the Twitter Feed block from the options below.

embed twitter feed on your wordpress site

Finally, click on the Update button, and your Twitter cards will be live on your website.

To see how it looks, you can just open your website and check for yourself.

example twitter feed on website

Now let’s look at another way to add Twitter cards for your website using Twitter Feed Pro.

Embed Twitter Feeds on the WordPress Sidebar or Footer

Using this method, you can embed Twitter cards on your WordPress sidebar or footer as a Twitter widget.

You can use the live feed editor for that as well.

First, navigate to the Twitter Feed » All Feeds menu from your WordPress dashboard area.

You’ll then see a list of all the Twitter feeds on your website. Now click on the Twitter feed that you want to embed.

open all feeds page twitter feed

Doing that will open the live feed editor once again. Just click on the Embed button to start embedding your Twitter cards.

embed twitter feed button

On the popup, click on the Add to a Widget to continue.

This will send you to your WordPress widgets page so you can add your Twitter widget.

add twitter feed to widget

From here, you can choose between the sidebar and footer for your Twitter cards.

Want to show Twitter cards on your website sidebar?

Just click on the Sidebar panel.

open sidebar panel

Or you can choose to display Twitter cards on the footer.

For that, click on a Footer panel instead.

open footer panel

Now you can add a new widget by clicking on the plus icon (+) at the bottom.

After that, select the Twitter Feed widget from the options.

add a twitter feed widget to wordpress

Finally, you can click on Update to save the changes.

Just like that, you’ve added Twitter cards to your website’s widget-ready areas. You can take a look by opening your website.

embed twitter feed widget on website

All in all, Twitter Feed Pro is the best plugin if you want to add Twitter content to your website with ease.

Now let’s see how you can embed Twitter cards without using a plugin.

Manually Add Twitter Cards for Your Website

You can also add Twitter cards for your website using the manual way without using any plugin at all.

As a result, it can be a lot more time-consuming if you pick this method. After all, you’ll have to manually generate the Twitter embed code and add it to your website.

On top of that, you won’t get customization options here, so your Twitter cards might not match your branding.

If you want to change how the Twitter cards look, you’ll have to tweak the code yourself or spend money on a developer.

What’s more, you won’t get a support team like with Twitter Feed Pro. If adding the embed code to your site causes any errors, you won’t be able to ask a support team for help.

With that, let’s get started and see how you can manually add Twitter cards for your site.

Step 1: Visit Twitter Publish

twitter publish homepage

To get started, open publish.twitter.com on your browser to go to the Twitter Publish website.

Here, you can use the Twitter card generator to create an HTML embed code for Twitter content.

Step 2: Choose Your Embed Type

If you scroll down, you can find 3 different embed options:

  • Embedded Twitter: Add a single Twitter card to your site
  • Embedded Timeline: Show Twitter cards from a specific timeline
  • Twitter Buttons: Embed Twitter buttons
twitter publish website options

For our example, we’ll go with the embedded timeline option here.

Step 3: Paste Your Twitter URL

After that, you’ll see a Twitter card generator popup. There, you can simply enter the URL of the Twitter timeline you want to embed.

add url of twitter timeline

After you paste the URL of the Twitter timeline on the popup, click the Preview button to continue.

Step 4: Copy the HTML Code

Finally, you can see the HTML code for your Twitter cards. You can also see a preview of how the Twitter cards will look on your website.

To continue, click on the Copy Code button.

copy code to embed twitter feed

Finally, you can use this code to embed the Twitter cards in the next step.

Step 5: Add the HTML Code to WordPress

You can now paste the HTML embed code into your WordPress page or post.

To use a WordPress page, click on the Pages » Add New menu from your dashboard.

add new wordpress page

Or you can open the Posts » Add New menu from your dashboard to use the WordPress post.

For this example, we’ll go with a WordPress page.

add new post wordpress

Now add a content block on the page or post by clicking on the plus (+) icon.

add new wordpress block

Finally, look for the search bar at the top and write “custom html” on it.

Then, select the Custom HTML block from the options below.

add custom html widget to wordpress site

Now you can paste the copied Twitter embed code into the HTML block.

Doing that will embed the Twitter cards on your website.

manually embed twitter widget.jpg

Finally, click on Publish to save your changes, and the Twitter cards will be online.

Just open your website to see how the Twitter cards look.

twitter widget manual embed example

But if you want to embed just a single Twitter card, it’s a bit easier.

First, copy your Twitter URL and then go back to your WordPress website. After that, simply paste your URL into your post or page.

embed twitter card on your website

Like before, click on Publish to confirm your changes, and your new Twitter card will be online.

And there you have it!

As you can see, it’s super easy to add Twitter cards for your website using a WordPress plugin. With Twitter Feed Pro, you can start displaying Twitter content in just a few simple clicks — even if you’re a WordPress newbie.

You can then grow your social media following, engage your website visitors, and boost your sales as well.

If you want to start making the most out of Twitter for your brand, check out our list of the best ways to make money on Twitter.

Do you have an Elementor website? Here’s how you can embed a Twitter feed on your Elementor site.

If this tutorial helped you out, follow us on Facebook and Twitter for more helpful tips on social media marketing.

author avatar
Sajjan Sharma Senior Writer
Sajjan has been writing about WordPress, social media marketing, and online businesses for over 10 years. His professional interests extend to include influencer marketing, content curation and digital marketing strategies.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.