Where the TikTok feed filter settings live, and how the only show posts containing option works.
Would you like to show only the TikTok videos that mention certain words or hashtags, or hide the ones that do?
In this guide, we’ll walk you through how to filter the videos in a TikTok feed by the words and hashtags in their captions. You’ll set up each filter in the feed editor, so there’s no code to write.
Requirements: Filters are available with the plus license level or higher. With the free version of TikTok Feeds, or the basic license level, the filter boxes in the Filters section are locked.
Before you get started, make sure TikTok Feeds Pro is installed and activated on your WordPress site. If you don’t have a feed yet, see our guide on creating a TikTok feed.
Here is what we will cover:
- Opening the Filters Settings
- Showing Only Videos With Certain Words
- Hiding Videos With Certain Words
- Saving and Checking Your Filters
- Frequently Asked Questions
Opening the Filters Settings
To get started, go to TikTok Feeds » All Feeds in your WordPress dashboard. Then, click the name of the feed you’d like to filter.

Your feed opens in the feed editor. At the top of the left panel, click the Settings tab.

Next, click Filters.

The Filters section has a By Words group with 2 boxes. One keeps the videos that contain your words. The other removes them. Filters check each video’s caption, including any hashtags in it.
Let’s start with the box that keeps only the videos you want to show.
Showing Only Videos With Certain Words
Let’s say you only want to show videos that use a certain hashtag. In the Only show posts containing box, type the word or hashtag. We’ll type #WordPress.
Then, click anywhere outside the box. The preview on the right refreshes and shows only the videos whose captions include #WordPress.

Here are a few things to know about how the words are matched:
- Separate words with commas. To show videos that contain any of several words, type them with commas between them, such as
#WordPress, #Feeds. A video only needs to match one of them. - Capital letters don’t matter.
#wordpressand#WordPressmatch the same videos. - Part of a word counts. The text you type can match part of a longer word. For example,
artalso matchesparty. - Add the # for hashtags. Include the
#when you only want videos that use that hashtag. Without it, a video also matches when the word appears anywhere else in its caption.
Next, we’ll look at the second box, which hides videos instead.
Hiding Videos With Certain Words
You can also do the opposite and hide videos. In the Do not show posts containing box, type the words or hashtags you want to hide. We’ll type test. To see this filter on its own, as in the screenshot below, clear the Only show posts containing box first.
Then, click anywhere outside the box. Videos with test in their captions disappear from the preview, even when a caption spells it Test.

This box follows the same rules as the first one. Separate several words with commas. A video is hidden when its caption matches any of them.
You can fill in both boxes. The feed first keeps only the videos that match the Only show posts containing words. Then, it removes any of those that match the Do not show posts containing words.
Once the preview shows the videos you want, you’re ready to save your filters.
Saving and Checking Your Filters
When you’re happy with the preview, click Save at the top of the feed editor.

Then, open a page on your site that shows the feed. Visitors now see only the videos that pass your filters.

Note: If the feed on your page doesn’t change after you save, clear your site’s cache. A caching plugin can keep showing a copy of the page from before you saved. See How to Clear Your Cache in WordPress for a step-by-step guide.
That’s it! You now know how to show or hide the videos in your TikTok feed by their words and hashtags. Next, take a look at our guide on embedding a TikTok feed directly in your theme template to place your filtered feed anywhere in your theme.
Frequently Asked Questions
Below, we’ve answered some of the most common questions about filtering TikTok videos.
Do I need a paid license to filter my videos?
Yes. Filters need the plus license level or higher. With the free version or the basic license level, the filter boxes in the Filters section are locked. You can compare license levels on our pricing page.
Can I filter by more than one word or hashtag?
Yes. In the same box, type the words with commas between them, such as #WordPress, #Feeds. In Only show posts containing, a video is shown when its caption matches any of the words. In Do not show posts containing, a video is hidden when its caption matches any of the words.
Does it matter if I use capital letters?
No. Filters ignore capital letters, so #wordpress and #WordPress match the same videos.
Do I need to add the # symbol?
Only when you want to match a hashtag. Filters check the text of each video’s caption. A hashtag is part of that text. If you type feeds, any video with those letters in its caption matches, even in the middle of another word. If you type #Feeds, a video matches only when #Feeds appears in its caption. That includes longer hashtags that start with it, such as #FeedsPro.
What part of a video do filters check?
Filters look at each video’s caption, which includes its hashtags. To narrow your feed, use words or hashtags that appear in your captions.
Why does my feed show “No posts found”?
When no videos pass your filters, the feed shows a message that says there were no posts that fit your filters. Only WordPress admins see this message. First, check that the words in Only show posts containing really appear in your videos’ captions. Then, check that Do not show posts containing isn’t hiding all of them.
For more steps, see our guide on what to do when your TikTok feed isn’t displaying.
Why did a filter hide all of my videos?
A stray comma can cause this. If a box ends with a comma, starts with one, or has 2 commas in a row, the feed reads an empty word. On sites running PHP 8 or higher, an empty word matches every video. In Do not show posts containing, it hides all of them. In Only show posts containing, the box then has no effect. Remove the extra commas, and then click Save.
Can I use different filters in each feed?
Yes. Filters are saved with each feed, so every feed can have its own words. Editing the filters in one feed doesn’t change your other feeds.
How do I remove a filter?
In the feed editor, click Settings and then Filters. Next, delete the words from the box, and then click Save.