Forums › Forums › Search & Filter Pro › Filter non-standard data (custom table)
Tagged: V3
- This topic has 3 replies, 2 voices, and was last updated 4 years, 4 months ago by
Trevor.
-
Anonymous(Private) October 29, 2020 at 9:12 pm #264669
Hello,
Hopefully simple enough to explain, but I’d basically like to add in some filters (in addition to standard WP / ACF ones) for custom data that’s associated to posts, but sits outside of standard WP tables.
We have, for example, a custom table for countries (there’s reasons not a taxonomy, that I won’t bore you with!) and we’d like, if at all possible, to treat these custom bits of data in a similar fashion to the Post Meta options.
I’ve seen mention of something similar, I think, with plugins like WooCommerce and their stock management – but not been able to find any documentation (apologies if missed) to point me in the right direction.
Any advice / tips very gratefully received.
Thanks, Tom
Trevor(Private) October 30, 2020 at 9:30 am #264688Our plugin only indexes data sat inside the Post Meta table, sorry. It does not, and cannot be modified to, look at data stored in other tables. Is there a reason why you used a different table, instead of, for example, using a custom field, such as can be made with plugins like Advanced Custom Fields?
Anonymous(Private) October 30, 2020 at 9:39 am #264690Thanks Trevor – re: custom tables, yes – in short, we’ve got a relatively complex Multisite setup – the custom data is essentially a stripped-back / loose equivalent of custom taxonomies that span the network (linking content between sites) – 5 or 6 different tables – some with 10’s of thousands of rows – so not something we’re going to be able to / or realistically should get away from any time soon, unfortunately.
S&F working well on standard stuff – inc. quite heavy usage of ACF (we actually use a modified version of ACF fields to allow these custom data types to be ‘picked’ on the posts/terms).
Are you suggesting fundamentally, it won’t work, or could it be done with some development work? Cracking it would open up a lot of options for us, but if we’re better off looking at an alternative, no worries…
Trevor(Private) October 30, 2020 at 9:50 am #264692You would probably have to heavily modify our plugin. Bearing in mind that we are a few months away from a major version release (V3) with lots of new features, it might be worth waiting till that ships? The featureset is now pretty much fixed (I cannot reveal anything, sorry), but it is much bigger and better.
-
AuthorPosts