How to get 5 random tags out of all 70 tags
I have about 70 tags, I want to get 5 different random tags out of that 70 each time the page refreshes… this isn’t working for me
<?php wp_tag_cloud( array( 'taxonomy' => 'electrician-perth', format => 'list', order => 'rand', number => '5', smallest => '10', largest => '10') ); ?>
All I get is the same 5 tags in alpha-numeric order each time I refresh my page?
- The topic ‘How to get 5 random tags out of all 70 tags’ is closed to new replies.