Avoiding using a loop to access a single post April 14, 2022 by Tarik Billa how about get_post? $post = get_post( $p ); $group_type = get_post_meta( $post->ID, 'group_type', true );