Hello @cnote,
Thanks for your message.
Did you just try to check it?
Best,
Mateusz
Thread Starter
c.note
(@cnote)
Not yet I will try it over the weekend. I’ll setup a playground WP site and install your app.
I was hoping someone might be able to tell so I know whether to even bother trying it, should it work?
Thank you
@cnote This should work fine, but please check it out. Please let me know how it went.
Thread Starter
c.note
(@cnote)
Found the time to do a quick test and YES it works exactly as I hoped it would both the search and the Rest API return results having checked the postmeta.
Nice options in the settings so it will only check certain field types.
-
This reply was modified 4 years, 4 months ago by
c.note.
@cnote how did you manage to make it work? i have the plugin enabled and in search results i don’t get the acf fields, what did you mean by having checked the postmeta?
Thread Starter
c.note
(@cnote)
@standoutpk I didn’t end up using the plugin that particular time as I just used a custom function in functions.php rather than installing the plugin for my project. Its a good plugin but unless I was going to use the settings then a function was sufficient for me.
I didn’t have to do anything to make it work – simply installing the plugin was sufficient it worked straight away. Check the plugin settings I can’t recall if its enabled by default to search those fields.
what did you mean by having checked the postmeta?
Here I meant that I was able to confirm that the search was indeed including the ACF fields in the search as my tests were based on specific search terms I added and I checked/compared the postmeta to confirm the accuracy of the results.