306 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Exclusive Author
  • Microlancer Beta Tester
  • United States
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
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.

1028 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 500 and 999 users
+1 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.

219 posts themesdepot.org
  • Elite Author
  • Most Wanted Bounty Winner
  • Sold between 100 000 and 250 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
  • Bought between 50 and 99 items
  • Exclusive Author
+1 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 ?

538 posts Themes and Graphics
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
+4 more
Bebel says

Blank space before ”<?” ?

219 posts themesdepot.org
  • Elite Author
  • Most Wanted Bounty Winner
  • Sold between 100 000 and 250 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
  • Bought between 50 and 99 items
  • Exclusive Author
+1 more
ThemesDepot says

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

1 post
  • Has been a member for 2-3 years
busker says

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

439 posts
  • Bought between 50 and 99 items
  • Europe
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 5 000 and 10 000 dollars
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