308 posts
  • Has referred 1+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+4 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.

1029 posts
  • Has referred 500+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 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.

264 posts themesdepot.org
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a Most Wanted contest
  • Has referred 10+ members
+6 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 ?

596 posts Themes and Graphics
  • Has been part of the Envato Community for over 5 years
  • Has referred 50+ members
  • Has sold $250,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+9 more
Bebel says

Blank space before ”<?” ?

264 posts themesdepot.org
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a Most Wanted contest
  • Has referred 10+ members
+6 more
ThemesDepot says

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

1 post
  • Has been part of the Envato Community for over 3 years
busker says

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

438 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
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?

Helpful Information

  • 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.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by