Forums › Forums › Search & Filter Pro › Baffled – post_title search seemingly not working
Tagged: title search
- This topic has 7 replies, 2 voices, and was last updated 9 years, 4 months ago by
Trevor.
-
Trevor(Private) June 15, 2016 at 3:41 pm #48484
Something is not right here. When I look at your search form, and edit the Post Meta that you used, I see all the post related keys, like author etc. They should not be there. I have never seen them in this dropdown before.
The only way that S&F can search titles is if you have Relevanssi installed, support for Relevanssi enabled in S&F, and use a textual search box.
If you want a dropdown on the form, you need to have something like ACF installed, and enter the resort on each post.
Anonymous(Private) June 21, 2016 at 1:16 am #48976Hi Trevor! Thanks for the reply – I didn’t seem to receive an email notice of your reply on June 15 so only saw it today.
I’ve installed Relevanssi and checked the Relevanssi checkbox on my form, but still getting the same issue, I’m afraid.
For custom fields, I’m using something similar to ACF, called Piklist:
Just to be clear (forgive my density!), are you saying I have to enter the resort title as its own custom field, and search that with S&F(with Relevanssi support enabled and presumably, its index updated)? I.E. I can’t search the standard post_title? If so, that’s what I’ll do…
Thanks!
Trevor(Private) June 21, 2016 at 8:10 am #48984Hi
This is a few days old, so I am only vaguely recalling what I found when I looked, but something is not right (as in might be broken). The meta field tool on the S&F form setup shows meta data fields that it should NOT, such as the title field, and other standard fields.
S&F is not designed to search the title field as a select box. So, something is really not right about the install, and as such I am uncertain as to what is going on and what has caused it. I do not know if our plugin has been tested with Piklist. I would assume that it has. So, in the form builder UI, in the meta dropdown to pick the meta key, you will a series of fields called post_xxxxx. THEY SHOULD NOT BE THERE. You need to figure out what is making them appear. Maybe that is Piklist.
And yes, if Relevanssi is installed, correctly setup and the index has been built, and enabled in S&F, the textual search should find the title.
If you want the title has a drop down in the form, then yes you will need to create a custom field to enter it again into.
Anonymous(Private) June 21, 2016 at 8:59 am #48988I’ll check with the Piklist folks on whether it might be causing those fields to appear in the list, though this might be one of those dreaded issues that falls “between two stools” with both sides throwing up their hands… yikes!
I see that a regular search field gives the expected results, so I will likely sidestep the issue entirely and just use a regular search box. Not as slick as an autofilling combobox, but it certainly works.
Thanks for your advice so far!
-
AuthorPosts