<?php

$rand_posts = get_posts('numberposts=10&orderby=rand');

foreach( $rand_posts as $post ) :

?>

<!--下面是你想自定义的Loop-->

<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>

<?php endforeach; ?>

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论
立即
投稿
发表
评论
返回
顶部