Give extra weight if a search matches a certain custom field
-
I see in the documentation you can add weight based on custom field but it’s not clear to me how to do the following:
I have an ACF custom field called “author_search”. If the search term matches the text in “author_search” i want that result to have extra weight.There will be multiple authors in the “author_search” custom field. An example value is “john smith jane doe” … no commas. So searching for John Smith or Jane Doe should add extra weight to that result.
Thanks!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Give extra weight if a search matches a certain custom field’ is closed to new replies.