How to Show Current Tweets in WordPress with Twitter Widgets
Do you desire to display your recent Tweets in WordPress? Incorporating Twitter to your WordPress website helps increase engagement on both platforms.
Your blog site visitors discover your tweets which helps you get brand-new fans on Twitter. On the other hand, your Twitter followers find more of your material, which increases traffic to your website.
In this short article, we’ll show you how to easily display current tweets in WordPress. We will likewise cover how to reveal selective tweets in WordPress.
Including Your Recent Tweets in WordPress– Step by Step
You can show your recent tweets in WordPress by merely embedding your Twitter profile or timeline.
WordPress uses the oEmbed function, which automatically turns any content URL into an embed code when pasted in the content area.
The most common location to display your recent tweets is typically your blog’s sidebar. Let’s begin with that.
Adding Your Current Tweets to Your WordPress Sidebar
Initially, you require to find and copy the URL of the Twitter profile that you want to embed. The Twitter profile URL is simply the combination of Twitter website URL and your Twitter username.
For example, the Twitter profile URL of WPBeginner is https://twitter.com/wpbeginner.
Next, log into your WordPress control panel and go to Look” Widgets page. Just drag and drop the text widget to your sidebar and then paste the Twitter profile URL that you copied earlier in the text location.
When done, it will right away develop into a Twitter timeline widget showing current Tweets from that specific account.
After that, you can name your widget, wait, and preview it live on your website. Here’s how our current tweets appear on our demo site.
As you can see in the screenshot above, this method includes your current tweets inside a box with a vertical slider. Package consists of 20 newest tweets and the ‘Load more Tweets’ button at the end.
Embedding Twitter Feed in WordPress with Twitter Publish
Changing the Twitter widget feature, Twitter now has Twitter Publish feature for embedding Twitter content into websites.
Twitter Publish lets you quickly develop the embed code for different types of Twitter content, including a tweet, collection, profile, list, moment, hashtag, and so on
To use this approach, you need to visit the Twitter Publish site and then paste your Twitter profile URL in the ‘What would you like to embed?’ box.
Once done, click on the arrow icon.
After that, it will ask you to choose a display screen alternative: Embedded Timeline or Twitter Buttons. Choose the ‘Em bedded Timeline’ as you desire to reveal your Twitter timeline with current tweets.
Upon choosing the display screen option, it will quickly create the embed code for your recent tweets. Now click the Copy Code button.
Next, you require to go to Appearance” Widgets from your dashboard and include the ‘Custom-made HTML’ widget to your sidebar location. After that, paste the embed code that you copied previously in the HTML field.
As soon as done, conserve your widget and see your recent tweets live on your website.
Here’s how our Twitter feed looked on a test site.
Embedding Your Recent Tweets in WordPress Blog Posts
Often you might require to embed your Twitter timeline in your post or your about page.
WordPress includes a Twitter embed block for the new WordPress block editor
Simply create a new post or edit an existing one. On the post modify screen, include the Twitter embed block in your content area.
Now you need to paste your Twitter profile URL and click the ‘Em bed’ button.
After that, WordPress will immediately fetch and show your recent tweets in the content area.
This approach adds a Twitter feed with a scrollbar in your post.
Additionally, you can also utilize the Twitter Publish method, which will enable you to show current tweets without the scrollbar.
Go to the Twitter Publish site and paste your Twitter profile URL in the ‘What would you like to embed?’ box and click the arrow beside it.
After that, pick the ‘Em bedded Timeline’ choice and then copy the embed code.
Next, you need to add the ‘Custom-made HTML block in your post editor to paste the embed code.
Now you can paste the embed code you copied earlier.
Once done, conserve your post and preview it live.
Showing Selective Tweets in WordPress
Embedding your Twitter profile will show all your recent posts on your site. What if you wished to show the selected tweets only?
Don’t stress, there are basic services for that too. There are mainly 5 ways to embed picked tweets into your website.
- Collection: Show a curated collection of tweets according to subjects, interests, discussions, and more.
- List: Display tweets by a curated group of Twitter users.
- Likes: Show all tweets a particular Twitter user has actually marked as likes.
- Minute: Program tweets from a public moment by a Twitter user.
- Hashtag: Show tweets by anybody containing a specific hashtag.
Among these options, you can produce the last 4 selections right from the Twitter website. Also, you can copy their respective URL and paste in your WordPress sidebar utilizing the text widget.
For example, you can discover your Twitter lists in your Twitter profile page. Select any one list you want to embed and click on it.
Upon clicking the link, the list will open, and you can copy the list URL from your web browser. For instance, the URL of our Twitter list ‘WordPress Experts’ is https://twitter.com/wpbeginner/lists/wordpress-experts.
Now you can paste this URL in your WordPress sidebar.
Likewise, you can discover the URLs of likes, minute, and hashtag from your Twitter profile page, and quickly embed into your WordPress website.
However, you need to utilize Twitter’s advanced TweetDeck function to create a collection. A Twitter collection is a list of tweets arranged under a subject by a user.
Visit TweetDeck site and indication in with your Twitter account. When the TweetDeck control panel opens, click the ‘Add Column’ button on the left panel.
Next, you require to choose the ‘Collection’ alternative.
After that, you can name your new Twitter collection.
As Soon As done, you will see a new column included to your TweetDeck dashboard.
Now, you can drag tweets from your Twitter house or any user account and create your collection.
When you have actually included tweets in your collection, you can embed it into your site. Click on the Options icon and then click the Share alternative. After that, choose the ‘Em bed Collection’ option.
Upon clicking on Embed collection, the Twitter Publish page will open with the embed code for your Twitter collection.
Copy the embed code, and after that paste it into your site utilizing the Custom HTML widget.
As soon as done, conserve your widget and see your Twitter collection live on your website.
We hope this post helped you to discover how to show recent tweets in WordPress and how to show selective tweets in WordPress. You might likewise wish to see our list of the finest social media plugins for WordPress