I’m query looping through the posts post type to return results where the category = news. This works fine.
However, the moment I try and add a meta query like the simple one below then I get no results:
meta key: post_title
meta value: Test news 5
compare: equals
type: char
I’ve done meta queries before using metabox fields and not had an issue so I’m confused as to why matching a single post title is not working? The title of the news post I have entered for the meta value is correct in spelling and case sensitivity.
Any one have an idea?
Thanks.
