我已经创建了自定义帖子类型,现在我想要显示没有自定义帖子类型的所有帖子。我有显示自定义后这样要显示具有自定义帖子类型的帖子
$args = array(
'post_type' => 'badge',
);
// The query itself
$sb_user_query = new WP_Query($args);
// The loop
while ($sb_user_query->have_posts()) : $sb_user_query->the_post();
$badge_id = $sb_user_query->post->ID;
$badge_title = get_the_title();
$author = get_the_author();
$author_id = get_the_author_ID();
$badge_image_small = get_the_post_thumbnail($badge_id, array(16,16));
$post_data = get_post_meta($badge_id, '_metabox', true);
$comment_data = get_post_meta($badge_id, '_comments', true);
echo $author.$badge_image_small;
endwhile;
现在我想没有“徽章”后型号来显示所有的职位类型。我该怎么做,请帮助我。