Can i use any arguments to show random posts on home page with
<?php while (have_posts()) : the_post(); ?>
my wp blog lists some products on home page and i want to show random products each time a client visits.
I’ve found lots of random_post plug-ins. but that was not applicable for me because i want the random product image also and that’s not on any sidebar etc. but as main posts on home page.
please anyone help me
thanks in advance.
- The topic ‘Display random posts on home page using the_post($arg)’ is closed to new replies.