WP_Query – Accessing MetaValue from Query Result
The WP_Query() only queries posts from the wp_posts table. Even if you add additional parameters such as: ‘meta_query’ => array( array( ‘key’ => ‘_thumbnail_id’ ‘compare’ => ‘EXISTS’ ) ) It looks at the wp_postmeta table to ensure that the posts it pulls has the post_meta _thumbnail_id but it does not also pull the post meta. … Read more