Jump to content

Hiding A Div Cookie


robertallen

Recommended Posts

Hi all, I'm new to the forums and fairly new to PHP. I am glad I found you guys.

 

Does anyone know of a simple script that after someone signs up for a mailing list that it will store a cookie that hides the mailing list completely? (Display none?)

 

This is an external mailing list, (through the InfusionSoft) engine, but hopefully just a simple toggle of the "Sign Up Now" on our web site can just set a cookie to hide the DIV tag.

 

Is this possible?

Link to comment
Share on other sites

We have two blocks of content that contain mailing list forms (one is on the sidebar, and the other is in the body copy of the page) on a Wordpress system. When the user clicks submit after they input their information on the mailing list forms we want to be able to hide them from now on on their side every time they visit the site.

 

I was thinking a cookie would do this.

Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.