首页显示文章的数量可以到后台去设置的,好像就是常规设置那一项。要显示随机文章,如果不用插件的话,你可以用下面的代码:$rand_posts = get_posts('numberposts=4&orderby=rand');foreach( $rand_posts as $post ) : ?>