I have a structure like this (which I created):
<div class="banners">
<?php echo do_shortcode("meubanner_1")?>
<?php echo do_shortcode("meubanner_2")?>
<?php echo do_shortcode("meubanner_3")?>
</div>
<div class="banners">
<?php echo do_shortcode("meubanner_4")?>
<?php echo do_shortcode("meubanner_5")?>
<?php echo do_shortcode("meubanner_6")?>
</div>
<div class="banners">
<?php echo do_shortcode("meubanner_7")?>
<?php echo do_shortcode("meubanner_8")?>
<?php echo do_shortcode("meubanner_9")?>
</div>
I need to randomize results from 1 to 9 so that all banners on refresh receive a variable with a random number that does not repeat itself.
Something like: meubanner_$numeroaleatorio
. I'm not sure exactly what this process is, loop, or anything else.