Home › Forums › Themes Support › Claue › Mailchimp Subscriber pop-up
- This topic has 1 reply, 2 voices, and was last updated 6 years, 4 months ago by Harry.
-
AuthorPosts
-
-
November 29, 2017 at 10:09 pm #14125
Hi,
I added the mailchimp subscriber pop-up in my website. Whenever i “close the popup” or “subscribe” , it will store a cookie on my browser which take 1 year expired! How can I make change of it? My Mailchimp Subscriber pop-up is generated by Mailchimp. I copy the code and paste it into my child theme.
** I follow the post you suggested last 2 days https://premium.wpmudev.org/forums/topic/how-to-remove-mailchimp-pop-up-cookie-with-php
add_action( ‘init’, ‘my_deletecookie’, 9999 );add_action( ‘init’, ‘my_deletecookie’, 9999 );
function my_deletecookie() { if( isset( $_COOKIE[‘MCPopupClosed’] ) ) { setcookie( ‘MCPopupClosed’, ‘yes’, time() + 86400 ); } }
The problem I discover:
-> successfully create a “duplicate cookie”, i don’t know which cookie will effect…
-> Every time when i refresh the “new duplicate cookie” will update the new expire date/time
<hr />
-
November 30, 2017 at 1:26 am #14137
Hi,
Where you add these code? I checked in functions.php in claue-child but don’t see the code. Our theme already support fontawesome, so you can remove it in child theme.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.