I have been reading and researching and sadly, I fear my answer is so simple that people are like "Eh, everyone knows THAT!" and the answer cannot be find by me.
Here is the code:
<?php $my_query = new WP_Query('orderby=rand'); ?> <?php while ($my_query->have_posts()) : $my_query->the_post();?> <li>
And what I want to query specific categories, the last number of posts in those categories, for example:
scrolling in order, the last 2 posts from categories 2,4,7,22,100
Can someone help me know what to write in there?