WordPress.org

Ready to get started?Download WordPress

Forums

MailChimp Widget
Cookie duration and redirect (2 posts)

  1. kendawes
    Member
    Posted 2 years ago #

    Cool plugin!
    I'm using "Widgets on Pages" to place your MailChimp Widget on a page... Works fine!

    What is the duration of the cookie that's set? Can it be changed? Where?

    Also, is it possible to add a redirect so that if the form has been submitted (i.e. the cookie set), you will be redirected to a particular page? Both on submitting as well as upon return to the page with the MailChimp Widget.

    That would be *way* cool! (and handy!)

    Thanks!

    http://wordpress.org/extend/plugins/mailchimp-widget/

  2. Ian Dunn
    Member
    Posted 2 years ago #

    The cookie is set for 365 days and unfortunately the plugin author didn't provide any hooks or options to change that. If you want, you can modify line 217 of lib/ns_widget_mailchimp.class.php, but your changes will be overwritten whenever you upgrade the plugin. See the setcookie() documentation for more info.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic