Title: Search only post title?
Last modified: August 24, 2023

---

# Search only post title?

 *  [Matt Blank](https://wordpress.org/support/users/mattblank/)
 * (@mattblank)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/search-only-post-title/)
 * Because WP Extended Search overrides the search to include all custom fields,
   I can’t work out how to specifically filter to only the post title. I’ve created
   a filter on search for my music library website. What this allows is to do is
   the following, assuming my search query is: 1999
 * If I don’t filter to anything it produces all posts that has an association with
   1999.
 * If I select year it only shows me posts where the value of the custom field ‘
   year’ is 1999 (all songs from 1999).
 * If I select album it only shows me posts where the value of the custom field ‘
   album’ is 1999 (like Prince’s album).
 * So now, if I select Song Title, I’d expect only 1 result, and that should be 
   the song 1999 by Prince. But that’s not happening. Song title is NOT a custom
   field. It’s the title of the post. How can I filter to it?
 * Happy to share code if need be. Thank you!

The topic ‘Search only post title?’ is closed to new replies.

 * ![](https://ps.w.org/wp-extended-search/assets/icon-256x256.png?rev=2436853)
 * [WP Extended Search](https://wordpress.org/plugins/wp-extended-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-extended-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-extended-search/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-extended-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-extended-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-extended-search/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Matt Blank](https://wordpress.org/support/users/mattblank/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/search-only-post-title/)
 * Status: not resolved