Para listar post aleatorios en WordPress usamos como siempre la función query_posts pero con el parámetro orderby=rand.

Un ejemplo que loop con 3 post o entradas aleatorias:

<?php query_posts('showposts=3&orderby=rand'); ?>
<ul>
<?php while (have_posts()) : the_post(); ?>
    <li>
        <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
        <p><?php the_excerpt(); ?></p>
    </li>
 <?php endwhile;?>
</ul>

Agradezco tu comentario 🤘