How to increase weight for post titles when using ACF
-
Really good plugin! Thanks a lot!
We have a search field which searches a custom post type. We use ACF Pro a lot and this custom post type has around 10 ACF Pro fields which Relevanssi also successfully index after we have set the setting “Custom fields to index” to “all”.
Relevanssi index everything successfully but when I for example search for the word “sky” the custom post type with the post title that has the word “sky” in it is not in the top results.
We want Relevanssi to weight the post titles very high, but be still able to index ACF Pro fields in case the search word is not in a post title.
You can see here https://foxdesign-staging.pixeltokig.se/sokresultat?_sf_s=sky&post_types=product. Try to search for the word “sky” and you will see that the post with the title “Sky park” not showing up in the top results.
Thanks a lot in advance!
Kind regards, Christoffer
- The topic ‘How to increase weight for post titles when using ACF’ is closed to new replies.