Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram - Version 1.10.11

Version Description

Added Halloween Gallery templates

Download this release

Release Info

Developer Icegram
Plugin Icon 128x128 Popups, Welcome Bar, Optins and Lead Generation Plugin – Icegram
Version 1.10.11
Comparing to
See all releases

Code changes from version 1.10.10 to 1.10.11

Files changed (4) hide show
  1. assets/images/halloween.png +0 -0
  2. icegram.php +6 -9
  3. ig-offer.php +40 -0
  4. readme.txt +7 -1
assets/images/halloween.png ADDED
Binary file
icegram.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Icegram - Popups, Optins, CTAs & lot more...
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
- * Version: 1.10.10
7
  * Author: icegram
8
  * Author URI: https://www.icegram.com/
9
  * Copyright (c) 2014-16 Icegram
@@ -34,7 +34,7 @@ class Icegram {
34
 
35
  function __construct() {
36
 
37
- $this->version = "1.10.10";
38
  $this->shortcode_instances = array();
39
  $this->mode = 'local';
40
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
@@ -151,16 +151,13 @@ class Icegram {
151
  public function add_admin_notices(){
152
  $screen = get_current_screen();
153
  if ( !in_array( $screen->id, array( 'ig_campaign', 'ig_message','edit-ig_message','edit-ig_campaign' ), true ) ) return;
154
- $active_plugins = get_option( 'active_plugins', array() );
155
- include_once('ig-survey.php');
156
- ?>
157
- <?php
158
  }
159
  public function dismiss_admin_notice(){
160
- if(isset($_GET['dismiss_admin_notice']) && $_GET['dismiss_admin_notice'] == '1' && isset($_GET['option_name'])){
161
- $option_name = sanitize_text_field($_GET['option_name']);
162
  update_option($option_name.'_icegram', true);
163
- wp_safe_redirect($_SERVER['HTTP_REFERER']);
164
  exit();
165
  }
166
  }
3
  * Plugin Name: Icegram - Popups, Optins, CTAs & lot more...
4
  * Plugin URI: https://www.icegram.com/
5
  * Description: All in one solution to inspire, convert and engage your audiences. Action bars, Popup windows, Messengers, Toast notifications and more. Awesome themes and powerful rules.
6
+ * Version: 1.10.11
7
  * Author: icegram
8
  * Author URI: https://www.icegram.com/
9
  * Copyright (c) 2014-16 Icegram
34
 
35
  function __construct() {
36
 
37
+ $this->version = "1.10.11";
38
  $this->shortcode_instances = array();
39
  $this->mode = 'local';
40
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
151
  public function add_admin_notices(){
152
  $screen = get_current_screen();
153
  if ( !in_array( $screen->id, array( 'ig_campaign', 'ig_message','edit-ig_message','edit-ig_campaign' ), true ) ) return;
154
+ include_once('ig-offer.php');
 
 
 
155
  }
156
  public function dismiss_admin_notice(){
157
+ if(isset($_GET['ig_dismiss_admin_notice']) && $_GET['ig_dismiss_admin_notice'] == '1' && isset($_GET['ig_option_name'])){
158
+ $option_name = sanitize_text_field($_GET['ig_option_name']);
159
  update_option($option_name.'_icegram', true);
160
+ header("Location: https://www.icegram.com/pricing?utm_source=in-app&utm_medium=banner&utm_campaign=halloween2017");
161
  exit();
162
  }
163
  }
ig-offer.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $screen = get_current_screen();
3
+ if ( !in_array( $screen->id, array( 'ig_campaign', 'ig_message','edit-ig_message','edit-ig_campaign' ), true ) ) return;
4
+ if( get_option('ig_offer_accepted_icegram') == 1 ) return;
5
+ ?>
6
+ <style type="text/css">
7
+ .ig-offer-container {
8
+ background-color: rgb(77,14,39) !important;
9
+ margin-top: 1%;
10
+ padding: 1em 1em 0.5em 1.6em;
11
+ box-shadow: 0 0 7px 0 rgba(0, 0, 0, .2);
12
+ color: rgb(200,195,210);
13
+ font-size: 1.1em;
14
+ height: auto;
15
+ max-width: 35%;
16
+ margin: 1% auto;
17
+ text-align: center;
18
+ }
19
+ .ig-offer-wrapper {
20
+ margin-bottom:0.4em;
21
+ }
22
+ .ig-btn-wrapper{
23
+ margin: 2em 0;
24
+ }
25
+ </style>
26
+ <div class="ig-offer-container wrap">
27
+ <div class="ig-offer-wrapper">
28
+ <div class="ig-offer-headline">
29
+ <div class="ig-mainheadline"><img src="<?php echo $this->plugin_url ?>/assets/images/halloween.png"/></div>
30
+ <div class="" style=" font-size: 1.5em;line-height: 1.4; margin: 1.6em 0;">
31
+ BOO!!! It's the Halloween sale.<br/> Get <span style="color:#fff;font-weight:bold">flat 20% Off</span> on any Icegram plan. <br/><br/>
32
+ Use coupon code <span style="color:#fff;font-weight:bold">HALLOWEEN17</span> during checkout!<br/>
33
+ Offer ends on 31st October, 2017.
34
+ </div>
35
+ <div class="ig-btn-wrapper">
36
+ <a href="?ig_dismiss_admin_notice=1&ig_option_name=ig_offer_accepted" class="btn" style="cursor:pointer;background: #e94e21;background-image: linear-gradient(to bottom, #e94e21, #ef3124);-webkit-border-radius: 28;-moz-border-radius: 28;border-radius: 27px;font-family: sans-serif;color: #ffffff;font-size: 2em;padding: 0.3em 1.2em;text-decoration: none;">SHOP NOW</a>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.icegram.com/
4
  Tags: popup, Exit-popup, optin-popup, popups, hellobar, optin, lead capture, form, marketing, notification, messenger, targeting, monster, ninja ,wordpress lead generation, wordpress lightbox optin, wordpress lightbox optin form, wordpress lightbox optins, wordpress mobile optin forms, wordpress mobile popup, wordpress mobile popups, wordpress optin form, wordpress overlay popup, wordpress popup, wordpress popup form, wordpress popup plugin, wordpress popup solution, wordpress popups , popups, subscribe, wp popups, optin bars, action grabber, promotion, popup message, leads, lists, builder, action bar, floating bar, footer bar, hellobar alternative, pop over, Popup plugin, aweber, campaign monitor, constant contact, email list, exit-intent, onclick popup, analytics, Hubspot, popup ads, pop-up, Mailing list pop-up, re-targeting, Animation,Popups with Animation ,Responsive Popup, split testing, AB testing
5
  Requires at least: 3.9
6
  Tested up to: 4.8.1
7
- Stable tag: 1.10.10
8
  License: GPLv3
9
 
10
  The best WP popup plugin that let's you create a popup within seconds. Customize, target popups to show offers, email signups, social buttons etc and instantly increase conversions on your website.
@@ -217,6 +217,9 @@ Contact Us, provide as much detail of the problem as you can. We will try to sol
217
  5. Target your Icegram message using these display rules
218
 
219
  == Upgrade Notice ==
 
 
 
220
  = 1.10.10 =
221
  Revised Gallery Templates
222
 
@@ -405,6 +408,9 @@ Initial Release
405
 
406
 
407
  == Changelog ==
 
 
 
408
  = 1.10.10 =
409
  * Enhancement: Revised Gallery templates
410
 
4
  Tags: popup, Exit-popup, optin-popup, popups, hellobar, optin, lead capture, form, marketing, notification, messenger, targeting, monster, ninja ,wordpress lead generation, wordpress lightbox optin, wordpress lightbox optin form, wordpress lightbox optins, wordpress mobile optin forms, wordpress mobile popup, wordpress mobile popups, wordpress optin form, wordpress overlay popup, wordpress popup, wordpress popup form, wordpress popup plugin, wordpress popup solution, wordpress popups , popups, subscribe, wp popups, optin bars, action grabber, promotion, popup message, leads, lists, builder, action bar, floating bar, footer bar, hellobar alternative, pop over, Popup plugin, aweber, campaign monitor, constant contact, email list, exit-intent, onclick popup, analytics, Hubspot, popup ads, pop-up, Mailing list pop-up, re-targeting, Animation,Popups with Animation ,Responsive Popup, split testing, AB testing
5
  Requires at least: 3.9
6
  Tested up to: 4.8.1
7
+ Stable tag: 1.10.11
8
  License: GPLv3
9
 
10
  The best WP popup plugin that let's you create a popup within seconds. Customize, target popups to show offers, email signups, social buttons etc and instantly increase conversions on your website.
217
  5. Target your Icegram message using these display rules
218
 
219
  == Upgrade Notice ==
220
+ = 1.10.11 =
221
+ Added Halloween Gallery templates
222
+
223
  = 1.10.10 =
224
  Revised Gallery Templates
225
 
408
 
409
 
410
  == Changelog ==
411
+ = 1.10.11 =
412
+ * New: Added Halloween Gallery templates
413
+
414
  = 1.10.10 =
415
  * Enhancement: Revised Gallery templates
416