Now I got it. Thanks for sharing and advices Bebel
<?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?
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.