Ciao,
vorrei impostare una variabile in random che (una volta generata) sia valida non soltanto nell’header ma anche nelle altre parti del tema.
<?php $num_color_style=rand(0,2); ?>
Come potete intuire dal nome della variabile, mi servirebbe per determinare il colore predominante all’interno del tema… Purtroppo non riesco ad andare oltre l’header.php dove si trova la riga di codice.
Grazie mille.