- This topic has 1 reply, 2 voices, and was last updated 8 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Trying to search only by post title, not content
Hello
I’m trying to only search through the TITLE of the post, and not the content or any other meta info.
For example when I search “Jo”, I should not receive a post with the title of “David”.
I am using relevanssi, and using a filter in my functions to only search through post title
add_filter('relevanssi_index_content', 'contentoff');
function contentoff() {
return false;
}
However, I’m still getting back “David” when I type “Jo”, and the likes…
Is there a way to do this with S&F pro?
Thanks,
matt