Banner for the blog How to Display Posts That Contain a Specific Keyword

How to Display Posts That Contain a Specific Keyword

 |  | 3 Minutes Read | 3130 Views

Are you searching solution for how to display posts that contain a specific keyword?

If your answer is yes, welcome, your search ends here.

Displaying posts on a page or post or specific place is easy. However, it is a challenging task if you want to show posts related to a specific keyword.

But don’t worry!

I have a solution for you. You can use a WordPress plugin to show posts related to a specific keyword.

So, let’s start.

Why should you show posts based on keywords?

By default WordPress website shows the latest posts on the home page. It means you get necessary and unnecessary posts on your home page.

You may want to show essential posts or want to exclude less important posts related to keywords. That’s why filtering posts through keywords come into play.

If you show only posts that are related to important keywords, your website’s subscribers will increase.

When it comes to bounce rate, showing only important posts through filtering keywords will decrease bounce rate.

How to Display Posts That Contain a Specific Keyword

Displaying posts that contain a specific keyword on the WordPress site is not an easy task. It isn’t easy to find a theme that allows displaying posts on the home page or specific page according to specific keywords.

When it comes to displaying keyword-related posts, there are several ways. Here I will show you how to display posts related to particular keywords using a popular WordPress plugin called Smart Post Show.

So, without wasting any more time, let’s see how to display posts according to a specific keyword.

First of all, install and activate the Smart Post Show plugin and activate it.

After activating the plugin, you can see the Smart Post Show plugin menu in the WordPress dashboard.

Now from Smart Post Show menu, click on Add New.

How to Display Posts That Contain a Specific Keyword

After that, type the title in the title box. Then choose layout preset; you can choose from Carousel, Grid, List, Isotope, Timeline, Zigzag, Accordion, and Large with small. You can pick one according to your choice. For me, I will choose Grid.

How to Display Posts That Contain a Specific Keyword

Now, take a look under the Filter Content tab; here, you can see different options. From Post Types, select your desired post type. I want to show posts so that I will choose posts as post types.

If you want to include or exclude any post, then you can use the Common Filtering option. If you want to exclude any specific post, use Exclude options. Moreover, to Include any specific post, use Include Only option. Furthermore, you can select the maximum number of posts you want to show. If you want to show all posts related to a specific keyword, leave the Limit option blank.

Now, move to Advanced Filtering. Here you can see an option called Filter by, select keyword.

How to Display Posts That Contain a Specific Keyword

Type keyword which related content you want to display. After typing a specific keyword, click publish.

Get back to the WordPress dashboard and navigate Smart Post Show menu and click Manage show.

How to Display Posts That Contain a Specific Keyword

Now, copy the shortcode and paste where you want to display posts according to a specific keyword.

How to Display Posts That Contain a Specific Keyword
How to Display Posts That Contain a Specific Keyword

Here are posts displaying related to a specific keyword;

How to Display Posts That Contain a Specific Keyword

Note: Smart Post Show plugin allows you to customize post appearance. It allows you to show posts with a thumbnail or not and a title or excerpt. You can also change the color of typography. Options such as Display Options, Detail Page Settings, and Typography offer different customization.

You have successfully displayed posts according to a specific keyword in your WordPress website.

Wasn’t it easy?

I think so.

Do you have further questions regarding how to display posts that contain a specific keyword?

If yes, then let me know about that by leaving a comment below.

Written by

Hi, I'm Khalil, a Web/UI Designer and WordPress Enthusiast from Brahmanbaria. I love creating user-friendly UI (Front & Backend) and currently working as a Head of Ideas at ShapedPlugin. <3

Leave a comment