Support » Plugins and Hacks » [Resolved] Display random category icons on index.php / home page
3 years, 11 months ago
I would like to have random category icons. Children of 406 category. I tried the below code but it s not working.
<?php echo get_cat_icon_lite('child_of=406&orderby=rand'); ?>
If I do this it works:
<?php echo get_cat_icon_lite(406); ?>
Any ideas on how to make this work?
3 years, 6 months ago
echo get_cat_icon_lite(rand(1, 406));