Docs    Twitter    Documentation

How to build a X (formerly Twitter) Search feed

The search operators you can use when building a search feed, including excluding retweets and replies.

Would you like to show X (formerly Twitter) posts that match a search on your WordPress site?

In this guide, we’ll walk you through creating a Search feed with Custom Twitter Feeds, showing posts from one account, and keeping retweets out of your feed. All you need is the paid version of Custom Twitter Feeds on the elite license level.

Requirements: Search feeds need the elite license level. Older Personal, Business, and Developer licenses include them too.

Before you get started, make sure the paid version of Custom Twitter Feeds is installed and activated on your WordPress site.

Creating a Search Feed

A Search feed shows the posts that match a search term. The plugin’s menus and screens still use the name Twitter. That’s the name you’ll see in these steps.

To get started, we’ll add a new feed.

From your WordPress dashboard, go to Twitter Feed » All Feeds. Then, click Add New.

The WordPress dashboard menu with Twitter Feed » All Feeds highlighted and an arrow pointing at the Add New button

On the Select Feed Type step, User Timeline is selected by default. First, click Search to select it. After that, click User Timeline to clear it, so your feed shows search results only. Then, click Next.

The Select Feed Type step with Search selected and arrows pointing at the Search card and the Next button

In the Search box, type the term you want your feed to show. For this guide, we’ll type from:smashballoon, which shows posts from the @smashballoon account. After that, click Next.

The Search box with from:smashballoon typed in and arrows pointing at the box and the Next button

The next step asks you to start with a template. The Default template is already selected. You can change it later. To continue, click Next.

The Start with a template step with the Default template selected and an arrow pointing at the Next button

The plugin creates your feed and opens it in the feed customizer. Above the preview, a note that only admins can see says Search feeds may contain promoted posts. You can remove those with the filters on the Settings tab, as shown in Keeping Retweets Out of Your Feed.

On the Customize tab, you can change your feed’s template, layout, and colors. When you’re happy with how it looks, click Save.

The feed customizer with the admin note about promoted posts above the preview and an arrow pointing at the Save button

Your Search feed is saved. Next, we’ll look at the term we used to show posts from one account.

Showing Posts From One Account

The search term decides which posts your feed shows. To show only posts from one account, type from: followed by the account’s handle without the @, as in from:smashballoon.

Your feed then shows posts from that account only. These can include posts the account retweeted. The next section shows how to keep those out.

Keeping Retweets Out of Your Feed

A new feed shows retweets and hides replies. You can change both in the feed’s filters.

In the feed customizer, click the Settings tab. Then, click Filters.

The feed customizer with the Settings tab open and arrows pointing at the Settings tab and the Filters section

Next, click the Include Retweets toggle to turn it off. Include Replies is already off on a new feed. Then, click Save.

The Filters section with the Include Retweets toggle turned off and arrows pointing at it and at the Save button

The Filters section also has Allowed Words, Blocked Words, and Hide specific tweets. These are the filters the admin note points to for promoted posts.

To learn more, see our guides on showing posts that contain certain words and hiding specific posts.

That’s it! You’ve created a Search feed, shown posts from one account, and kept retweets out of it.

Next, see our guide on setting up the paid version to learn about embedding your feed on a page or post.

Frequently Asked Questions

Below, we’ve answered some of the most common questions about Search feeds.

Which license level do I need for a Search feed?

Search feeds need the elite license level. Older Personal, Business, and Developer licenses include them too. Hashtag feeds need the plus license level or higher. For the full list, see our guide on the differences between the free and paid versions.

How do I change my search term later?

To do this, open your feed in the customizer and click the Settings tab. Then, click Sources and Edit Sources. Next, change the term in the Search box and click Update. After that, click Save to keep the new term.

Why does my Search feed show promoted posts?

Search feeds may contain promoted posts that don’t fit your feed’s settings. The customizer shows a note about this to admins. To remove them, use the filters on the Settings tab, as shown in Keeping Retweets Out of Your Feed.

Can I combine a search with other feed types?

Yes. One feed can show posts from more than one feed type. For the steps, see our guide on combining multiple feed types into one feed.

How often does my Search feed update?

On the elite license level, your site receives up to 24 source updates a day. For more on how updates work on each license level, see our guide on the X (formerly Twitter) changes.

support

Couldn’t find your answer in the docs?

Contact Support