I am not a coder and I don’t have any above level skills in php. But I found this piece of code for placing a specific category and it WORKS!
$featuredPosts = new WP_Query();
<?php endwhile; ?>
Now my problem is, how can I make a random post from that specific category? I guess a small insertion of code, something like that. Thank you very much for taking some time regarding my problem.
- The topic ‘Adding a random post’ is closed to new replies.