Forums › Forums › Search & Filter Pro › Fields with similar labels
- This topic has 4 replies, 2 voices, and was last updated 10 years, 1 month ago by
Anonymous.
-
Ross Moderator(Private) June 8, 2015 at 12:42 pm #19050
Hi Steven
In regards to your first point – do you have a link I could look at?
RE the second, its possible to filter through the query to get this data – however I’m working on a feature where you will have access to some simple functions to achieve that – I can dig the code out or would you prefer to wait for the feature?
Thanks
Ross Moderator(Private) June 12, 2015 at 11:41 am #19412Hi Steven
To answer your questions.
What may be happening is if the post meta data is serialised then the only way to search this in the database is to use a
%LIKE%
compare… in MySQL.Please see this post for more in depth info on how this currently works
Actually, the next version of S&F will likely create a sort of cache for all this info, and I’m hoping that this problem therefore won’t exist (and the search queries will be much faster) but I’m still working through this atm as its not finalised.
You could alternatively create a custom taxonomy where this issue would not occur.
RE your other question, here is a function I wrote to grab taxonomy information from the search (
wp_query
object)https://support.searchandfilter.com/forums/topic/how-to-show-cats-title-in-search-result/#post-13653
And here is post for grabbing ACF data:
https://support.searchandfilter.com/forums/topic/showing-results-under-x-and-y-and-z/#post-14966
Thanks
-
AuthorPosts