I have constructed this query to sort posts on the home page by a set position number in a custom field. However, I need to be able to exclude posts with the position set to '0'. Below is the code working to sort the items, but I cannot get anything to work with excluding the posts.
<?php query_posts('meta_key=home_post_id&orderby=meta_value_num&order=DESC'); ?>
query_posts()– Stephen Harris Oct 30 '12 at 11:29