Support » Plugins and Hacks » Include posts with empty meta value to custom query
4 years, 1 month ago
I’m trying to list all existing posts, sorted by a custom post meta field. I want _all_ posts in the result, by all posts where the given mety value is empty are not showing. What do I have to change?
$query_string = 'orderby=meta_value&meta_key=easyvote-countdislikes&order=DESC&posts_per_page=-1';