Hi i need help with setting a cookie in wordpress if a user lands on a page in our wordpress site
then when they leave this page, we will use an if statement to show some different content on another page.
Only visitors to this cookie dropping page should get the cookie, all other visitors should not get any cookie,
if found this bit of codehttp://wptheming.com/2011/04/set-a-cookie-in-wordpress/
but its for new visitors, i only want to set a cookie if they land on one page
- 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.