$post_type_val): if($post_type_key == 'attachment') continue; ?>