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

Version Description

Revised Gallery Templates for Black Friday and Cyber Monday

Download this release

Release Info

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

Code changes from version 1.10.24 to 1.10.25

assets/images/happy-hallowen.png DELETED
Binary file
assets/images/ig-growth-rocket_2.png DELETED
Binary file
assets/images/ig-offer.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.24
7
  * Author: icegram
8
  * Author URI: https://www.icegram.com/
9
  * Copyright (c) 2014-16 Icegram
@@ -33,7 +33,7 @@ class Icegram {
33
  public static $current_page_id;
34
 
35
  function __construct() {
36
- $this->version = "1.10.24";
37
  $this->shortcode_instances = array();
38
  $this->mode = 'local';
39
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
@@ -165,23 +165,23 @@ class Icegram {
165
  echo '<div class="notice notice-warning" style="background-color: #FFF;"><p style="letter-spacing: 0.6px;">' . $ig_rating_text . ' <a style="float:right" class="ig-admin-btn ig-admin-btn-secondary" href="?ig_dismiss_admin_notice=1&option_name=ig_star_review">' . __( 'No, I don\'t like it', true ) . '</a></p></div>';
166
  }
167
  //star review end
168
- //halloween 2018 :start
169
  $timezone_format = _x('Y-m-d', 'timezone date format');
170
  $ig_current_date = strtotime(date_i18n($timezone_format));
171
- $ig_offer_start = strtotime("2018-10-30");
172
- $ig_offer_end = strtotime("2018-11-2");
173
  if(($ig_current_date >= $ig_offer_start) && ($ig_current_date <= $ig_offer_end)) {
174
  include_once('ig-offer.php');
175
  }
176
- //halloween 2018 :end
177
 
178
  }
179
  public function dismiss_admin_notice(){
180
  if(isset($_GET['ig_dismiss_admin_notice']) && $_GET['ig_dismiss_admin_notice'] == '1' && isset($_GET['ig_option_name'])){
181
  $option_name = sanitize_text_field( $_GET['ig_option_name'] );
182
  update_option($option_name.'_icegram', true);
183
- if($option_name === 'ig_offer_halloween_done_2018'){
184
- header("Location: https://www.icegram.com/latest-valid-coupons-discounts-offers-deals/?utm_source=in_app&utm_medium=ig_banner&utm_campaign=halloween_2018");
185
  exit();
186
  }else{
187
  $referer = wp_get_referer();
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.25
7
  * Author: icegram
8
  * Author URI: https://www.icegram.com/
9
  * Copyright (c) 2014-16 Icegram
33
  public static $current_page_id;
34
 
35
  function __construct() {
36
+ $this->version = "1.10.25";
37
  $this->shortcode_instances = array();
38
  $this->mode = 'local';
39
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
165
  echo '<div class="notice notice-warning" style="background-color: #FFF;"><p style="letter-spacing: 0.6px;">' . $ig_rating_text . ' <a style="float:right" class="ig-admin-btn ig-admin-btn-secondary" href="?ig_dismiss_admin_notice=1&option_name=ig_star_review">' . __( 'No, I don\'t like it', true ) . '</a></p></div>';
166
  }
167
  //star review end
168
+ //bfcm 2018 :start
169
  $timezone_format = _x('Y-m-d', 'timezone date format');
170
  $ig_current_date = strtotime(date_i18n($timezone_format));
171
+ $ig_offer_start = strtotime("2018-11-22");
172
+ $ig_offer_end = strtotime("2018-11-28");
173
  if(($ig_current_date >= $ig_offer_start) && ($ig_current_date <= $ig_offer_end)) {
174
  include_once('ig-offer.php');
175
  }
176
+ //bfcm 2018 :end
177
 
178
  }
179
  public function dismiss_admin_notice(){
180
  if(isset($_GET['ig_dismiss_admin_notice']) && $_GET['ig_dismiss_admin_notice'] == '1' && isset($_GET['ig_option_name'])){
181
  $option_name = sanitize_text_field( $_GET['ig_option_name'] );
182
  update_option($option_name.'_icegram', true);
183
+ if($option_name === 'ig_offer_bfcm_done_2018'){
184
+ header("Location: https://www.icegram.com/latest-valid-coupons-discounts-offers-deals/?utm_source=in_app&utm_medium=ig_banner&utm_campaign=bfcm_2018");
185
  exit();
186
  }else{
187
  $referer = wp_get_referer();
ig-offer.php CHANGED
@@ -1,73 +1,14 @@
1
  <?php
2
- if( get_option('ig_offer_halloween_done_2018_icegram') == 1 ) return;
3
  ?>
4
  <style type="text/css">
5
  .ig_offer{
6
  width: 70%;
7
- height: auto;
8
- margin: 1em auto;
9
  text-align: center;
10
- background-color: #f18322;
11
- font-size: 1.2em;
12
- letter-spacing: 3px;
13
- line-height: 1em;
14
- padding: 1.2em;
15
- background-image: url('<?php echo $this->plugin_url ?>/assets/images/happy-hallowen.png');
16
- background-repeat: no-repeat;
17
- background-size: 40%;
18
- background-position: left;
19
- }
20
- .ig_offer_heading{
21
- color: #FFF;
22
- padding: 1em 0;
23
- line-height: 1em;
24
- margin-left: 9em;
25
- }
26
- .ig_main_heading {
27
- font-size: 5em;
28
- color: #b70f0f;
29
- font-weight: 600;
30
- line-height: 1em;
31
- position: relative;
32
- }
33
-
34
- .ig_text{
35
- font-size: 0.9em;
36
- }
37
- .ig_left_text{
38
- padding: 0.5em 0em;
39
- color: #000;
40
- }
41
- .ig_right_text{
42
- color: #FFFFFF;
43
- font-weight: 600;
44
- max-width: 50%;
45
- padding: 10px 56px;
46
- width: auto;
47
- margin: 0.3em 0em;
48
- display: inline-block;
49
- text-decoration: none;
50
- background: #b70f0f;
51
- font-size: 2em;
52
- line-height: 1.2em;
53
- }
54
- .ig_right_text:hover, .ig_right_text:active{
55
- color: inherit;
56
- }
57
- .ig_offer_content{
58
- margin-left: 35%;
59
  }
60
  </style>
61
  <div class="ig_offer">
62
- <div style="float:right;"><img src="<?php echo $this->plugin_url ?>/assets/images/icegram-logo-16bit-gray-30.png" /></div>
63
- <div class="ig_offer_content">
64
- <div class="ig_offer_heading">&mdash; Halloween Sale &mdash;</div>
65
- <div class="ig_main_heading">Upto 50% OFF</div>
66
- <div class="ig_text">
67
- <div class="ig_left_text" style="font-size:1.1em;">Offer applicable on</div>
68
- <div class="ig_left_text" style="font-size:1.1em;"> <span style="color:#FFF;font-weight:bold">Icegram, Rainmaker & Email Subscribers</span></div>
69
- <a href="?ig_dismiss_admin_notice=1&ig_option_name=ig_offer_halloween_done_2018" target="_blank" class="ig_right_text">Claim This Offer</a>
70
- <div class="ig_left_text">Offer ends on 2nd November, 2018 - so hurry.. </div>
71
- </div>
72
- </div>
73
  </div>
1
  <?php
2
+ if( get_option('ig_offer_bfcm_done_2018_icegram') == 1 ) return;
3
  ?>
4
  <style type="text/css">
5
  .ig_offer{
6
  width: 70%;
7
+ margin: 0 auto;
 
8
  text-align: center;
9
+ padding-top: 1.2em;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  }
11
  </style>
12
  <div class="ig_offer">
13
+ <a target="_blank" href="?ig_dismiss_admin_notice=1&ig_option_name=ig_offer_bfcm_done_2018"><img src="<?php echo $this->plugin_url ?>/assets/images/ig-offer.png" /></a>
 
 
 
 
 
 
 
 
 
 
14
  </div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.icegram.com/
4
  Tags: popup, wordpress popups,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.9.8
7
- Stable tag: 1.10.24
8
  License: GPLv3
9
 
10
  The best WP popup plugin that let's you create a popup within seconds. Customize popup, 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.24 =
221
  Revised Gallery Templates for halloween
222
 
@@ -447,6 +450,9 @@ Initial Release
447
 
448
 
449
  == Changelog ==
 
 
 
450
  = 1.10.24 =
451
  * Enhancement: Revised Gallery Templates for halloween
452
 
4
  Tags: popup, wordpress popups,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.9.8
7
+ Stable tag: 1.10.25
8
  License: GPLv3
9
 
10
  The best WP popup plugin that let's you create a popup within seconds. Customize popup, 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.25 =
221
+ Revised Gallery Templates for Black Friday and Cyber Monday
222
+
223
  = 1.10.24 =
224
  Revised Gallery Templates for halloween
225
 
450
 
451
 
452
  == Changelog ==
453
+ = 1.10.25 =
454
+ * Enhancement: Revised Gallery Templates for Black Friday and Cyber Monday
455
+
456
  = 1.10.24 =
457
  * Enhancement: Revised Gallery Templates for halloween
458