Forums › Forums › Search & Filter Pro › S&F Ignoring Search Everything
- This topic has 15 replies, 2 voices, and was last updated 10 years, 2 months ago by Ross.
-
Anonymous(Private) September 13, 2014 at 4:58 am #4610
I have added Search Everything to query my custom fields. If I search using the basic search page or adding ?s=search-term, WP shows all the results that only Search Everything could find. But if I search using the S&F field, the results are as if I have no additional plugin installed.
I tried this on my theme and on TwentyFourteen with the same results.
Any ideas?
Ross Moderator(Private) September 16, 2014 at 3:42 pm #4724Hey Peter, is this using the Ajax shortcodes to display results?
This is unfortunately a custom query to fetch the results and not a regular search page so this plugin will not work with S&F. If however, you choose to have it setup without Ajax then I believe it may work – as it uses the regular wordpress loop to fetch posts.
Ross Moderator(Private) September 16, 2014 at 4:36 pm #4737Hey Peter, I have previously used the non ajaxed search seemlessley with Relevanssi before – however I cannot say if they have done some updates that make it incompatible, or perhaps I have made some changes to this plugin without using Relevanssi – without ajax, S&F behaves like a regular search in way appending a “?s=” to the url, which in most cases makes those other plugins “kick in” and do their magic…
Have a go with Relevanssi and let me know, just as an idea, perhaps try unticking the custom template option (not as a workaround but just to see if it works) in S&F settings.
Thanks
Anonymous(Private) September 16, 2014 at 5:50 pm #4743Thanks. Right now, it seems like AJAX + Relevanssi does not work. The search returns 0 results and does not log to the DB, which (to me) means Relevanssi is breaking. I even used my own search.php which does not include query_posts, new WP_Query or query->get_posts(). I’ll mess around a bit more, but for now, it looks like no ajax for me.
Thanks again for all your help.
Ross Moderator(Private) September 19, 2014 at 2:22 pm #4856No worries Peter its good to know, in the future I’ll either look at integrating one of these plugins properly with Ajax or create add this functionality myself to the plugin – or at least something more advanced than just the basic search.
Thanks
RossRoss Moderator(Private) September 29, 2014 at 11:53 pm #5266Looks good Peter ๐
Out of curiosity, what functionality is it that you require from those plugins, is it the terms highlighting, or the ordering of results, or both, or something else? ๐
Thanks
Ross Moderator(Private) September 30, 2014 at 3:16 pm #5316So a text search in a custom field (post meta)? I had another user say the same thing – which I *think* is not too difficult actually ๐
-
AuthorPosts