Forums › Forums › Search & Filter Pro › search and filter only in title
- This topic has 7 replies, 2 voices, and was last updated 7 years, 8 months ago by Anonymous.
Viewing 8 posts - 1 through 8 (of 8 total)
-
Anonymous(Private) March 1, 2017 at 5:26 pm #93811
hi the site is http://www.caroto.gr
you can run a search general or better try by category (choose ΔΟΚΙΜΕΣ) with the key word citroen.
my problem is that i want from each category to give results only the posts with titles that have the keyword
for now i have choose “searh and filter” only searching in posts and pages
the revelacci is
Weights
Element Weight Default weight
Post titles 5
Comment text 0
Tag weight: 0
Category weight: 0Trevor(Private) March 2, 2017 at 11:27 am #93961I see what you are trying to do. You need to switch Relevanssi totally off in searching content, so it works ONLY in titles. You will need to edit your child theme functions.php file and add this code:
add_filter('relevanssi_index_content', 'contentoff'); function contentoff() { return false; }
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)