---
title: "How to Search Posts by Title Only in WordPress?"
url: https://nexterwp.com/docs/search-posts-by-title-only-in-wordpress/
date: 2024-12-02
modified: 2026-04-14
author: "Aditya Sharma"
description: "By default, the WordPress search feature searches through the entire content of a website. However allowing users to search by post title only can improve the user experience, especially if..."
image: https://nexterwp.com/wp-content/uploads/2024/12/How-to-Search-Posts-by-Title-Only-in-WordPress_-1024x519.jpg
word_count: 236
---

# How to Search Posts by Title Only in WordPress?

## Key Takeaways

- Nexter Blocks Search Bar block limits WordPress search to post title only by enabling only Search in Title under Generic Filters.
- Search Bar block requires Nexter Blocks to be installed and activated before it works on a page or template.
- Standard Search tab lets the Search Bar block narrow results to different parts of posts, with Label, Placeholder, and Show Count settings available beside the search bar.

By default, the WordPress search feature searches through the entire content of a website. However allowing users to search by post title only can improve the user experience, especially if you have a large number of posts with similar content.

With the Search Bar block from the Nexter Blocks, you can easily limit the search to post title or other parts of the posts in WordPress.

*To check the complete feature overview documentation of the Nexter Blocks Search Bar* block, [click here](https://nexterwp.com/docs/add-a-search-bar-in-wordpress/).

***Requirement  - This block is a part of the Nexter Blocks, make sure it's installed & activated to enjoy all its powers.***

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/builder/wordpress-ajax-search-bar/)

To do this, add the Search Bar block on the page or template and follow the steps -

1. Open the item under **Search Bar** and select **Post** from the **Source** section.

2. From the **Select Post** dropdown, select **Posts**.

![](https://nexterwp.com/wp-content/uploads/2024/12/searchbar-select-post.png)

Now, you should be able to see a dropdown beside the search bar.

Then make the necessary changes to Label, Placeholder and Show Count sections.

3. After that go to the **Standard Search** tab.

4. Click on the **Generic Filters** section and only keep **Search in Title** enabled and the rest disabled.

![](https://nexterwp.com/wp-content/uploads/2024/12/searchbar-generic-filters.gif)

Now this will limit the search to post title only and it will not look into other parts of the post.

> *Note: In a similar way you can limit the search to different parts of posts only.*