$args = array( 'post__in' => get_option('index-tj'), 'ignore_sticky_posts' => 1, );$query = new WP_Query( $args );if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>
这里给你弄了一个完整的显示代码,你参考看看