Display Single Randon Featured Item

Just wondering if there is a way to limit the number of random featured items to 1, at the moment it shows 5 by default and I'm struggling to see where I can set a limit.

I understand that the latest release supports shortcodes that could limit this but I'm not in a position to upgrade to the latest just yet.


In your theme's index.php file, there should be a line similar to this:

<?php echo random_featured_items(); ?>

If you replace that with

<?php echo random_featured_items(1); ?>

it will show just 1 (or whatever number you put in there).

Simple as that, Excellent thank you.