Skip to content

Instantly share code, notes, and snippets.

@mestrewp
Created May 28, 2012 18:29
Wordpress - Only posts with tumbnail
<?
$args = array(
'meta_key' => '_thumbnail_id'
);
query_posts($args);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment