could someone please help me?
Hmm… May be you could consider using Checkbox field instead of a simple text field and loop through your
$value array to generate your meta_query $args dynamically. Then using the code provided here to query the posts: http://www.advancedcustomfields.com/resources/checkbox/
Hello the question was updated:
Is it impossible if I only use text fields?
because there is a chance that user is going to input new hobbies and sports. If I use checkbox, What im gonna do? Do you mean that Whatever I type in the custom fields inside the post, It will going to populate the checkbox field on the “Page query template”? Sorry im not really good at php that’s why