Viewing 1 replies (of 1 total)
  • Ewout

    (@pomegranate)

    to remove geoplugin, do the following (in version 1.5 of the Cookie Control plugin)

    remove
    wp_enqueue_script('cookiecontrol_geo', 'http://www.geoplugin.net/javascript.gp', '', '', true);

    and replace
    cookieLawApplies:function(){if(this.countryHasCookieLaw()){return true}return false}

    with
    cookieLawApplies:function(){return true}

    not the most elegant method, but it works :o)
    note that this automatically enables cookie control for ALL countries (assuming that’s what you want)

Viewing 1 replies (of 1 total)

The topic ‘Removing geoplugin’ is closed to new replies.