Using Cookies in Handmade Scripts
-
Hi, I’m trying to use a little script I wrote for adding some control over the CSS on a site I run. It’s different than the functionality offered by the theme switcher plugins, but the concept is similar.
If you check out this link: http://fictionfelicis.com/fiction/beta/index.php, you’ll see that I basically want to allow users to choose a contract, width, and text size. Based on their selection, a different style sheet is imported. It’s working fine on the page above, but as soon as I try to run it in the actual WordPress, it doesn’t get the parameters from the URI. Otherwise, it works fine.
Any help would be much appreciated. Is there perhaps a certain way to use cookies in handmade scripts with WordPress? The code is here: http://fictionfelicis.com/fiction/beta/functions.phps
- The topic ‘Using Cookies in Handmade Scripts’ is closed to new replies.