WordPress.org

Support

Support » Themes and Templates » Random CSS

Random CSS

  • Hello,

    I want to use random CSS, tried it:

    <?php
    $css = rand(1,5);
    echo “<link rel=’stylesheet’ href='”.$css.”.css’ type=’text/css’>”;
    ?>

    at header.php, but only work in main page, anyone know y?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Random CSS’ is closed to new replies.
Skip to toolbar