Support » Plugins » Post-background does not change!?!!?!

  • Hi!

    I’m doing a random background by session function i my wp theme. I finally got it to work, when I noticed that the background i white when I click on a post!

    Does anyone know what this can be?

    I have this in my HEADER.PHP:

    <?php include(“background.php”);


    <body background=”<?=$_SESSION[‘background’]?>”>

    and In my BACKGROUND.PHP:


    $_SESSION[‘background’] = ‘wp-content/themes/tutorial2/background/background’ . mt_rand(1, 5). ‘.jpg’;



Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Post-background does not change!?!!?!’ is closed to new replies.