I need this piece of code to pull call the slug of the category that has been entered into a custom field rather than the ID (which is the original system). For some reason I can't figure it out. PLEASE HELP!!!
$loop = new WP_Query( array( 'post_type' => 'post', 'posts_per_page' => 3, 'paged' => $paged, 'cat' => get_post_meta( $pag->ID, 'blog_category', true ) ) );