I just installed a wordpress plugin that redirects users to a "welcome gate" (think groupon and appsumo), but it only shows it to the user once per year.
I need to make it so that it shows up for them 100% of the time. This way no matter who is coming to my site, whether they've already opted in, etc. they will always hit this welcome gate.
Here's the code that I think needs to be modified but not sure how to accomplish this.
Thanks for the help.
I need to make it so that it shows up for them 100% of the time. This way no matter who is coming to my site, whether they've already opted in, etc. they will always hit this welcome gate.
Here's the code that I think needs to be modified but not sure how to accomplish this.
Code:
$service_cfg = $this->wg_options->opt['wg_services'][$wg_service];
$wg_form_action = $service_cfg['url'];
$wg_input_name = $service_cfg['input_name'];
$wg_configured = $service_cfg['configured'];
$wg_service_fields = $service_cfg['fields'];
$wg_ver = $this->wg_options->get_url_ver();
$wg_has_lp = $this->wg_options->video_player && $wg_lp_enable;
if ($wg_has_lp) {
$lp_shortcode = PlayerVideo::insert_video(array('id' => $wg_video));
}
// cookies
setcookie('lb-wp-splash-page', '1', time()+60*60*24*365);
// include template
include(LB_WG_PLUGIN_DIR . "/templates/" . $temp . "/index.php");
die();
}
/**