Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Show Selective Tweets in WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Show Selective Tweets in WordPress

Recently one of our readers asked us how they can show selective tweets in a WordPress widget. Previously, we have shown you how to add official Twitter follow button, how to add twitter cards, and how you can display recent tweets in WordPress using Twitter widget. The same twitter widget also comes with powerful tools allowing you to create streams for your twitter lists, tags, and search. In this article we will show you different ways to show selective tweets in WordPress using Twitter widgets.

Showing tweets by a user on specific keyword or hashtag

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

Showing Tweets from a User with Specific Hashtag or Keyword

Let’s assume that you want to add twitter widget to your WordPress site showing only your tweets with a certain keyword or hashtag. Go to Twitter Widgets site and click on the search tab. In the search query box enter from:wpbeginner #WordPress. Replace wpbeginner with your own twitter handle, and #WordPress with your keyword or hashtag.

Adding selective tweets by using Twitter Widgets

Save your widget and copy the widget code.

Copy your Twitter Widget Code

On your WordPress site, go to Appearance » Widgets. Drag and drop a text widget to your sidebar and paste widget code inside it, save your text widget and preview your website.

Using Twitter Search to Create Custom Streams

Twitter comes with powerful search engine of its own. However, since tweets are not like articles, twitter comes with a different set of parameters to perform advanced searches for tweets. In the above example we searched for tweets by a particular user with specific keyword or hashtag. You can also search replies, mentions, tweets with links and keywords, tweets from nearby, etc. See a list of Twitter search parameters and what they do. Use these parameters in the search widget and you can create your own tweet mashups.

We hope this article helped you show selective tweets in WordPress widgets. For questions and feedback, please leave a comment below or follow us on Twitter.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. Gabriela says:

    Any idea as to why when I try to do this only text ends up showing up on my site instead of the widget?

  2. adolf witzeling says:

    Love this, so easy to implement. This site is such a great source of knowledge and inspiration.
    Keep it up.

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 comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.