Possible to query partial meta value?
-
Hi.
I have 100+ custom posts with custom fields, and some of them are like :
key1 => ‘name1, name2’
key2 => ‘name2’Is there any way to query posts which include ‘name1’ in some meta key?
I know that I can query ‘meta_value’=’name1, name2’ or ‘meta_key’=’key2’, ‘meta_value’=’name2’ but ‘meta_value’=’name1’ doesn’t seem to show me that post. Any help?Thanks in advance.
- The topic ‘Possible to query partial meta value?’ is closed to new replies.