286 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
AkinGn says

Now I got it. Thanks for sharing and advices Bebel :)

45 posts
  • Has collected 10+ items on Envato Market
  • Pulled off some great moustache to raise money or awareness for Movember Australia
  • Has been part of the Envato Community for over 2 years
  • Located in United States
premiumwd says

Hi,

Place <?php session_start() ?> at the top of functions.php file then in your header.php use the code below

<?php

$_SESSION['color'] = 'blue';
if(isset($_GET['color']))
    $_SESSION['color'] = $_GET['color'];

?>

<link href="<?php bloginfo('template_directory'); ?>/css/<?php echo $_SESSION['color']; ?>.css" rel="stylesheet" type="text/css" media="all" />

Hi I know this is an old post, but I would like to know how you outputed this session for the colors?

by
by
by
by
by
by