remove_all_filters('posts_orderby');
$args = array(
'post_type' => 'attachment',
'numberposts' => 6,
'orderby' => 'rand',
'exclude' => get_post_thumbnail_id(),
'post_parent' => $post->ID
);
有人可以向我解释为什么该'orderby' => 'rand'
部分不工作吗?
谢谢!
担