308 posts
  • Affiliate Level 1
  • Author Level 7
  • Beta Tester
  • Collector Level 2
+5 more
brainbuzzmedia
says

Holy crap themeblvd, thank you so much. That worked. The frustrating this is that I understood everything you were doing because I tried several other php methods and knew how they were supposed to work, yet still couldn’t get them going for some reason. Very generous of you.

1037 posts
  • Affiliate Level 6
  • Author Level 10
  • Collector Level 4
  • Top Monthly Author
+8 more
ThemeBlvd
says

Holy crap themeblvd, thank you so much. That worked. The frustrating this is that I understood everything you were doing because I tried several other php methods and knew how they were supposed to work, yet still couldn’t get them going for some reason. Very generous of you.

No problem. I’m glad it helped.

300 posts themesdepot.org
  • Trendsetter
  • Weekly Top Seller
  • Author Level 9
  • Elite Author
+8 more
ThemesDepot
says

.....

Thank you for your code, i was looking for something like this, i was testing it on one of my themes (localhost)

it works but once i click the link i get this message

Warning: Cannot modify header information – headers already sent by (output started at /path/to/my/theme/template-home-default.php:7) in /path/to/my/theme/header.php on line 24

on line 7 i’ve got

get_header();

and on line 24

setcookie(‘theme-demo-style’, $demo_style);

what’s wrong ?

610 posts Themes and Graphics
  • 6 Years of Membership
  • Affiliate Level 3
  • Author Level 9
  • Beta Tester
+11 more
Bebel
says

Blank space before ”<?” ?

300 posts themesdepot.org
  • Trendsetter
  • Weekly Top Seller
  • Author Level 9
  • Elite Author
+8 more
ThemesDepot
says

Lol yeah now it works :D today i’m a bit sleepy >_>

1 post
  • 3 Years of Membership
busker
says

Could anyone give me a quick hand with this please? Or am I a year too late?! Thanks

438 posts
  • 3 Years of Membership
  • Author Level 4
  • Collector Level 3
  • Exclusive Author
Pixelous
says

i use my own code. with form, selects and plain and simple php post and cookies. why not try simple?

One year past, but I am new at TF, so, duotive, could you please share with your code or maybe I could buy it or maybe it will be cool if you upload it to Code Canyon and another developers could buy it?

by
by
by
by
by
by