I'm following along with this guide for creating a search by custom field and displaying results: https://metabox.io/get-posts-by-custom-fields-in-wordpress/
How can I do this if my fields are in a MB custom table. What would I need to amend to your guide. I only need to search by 1 filed. Then once it finds the correct post would need to display a few custom field values.
I'm reading the MB custom table docs at bottom when it talks about query post. But I wasn't sure what to add in the sql query in your example: field1 = 'value1'. Isn't my value the metabox filed value? Would I do something like: $valuename = rwmb_meta( 'field1_name' );
field1_name = '$valuename' and field2 = '$value2name' for that section?
Trying to follow along with the first doc to adapt for MB custom table but just a little lost.
Thanks in advance!