I know we can filter posts with a featured image by using
'meta_query' => array(
array( 'key' => '_thumbnail_id'),
)
in WP_Query()
But how do I get posts without featured image?
I know we can filter posts with a featured image by using
'meta_query' => array(
array( 'key' => '_thumbnail_id'),
)
in WP_Query()
But how do I get posts without featured image?
Comments are closed.
Try this?