I use a plugin on my wpblog called cookie monster. The developers url is:
The plugin is one php file. The plugin allows for a url parameter to be parsed on the end of the url string, such as… www.blogname/category/?n=test
In the admin panel the admin can set parameters. Such as “n”. Then if code was added to a post or page, such as, [n] then wordpress would check the cookie that was set in the users machine and add the variable within the post or page.
While this simple parameter token replacement using the cookie data is often useful, there is something that I need added to the plugins php code to enable a default value if no cookie is found…
So, something like [n|defaultvalue] would be added to the post or page and then if there was no cookie for the plugin to use then a default value would be added to the post or page in the appropriate area.
a simple project that I need completed quickly…