• 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.