Free Directory, Listing & Classifieds WordPress Plugin › Support › Themes › ListingHive › Include Attributes to keyword search
Include Attributes to keyword search
- tipevohq3 weeks, 6 days ago
How can I make the keyword search form to search but listing title (as it does today) AND also a few attributes.
Example, if I enter “John”, I would like it to return all listings: “John Oliver”, “John Wayne” AND a listing titled “Matt Stevens” with attribute “favorite team” == St. Johns Soccer Club.
Thanks a bunchFindaFloorGuy3 weeks, 5 days ago
I’ve had a little trouble with it as well but have been able to get it to function close to what I need. I want to search only a zip code attribute. After much trial and error I found I needed to tick an additional meta key name – hp_search_field_type. I still get hits when I search keywords in the title from new listings but don’t get hits when I search keywords of titles in any of the demo listings. I’m sure I’m missing something, just don’t know what yet.ihor3 weeks, 5 days agodeveloper
Yes, non-selectable HivePress attributes are stored as meta fields with “hp_” prefix. This plugin seems to work for including the attributes to the search scope https://hivepress.io/support/topic/atributtes-not-searcheable/#post-3125
@FindaFloorGuy Thanks for your help:)
@ihor thanks for chiming in. Do you see anything I could be missing based on my settings?
https://pca.tipevo.com/wp-content/uploads/2020/09/Screen-Shot-2020-09-30-at-2.25.36-PM.pngihor3 weeks, 4 days agodeveloper
According to these settings, the coaches should be searchable by the organization field. Please make sure that you tried to search coaches, not listings (I’m not sure if you renamed listings or vendors to coaches). Also, I recommend unsetting the “hp_search_field_type” field because it’s not related to attribute value, it’s a field type you select in attribute settings.
You must be logged in to reply to this topic.