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

Version Description

Campaign and message duplicate feture added. Plus some other improvements.

Download this release

Release Info

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

Code changes from version 1.8.2 to 1.8.3

assets/images/arrows-sprite.png ADDED
Binary file
assets/js/icegram.js CHANGED
@@ -41,10 +41,10 @@
41
  jQuery.each( this.message_data, function ( i, v ) {
42
  try {
43
  //check cookies in js
44
- if(jQuery.cookie('icegram_messages_shown_'+v['id']) == 1){
45
  return;
46
  }
47
- if(jQuery.cookie('icegram_messages_clicked_'+v['id']) == 1){
48
  return;
49
  }
50
 
41
  jQuery.each( this.message_data, function ( i, v ) {
42
  try {
43
  //check cookies in js
44
+ if(v['retargeing'] == 'yes' && jQuery.cookie('icegram_messages_shown_'+v['id']) == 1){
45
  return;
46
  }
47
+ if(v['retargeing_clicked'] == 'yes' && jQuery.cookie('icegram_messages_clicked_'+v['id']) == 1){
48
  return;
49
  }
50
 
classes/class-icegram-campaign-admin.php CHANGED
@@ -17,7 +17,9 @@ if ( !class_exists( 'Icegram_Campaign_Admin' ) ) {
17
  add_filter( 'wp_default_editor', create_function('', 'return "html";') );
18
  add_action( 'wp_ajax_save_campaign_preview', array( &$this, 'save_campaign_preview' ) );
19
  add_action( 'icegram_campaign_target_rules', array( &$this, 'icegram_add_campaign_target_rules' ), 10, 2 );
20
-
 
 
21
  $this->site_url = site_url().'/';
22
 
23
  $this->default_target_rules = apply_filters( 'icegram_campaign_default_rules',
@@ -630,5 +632,19 @@ if ( !class_exists( 'Icegram_Campaign_Admin' ) ) {
630
  die();
631
 
632
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
633
  }
634
  }
17
  add_filter( 'wp_default_editor', create_function('', 'return "html";') );
18
  add_action( 'wp_ajax_save_campaign_preview', array( &$this, 'save_campaign_preview' ) );
19
  add_action( 'icegram_campaign_target_rules', array( &$this, 'icegram_add_campaign_target_rules' ), 10, 2 );
20
+ //duplicate campaign
21
+ add_filter( 'post_row_actions', array(&$this , 'add_campaign_action'), 10, 2 );
22
+ add_action('admin_init', array(&$this ,'duplicate_campaign') ,10, 1);
23
  $this->site_url = site_url().'/';
24
 
25
  $this->default_target_rules = apply_filters( 'icegram_campaign_default_rules',
632
  die();
633
 
634
  }
635
+
636
+ function add_campaign_action( $actions, $post ){
637
+ if ($post->post_type != 'ig_campaign') return $actions;
638
+
639
+ // Create a nonce & add an action
640
+ $actions['duplicate_campaign'] = '<a class="ig-duplicate-campaign" href="post.php?campaign_id='.$post->ID.'&action=duplicate-campaign" >'.__('Duplicate' ,'icegram').'</a>';
641
+ return $actions;
642
+ }
643
+
644
+ function duplicate_campaign(){
645
+ if($_REQUEST['action'] == 'duplicate-campaign' && !empty($_REQUEST['campaign_id'])){
646
+ Icegram::duplicate( $_REQUEST['campaign_id'] );
647
+ }
648
+ }
649
  }
650
  }
classes/class-icegram-message-admin.php CHANGED
@@ -24,6 +24,10 @@ if ( !class_exists( 'Icegram_Message_Admin' ) ) {
24
  add_action( 'media_buttons', array(&$this, 'embed_form_button'), 11, 1);
25
  add_action( 'admin_footer', array(&$this, 'embed_form_popup_content') );
26
 
 
 
 
 
27
  }
28
  public static function getInstance(){
29
  static $ig_message_admin = null;
@@ -588,5 +592,17 @@ if ( !class_exists( 'Icegram_Message_Admin' ) ) {
588
  ) );
589
  return $available_headlines;
590
  }
 
 
 
 
 
 
 
 
 
 
 
 
591
  }
592
  }
24
  add_action( 'media_buttons', array(&$this, 'embed_form_button'), 11, 1);
25
  add_action( 'admin_footer', array(&$this, 'embed_form_popup_content') );
26
 
27
+ //duplicate message
28
+ add_filter( 'post_row_actions', array(&$this , 'add_message_action'), 10, 2 );
29
+ add_action('admin_init', array(&$this ,'duplicate_message') ,10, 1);
30
+
31
  }
32
  public static function getInstance(){
33
  static $ig_message_admin = null;
592
  ) );
593
  return $available_headlines;
594
  }
595
+
596
+ function add_message_action( $actions, $post ){
597
+ if ($post->post_type != 'ig_message') return $actions;
598
+ $actions['duplicate_message'] = '<a class="ig-duplicate-message" href="post.php?message_id='.$post->ID.'&action=duplicate-message" >'.__('Duplicate' ,'icegram').'</a>';
599
+ return $actions;
600
+ }
601
+
602
+ function duplicate_message(){
603
+ if($_REQUEST['action'] == 'duplicate-message' && !empty($_REQUEST['message_id'])){
604
+ Icegram::duplicate( $_REQUEST['message_id'] );
605
+ }
606
+ }
607
  }
608
  }
icegram.php CHANGED
@@ -3,8 +3,8 @@
3
  * Plugin Name: Icegram
4
  * Plugin URI: http://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.8.2
7
- * Author: Icegram
8
  * Author URI: http://www.icegram.com/
9
  *
10
  * Copyright (c) 2014 Icegram
@@ -34,7 +34,7 @@ class Icegram {
34
 
35
  function __construct() {
36
 
37
- $this->version = "1.8.2";
38
  $this->shortcode_instances = array();
39
  $this->mode = 'local';
40
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
@@ -555,7 +555,7 @@ class Icegram {
555
  unset( $messages[$key] );
556
  continue;
557
  }
558
- if( !empty( $message_data['id'] ) &&
559
  empty( $_GET['campaign_preview_id'] ) &&
560
  !empty($_COOKIE['icegram_messages_clicked_'.$message_data['id']]) &&
561
  !empty( $message_data['retargeting_clicked'] ) &&
@@ -627,7 +627,6 @@ class Icegram {
627
 
628
  wp_register_script( 'icegram_js', $this->plugin_url . '/assets/js/icegram.js', array ( 'jquery' ), $this->version, true);
629
  wp_enqueue_style( 'icegram_css', $this->plugin_url . '/assets/css/frontend.css', array(), $this->version );
630
- wp_enqueue_style( 'dashicons' );
631
 
632
  if( !wp_script_is( 'icegram_js' ) ) {
633
  wp_enqueue_script( 'icegram_js' );
@@ -1380,6 +1379,44 @@ class Icegram {
1380
  return $pee;
1381
  }
1382
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1383
  }
1384
 
1385
  function initialize_icegram() {
3
  * Plugin Name: Icegram
4
  * Plugin URI: http://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.8.3
7
+ * Author: icegram
8
  * Author URI: http://www.icegram.com/
9
  *
10
  * Copyright (c) 2014 Icegram
34
 
35
  function __construct() {
36
 
37
+ $this->version = "1.8.3";
38
  $this->shortcode_instances = array();
39
  $this->mode = 'local';
40
  $this->plugin_url = untrailingslashit( plugins_url( '/', __FILE__ ) );
555
  unset( $messages[$key] );
556
  continue;
557
  }
558
+ if( !empty( $message_data['id'] ) &&
559
  empty( $_GET['campaign_preview_id'] ) &&
560
  !empty($_COOKIE['icegram_messages_clicked_'.$message_data['id']]) &&
561
  !empty( $message_data['retargeting_clicked'] ) &&
627
 
628
  wp_register_script( 'icegram_js', $this->plugin_url . '/assets/js/icegram.js', array ( 'jquery' ), $this->version, true);
629
  wp_enqueue_style( 'icegram_css', $this->plugin_url . '/assets/css/frontend.css', array(), $this->version );
 
630
 
631
  if( !wp_script_is( 'icegram_js' ) ) {
632
  wp_enqueue_script( 'icegram_js' );
1379
  return $pee;
1380
  }
1381
 
1382
+ static function duplicate( $original_id ){
1383
+ // Get access to the database
1384
+ global $wpdb;
1385
+ // Get the post as an array
1386
+ $duplicate = get_post( $original_id, 'ARRAY_A' );
1387
+ // Modify some of the elements
1388
+ $duplicate['post_title'] = $duplicate['post_title'].' '.__('Copy', 'icegram');
1389
+ $duplicate['post_status'] = 'draft';
1390
+ // Set the post date
1391
+ $timestamp = current_time('timestamp',0);
1392
+
1393
+ $duplicate['post_date'] = date('Y-m-d H:i:s', $timestamp);
1394
+
1395
+ // Remove some of the keys
1396
+ unset( $duplicate['ID'] );
1397
+ unset( $duplicate['guid'] );
1398
+ unset( $duplicate['comment_count'] );
1399
+
1400
+ // Insert the post into the database
1401
+ $duplicate_id = wp_insert_post( $duplicate );
1402
+
1403
+ // Duplicate all taxonomies/terms
1404
+ $taxonomies = get_object_taxonomies( $duplicate['post_type'] );
1405
+ foreach( $taxonomies as $taxonomy ) {
1406
+ $terms = wp_get_post_terms( $original_id, $taxonomy, array('fields' => 'names') );
1407
+ wp_set_object_terms( $duplicate_id, $terms, $taxonomy );
1408
+ }
1409
+
1410
+ // Duplicate all custom fields
1411
+ $custom_fields = get_post_custom( $original_id );
1412
+ foreach ( $custom_fields as $key => $value ) {
1413
+ add_post_meta( $duplicate_id, $key, maybe_unserialize($value[0]) );
1414
+ }
1415
+ $location = admin_url( 'post.php?post='.$duplicate_id.'&action=edit');
1416
+ header('Location:'.$location);
1417
+ exit;
1418
+ }
1419
+
1420
  }
1421
 
1422
  function initialize_icegram() {
message-types/action-bar/default.css CHANGED
@@ -68,7 +68,7 @@
68
  font-size: 20px;
69
  cursor: pointer;
70
  line-height: 0;
71
- padding: 8px;
72
  float: right;
73
  }
74
 
@@ -87,33 +87,29 @@
87
  filter: alpha(opacity=90);
88
  opacity: 0.9;
89
  }
90
-
91
- .action_bar .ig_arrow_block span {
92
- font-size: 20px;
93
- cursor: pointer;
94
  }
95
-
96
- .action_bar .ig_arrow:after {
97
- font-family: dashicons;
98
- content: "\f346";
 
99
  }
100
-
101
- .action_bar .top .ig_arrow_block.open {
102
- padding: 5px;
103
- margin-right: 5px;
104
- margin-top: 8px;
105
- background-color: transparent !important;
106
  }
107
 
108
- .action_bar .bottom .ig_arrow_block.open {
109
- padding: 5px;
110
- margin-right: 5px;
111
  }
112
-
113
- .action_bar .rotate {
114
- transform:rotate(180deg);
115
- -ms-transform:rotate(180deg); /* IE 9 */
116
- -webkit-transform:rotate(180deg); /* Opera, Chrome, and Safari */
117
  }
118
 
119
  div.icegram .action_bar form {
68
  font-size: 20px;
69
  cursor: pointer;
70
  line-height: 0;
71
+ padding: 4px !important;
72
  float: right;
73
  }
74
 
87
  filter: alpha(opacity=90);
88
  opacity: 0.9;
89
  }
90
+ .action_bar .rotate {
91
+ transform:rotate(180deg);
92
+ -ms-transform:rotate(180deg);
93
+ -webkit-transform:rotate(180deg);
94
  }
95
+ .action_bar .ig_arrow_block span{
96
+ cursor: pointer;
97
+ display: inline-block;
98
+ padding: 2px;
99
+ overflow: hidden;
100
  }
101
+ .action_bar.top .ig_arrow_block span , .action_bar.bottom .ig_arrow_block span {
102
+ background-image: url(../../assets/images/arrows-sprite.png);
103
+ background-repeat: no-repeat;
104
+ width: 28px;
105
+ height: 28px;
 
106
  }
107
 
108
+ .action_bar.top .ig_arrow_block span {
109
+ background-position: -2px -5px;
 
110
  }
111
+ .action_bar.bottom .ig_arrow_block span {
112
+ background-position: -4px -5px;
 
 
 
113
  }
114
 
115
  div.icegram .action_bar form {
message-types/action-bar/main.js CHANGED
@@ -100,6 +100,7 @@ Icegram_Message_Type_Action_Bar.prototype.show = function ( options, silent ) {
100
  this.el.animate({
101
  marginTop: 0
102
  }, 300);
 
103
  break;
104
  }
105
  silent !== true && this.track( 'shown' );
100
  this.el.animate({
101
  marginTop: 0
102
  }, 300);
103
+ //action bar
104
  break;
105
  }
106
  silent !== true && this.track( 'shown' );
message-types/messenger/default.css CHANGED
@@ -1,4 +1,4 @@
1
- .messenger.ig_container {
2
  display: block;
3
  position: fixed;
4
  cursor: pointer;
@@ -10,39 +10,39 @@
10
  text-align: left;
11
  }
12
 
13
- .messenger.ig_container, .messenger.ig_container .ig_content {
14
  background-color: transparent !important;
15
  }
16
 
17
- .messenger .ig_content {
18
 
19
  }
20
 
21
- .messenger .ig_header {
22
  position: relative;
23
  overflow: hidden;
24
  display: block;
25
  white-space: nowrap;
26
  }
27
 
28
- .messenger .ig_header_image {
29
  display: inline-block;
30
  }
31
 
32
- .messenger .ig_header_text {
33
  text-decoration: none;
34
  font-weight: 700;
35
  overflow: hidden;
36
  }
37
 
38
- .messenger .ig_headline {
39
  overflow: hidden;
40
  display: inline-block;
41
  text-decoration: none;
42
  white-space: nowrap;
43
  }
44
 
45
- .messenger .ig_header2_image {
46
  height: 30px;
47
  position: relative;
48
  display: block;
@@ -51,27 +51,27 @@
51
  border-top: none;
52
  }
53
 
54
- .messenger .ig_body {
55
  overflow-x: hidden;
56
  display: block;
57
  border-bottom: none;
58
  }
59
 
60
- .messenger .ig_message {
61
  text-align: left;
62
  word-wrap: break-word;
63
  display: inline-block;
64
  }
65
 
66
- .messenger .ig_message p {
67
  margin-bottom: 0.25em;
68
  }
69
 
70
- .messenger .ig_no_icon.ig_message {
71
  width: 91%;
72
  }
73
 
74
- .messenger .ig_separator {
75
  color: transparent;
76
  background: transparent;
77
  border: none;
@@ -81,59 +81,59 @@
81
  margin: 1px 0 2px;
82
  }
83
 
84
- .messenger .ig_footer {
85
  position: relative;
86
  display: block;
87
  background-repeat: no-repeat;
88
  }
89
 
90
- .messenger .ig_footer_image {
91
  background-repeat: no-repeat;
92
  position: relative;
93
  display: block;
94
  }
95
 
96
- .messenger .ig_close {
97
  position: absolute;
98
  display: inline-block;
99
  background-repeat: no-repeat;
100
  }
101
 
102
- .messenger .ig_icon {
103
  height: 28px;
104
  width: 28px;
105
  vertical-align: top;
106
  }
107
 
108
- .messenger .powered_by {
109
  font-size: 10px;
110
  position: relative;
111
  }
112
- .messenger .ig_embed_form.ig_vertical.ig_quarter .ig_embed_form_container,
113
- .messenger .ig_embed_form.ig_horizontal.ig_quarter .ig_embed_form_container{
114
  width: 50%!important;
115
  }
116
 
117
- .messenger .ig_embed_form.ig_vertical.ig_half li,
118
- .messenger .ig_embed_form.ig_vertical.ig_quarter li,
119
- .messenger .ig_embed_form.ig_horizontal.ig_half li,
120
- .messenger .ig_embed_form.ig_horizontal.ig_quarter li{
121
  min-width: 96% !important;
122
  }
123
 
124
- .messenger .ig_button,
125
- .messenger input[type="submit"],
126
- .messenger input[type="button"] {
127
  border-bottom : none;
128
  cursor: pointer;
129
  }
130
- .messenger .ig_button:active,
131
- .messenger input[type="submit"]:active,
132
- .messenger input[type="button"]:active {
133
  border-top : none;
134
  }
135
 
136
- .messenger .ig_close {
137
  background: no-repeat url(../messenger/images/clear-header.png) 0 -195px;
138
  right: 10px;
139
  top: 20px;
1
+ .ig_messenger.ig_container {
2
  display: block;
3
  position: fixed;
4
  cursor: pointer;
10
  text-align: left;
11
  }
12
 
13
+ .ig_messenger.ig_container, .ig_messenger.ig_container .ig_content {
14
  background-color: transparent !important;
15
  }
16
 
17
+ .ig_messenger .ig_content {
18
 
19
  }
20
 
21
+ .ig_messenger .ig_header {
22
  position: relative;
23
  overflow: hidden;
24
  display: block;
25
  white-space: nowrap;
26
  }
27
 
28
+ .ig_messenger .ig_header_image {
29
  display: inline-block;
30
  }
31
 
32
+ .ig_messenger .ig_header_text {
33
  text-decoration: none;
34
  font-weight: 700;
35
  overflow: hidden;
36
  }
37
 
38
+ .ig_messenger .ig_headline {
39
  overflow: hidden;
40
  display: inline-block;
41
  text-decoration: none;
42
  white-space: nowrap;
43
  }
44
 
45
+ .ig_messenger .ig_header2_image {
46
  height: 30px;
47
  position: relative;
48
  display: block;
51
  border-top: none;
52
  }
53
 
54
+ .ig_messenger .ig_body {
55
  overflow-x: hidden;
56
  display: block;
57
  border-bottom: none;
58
  }
59
 
60
+ .ig_messenger .ig_message {
61
  text-align: left;
62
  word-wrap: break-word;
63
  display: inline-block;
64
  }
65
 
66
+ .ig_messenger .ig_message p {
67
  margin-bottom: 0.25em;
68
  }
69
 
70
+ .ig_messenger .ig_no_icon.ig_message {
71
  width: 91%;
72
  }
73
 
74
+ .ig_messenger .ig_separator {
75
  color: transparent;
76
  background: transparent;
77
  border: none;
81
  margin: 1px 0 2px;
82
  }
83
 
84
+ .ig_messenger .ig_footer {
85
  position: relative;
86
  display: block;
87
  background-repeat: no-repeat;
88
  }
89
 
90
+ .ig_messenger .ig_footer_image {
91
  background-repeat: no-repeat;
92
  position: relative;
93
  display: block;
94
  }
95
 
96
+ .ig_messenger .ig_close {
97
  position: absolute;
98
  display: inline-block;
99
  background-repeat: no-repeat;
100
  }
101
 
102
+ .ig_messenger .ig_icon {
103
  height: 28px;
104
  width: 28px;
105
  vertical-align: top;
106
  }
107
 
108
+ .ig_messenger .powered_by {
109
  font-size: 10px;
110
  position: relative;
111
  }
112
+ .ig_messenger .ig_embed_form.ig_vertical.ig_quarter .ig_embed_form_container,
113
+ .ig_messenger .ig_embed_form.ig_horizontal.ig_quarter .ig_embed_form_container{
114
  width: 50%!important;
115
  }
116
 
117
+ .ig_messenger .ig_embed_form.ig_vertical.ig_half li,
118
+ .ig_messenger .ig_embed_form.ig_vertical.ig_quarter li,
119
+ .ig_messenger .ig_embed_form.ig_horizontal.ig_half li,
120
+ .ig_messenger .ig_embed_form.ig_horizontal.ig_quarter li{
121
  min-width: 96% !important;
122
  }
123
 
124
+ .ig_messenger .ig_button,
125
+ .ig_messenger input[type="submit"],
126
+ .ig_messenger input[type="button"] {
127
  border-bottom : none;
128
  cursor: pointer;
129
  }
130
+ .ig_messenger .ig_button:active,
131
+ .ig_messenger input[type="submit"]:active,
132
+ .ig_messenger input[type="button"]:active {
133
  border-top : none;
134
  }
135
 
136
+ .ig_messenger .ig_close {
137
  background: no-repeat url(../messenger/images/clear-header.png) 0 -195px;
138
  right: 10px;
139
  top: 20px;
message-types/messenger/images/talk-header-2.png CHANGED
Binary file
message-types/messenger/main.js CHANGED
@@ -9,7 +9,7 @@
9
  Icegram_Message_Type_Messenger.prototype.constructor = Icegram_Message_Type_Messenger;
10
 
11
  Icegram_Message_Type_Messenger.prototype.get_template_default = function () {
12
- return '<div class="icegram messenger {{=theme}} {{=animation}} ig_container ig_cta" data="{{=id}}" id="icegram_message_{{=id}}">' +
13
  '<div class="ig_content">' +
14
  '<div class="ig_header">' +
15
  '<div class="ig_header_image"></div>' +
9
  Icegram_Message_Type_Messenger.prototype.constructor = Icegram_Message_Type_Messenger;
10
 
11
  Icegram_Message_Type_Messenger.prototype.get_template_default = function () {
12
+ return '<div class="icegram ig_messenger {{=theme}} {{=animation}} ig_container ig_cta" data="{{=id}}" id="icegram_message_{{=id}}">' +
13
  '<div class="ig_content">' +
14
  '<div class="ig_header">' +
15
  '<div class="ig_header_image"></div>' +
message-types/messenger/themes/canvas.css CHANGED
@@ -1,10 +1,10 @@
1
- .messenger.canvas.ig_container {
2
  max-height: 80%;
3
  max-width: 400px;
4
  font-family: inherit;
5
  }
6
 
7
- .messenger.canvas .ig_content {
8
  border: 1px solid #BFBFBF;
9
  margin: 10px;
10
  padding: 10px;
@@ -14,19 +14,19 @@
14
  background-color: #FFF !important;
15
  }
16
 
17
- .messenger.canvas .ig_header {
18
 
19
  }
20
 
21
- .messenger.canvas .ig_header_image {
22
  display: none;
23
  }
24
 
25
- .messenger.canvas .ig_header_text {
26
  line-height: 1.2em;
27
  }
28
 
29
- .messenger.canvas .ig_headline {
30
  margin: -.35em 35px inherit inherit;
31
  display: inline-block;
32
  font-size: 1.5em;
@@ -35,37 +35,37 @@
35
  line-height: 1.5em;
36
  }
37
 
38
- .messenger.canvas .ig_header2_image {
39
  display: none;
40
  }
41
 
42
- .messenger.canvas .ig_body {
43
 
44
  }
45
 
46
- .messenger.canvas .ig_message {
47
  color: #444;
48
  line-height: 1.2em;
49
  display: inline;
50
  }
51
 
52
- .messenger.canvas .ig_no_icon.ig_message {
53
  width: 98%;
54
  }
55
 
56
- .messenger.canvas .ig_separator {
57
  display: none;
58
  }
59
 
60
- .messenger.canvas .ig_footer {
61
 
62
  }
63
 
64
- .messenger.canvas .ig_footer_image {
65
  display: none;
66
  }
67
 
68
- .messenger.canvas .ig_close {
69
  background: no-repeat url(../images/clear-header.png) 0 -195px;
70
  right: 10px;
71
  top: 20px;
@@ -73,11 +73,11 @@
73
  height: 13px;
74
  }
75
 
76
- .messenger.canvas .powered_by {
77
  margin: -0.5em 10px 0.5em 10px;
78
  }
79
 
80
- .messenger.canvas .ig_icon {
81
  float: right;
82
  border-radius: 5%;
83
  max-width: 400px;
1
+ .ig_messenger.canvas.ig_container {
2
  max-height: 80%;
3
  max-width: 400px;
4
  font-family: inherit;
5
  }
6
 
7
+ .ig_messenger.canvas .ig_content {
8
  border: 1px solid #BFBFBF;
9
  margin: 10px;
10
  padding: 10px;
14
  background-color: #FFF !important;
15
  }
16
 
17
+ .ig_messenger.canvas .ig_header {
18
 
19
  }
20
 
21
+ .ig_messenger.canvas .ig_header_image {
22
  display: none;
23
  }
24
 
25
+ .ig_messenger.canvas .ig_header_text {
26
  line-height: 1.2em;
27
  }
28
 
29
+ .ig_messenger.canvas .ig_headline {
30
  margin: -.35em 35px inherit inherit;
31
  display: inline-block;
32
  font-size: 1.5em;
35
  line-height: 1.5em;
36
  }
37
 
38
+ .ig_messenger.canvas .ig_header2_image {
39
  display: none;
40
  }
41
 
42
+ .ig_messenger.canvas .ig_body {
43
 
44
  }
45
 
46
+ .ig_messenger.canvas .ig_message {
47
  color: #444;
48
  line-height: 1.2em;
49
  display: inline;
50
  }
51
 
52
+ .ig_messenger.canvas .ig_no_icon.ig_message {
53
  width: 98%;
54
  }
55
 
56
+ .ig_messenger.canvas .ig_separator {
57
  display: none;
58
  }
59
 
60
+ .ig_messenger.canvas .ig_footer {
61
 
62
  }
63
 
64
+ .ig_messenger.canvas .ig_footer_image {
65
  display: none;
66
  }
67
 
68
+ .ig_messenger.canvas .ig_close {
69
  background: no-repeat url(../images/clear-header.png) 0 -195px;
70
  right: 10px;
71
  top: 20px;
73
  height: 13px;
74
  }
75
 
76
+ .ig_messenger.canvas .powered_by {
77
  margin: -0.5em 10px 0.5em 10px;
78
  }
79
 
80
+ .ig_messenger.canvas .ig_icon {
81
  float: right;
82
  border-radius: 5%;
83
  max-width: 400px;
message-types/messenger/themes/clear.css CHANGED
@@ -1,13 +1,13 @@
1
- .messenger.clear.ig_container {
2
  width: 250px;
3
  height: 260px;
4
  }
5
 
6
- .messenger.clear .ig_content {
7
 
8
  }
9
 
10
- .messenger.clear .ig_header {
11
  height: 31px;
12
  -moz-box-shadow: inset 0 0 3px 0 #FFF;
13
  -webkit-box-shadow: inset 0 0 3px 0 #FFF;
@@ -22,7 +22,7 @@
22
  padding: 0 4px 0 5px;
23
  }
24
 
25
- .messenger.clear .ig_header_image {
26
  background: no-repeat url(../images/clear-header.png) 0 -181px;
27
  position: relative;
28
  height: 13px;
@@ -33,7 +33,7 @@
33
  padding: 0;
34
  }
35
 
36
- .messenger.clear .ig_header_text {
37
  background: no-repeat url(../images/clear-header.png) 0 0;
38
  font-size: 13px;
39
  height: 15px;
@@ -48,7 +48,7 @@
48
  line-height: 16px;
49
  }
50
 
51
- .messenger.clear .ig_headline {
52
  margin-left: 20px;
53
  margin-right: 55px;
54
  width: 161px;
@@ -59,11 +59,11 @@
59
  text-overflow: ellipsis;
60
  }
61
 
62
- .messenger.clear .ig_header2_image {
63
  background-image: url(../images/clear-option.png);
64
  }
65
 
66
- .messenger.clear .ig_body {
67
  background: #fff;
68
  height: 152px;
69
  -moz-box-shadow: inset 0 0 3px 0 #FFF;
@@ -77,18 +77,18 @@
77
  padding: 6px 6px 0;
78
  }
79
 
80
- .messenger.clear .ig_message {
81
  color: #3E454C;
82
  line-height: 1.28em;
83
  width: 180px;
84
  margin-left: .5em;
85
  }
86
 
87
- .messenger.clear .ig_no_icon.ig_message {
88
  width: 97%;
89
  }
90
 
91
- .messenger.clear .ig_separator {
92
  border-bottom: 1px solid hsl(0, 0%, 98%);
93
  border-top: 1px solid #DFDFDF;
94
  -webkit-margin-before: 0.5em;
@@ -103,7 +103,7 @@
103
  -moz-margin-after: 0.5em;
104
  }
105
 
106
- .messenger.clear .ig_footer {
107
  background-image: url(../images/clear-footer.png);
108
  height: 36px;
109
  border: 1px solid #BFBFBF;
@@ -115,10 +115,10 @@
115
  background-position: 5px 5px;
116
  }
117
 
118
- .messenger.clear .ig_footer_image {
119
  }
120
 
121
- .messenger.clear .ig_close {
122
  background: no-repeat url(../images/clear-header.png) 0 -195px;
123
  right: 5px;
124
  top: 10px;
@@ -128,11 +128,11 @@
128
  vertical-align: top;
129
  }
130
 
131
- .messenger.clear .powered_by {
132
  top: -20px;
133
  left: 120px;
134
  }
135
 
136
- .messenger.clear .ig_icon {
137
  border-radius: 2px;
138
  }
1
+ .ig_messenger.clear.ig_container {
2
  width: 250px;
3
  height: 260px;
4
  }
5
 
6
+ .ig_messenger.clear .ig_content {
7
 
8
  }
9
 
10
+ .ig_messenger.clear .ig_header {
11
  height: 31px;
12
  -moz-box-shadow: inset 0 0 3px 0 #FFF;
13
  -webkit-box-shadow: inset 0 0 3px 0 #FFF;
22
  padding: 0 4px 0 5px;
23
  }
24
 
25
+ .ig_messenger.clear .ig_header_image {
26
  background: no-repeat url(../images/clear-header.png) 0 -181px;
27
  position: relative;
28
  height: 13px;
33
  padding: 0;
34
  }
35
 
36
+ .ig_messenger.clear .ig_header_text {
37
  background: no-repeat url(../images/clear-header.png) 0 0;
38
  font-size: 13px;
39
  height: 15px;
48
  line-height: 16px;
49
  }
50
 
51
+ .ig_messenger.clear .ig_headline {
52
  margin-left: 20px;
53
  margin-right: 55px;
54
  width: 161px;
59
  text-overflow: ellipsis;
60
  }
61
 
62
+ .ig_messenger.clear .ig_header2_image {
63
  background-image: url(../images/clear-option.png);
64
  }
65
 
66
+ .ig_messenger.clear .ig_body {
67
  background: #fff;
68
  height: 152px;
69
  -moz-box-shadow: inset 0 0 3px 0 #FFF;
77
  padding: 6px 6px 0;
78
  }
79
 
80
+ .ig_messenger.clear .ig_message {
81
  color: #3E454C;
82
  line-height: 1.28em;
83
  width: 180px;
84
  margin-left: .5em;
85
  }
86
 
87
+ .ig_messenger.clear .ig_no_icon.ig_message {
88
  width: 97%;
89
  }
90
 
91
+ .ig_messenger.clear .ig_separator {
92
  border-bottom: 1px solid hsl(0, 0%, 98%);
93
  border-top: 1px solid #DFDFDF;
94
  -webkit-margin-before: 0.5em;
103
  -moz-margin-after: 0.5em;
104
  }
105
 
106
+ .ig_messenger.clear .ig_footer {
107
  background-image: url(../images/clear-footer.png);
108
  height: 36px;
109
  border: 1px solid #BFBFBF;
115
  background-position: 5px 5px;
116
  }
117
 
118
+ .ig_messenger.clear .ig_footer_image {
119
  }
120
 
121
+ .ig_messenger.clear .ig_close {
122
  background: no-repeat url(../images/clear-header.png) 0 -195px;
123
  right: 5px;
124
  top: 10px;
128
  vertical-align: top;
129
  }
130
 
131
+ .ig_messenger.clear .powered_by {
132
  top: -20px;
133
  left: 120px;
134
  }
135
 
136
+ .ig_messenger.clear .ig_icon {
137
  border-radius: 2px;
138
  }
message-types/messenger/themes/social.css CHANGED
@@ -1,15 +1,15 @@
1
- .messenger.social.ig_container {
2
  width: 250px;
3
  height: 260px;
4
  -webkit-background-clip: padding-box;
5
  background-clip: padding-box;
6
  }
7
 
8
- .messenger.social .ig_content {
9
 
10
  }
11
 
12
- .messenger.social .ig_header {
13
  background-color: #627BAE;
14
  -webkit-background-clip: padding-box;
15
  background-clip: padding-box;
@@ -30,7 +30,7 @@
30
  line-height: 18px;
31
  }
32
 
33
- .messenger.social .ig_header_image {
34
  position: absolute;
35
  height: 25px;
36
  vertical-align: top;
@@ -44,14 +44,14 @@
44
  width: 21px;
45
  }
46
 
47
- .messenger.social .ig_header_text {
48
  font-size: 11px;
49
  vertical-align: top;
50
  zoom: 1;
51
  margin: 3px 7px 4px;
52
  }
53
 
54
- .messenger.social .ig_headline {
55
  margin-left: 5px;
56
  margin-right: 40px;
57
  line-height: 20px;
@@ -59,11 +59,11 @@
59
  text-overflow:ellipsis;
60
  }
61
 
62
- .messenger.social .ig_header2_image {
63
  display: none;
64
  }
65
 
66
- .messenger.social .ig_body {
67
  right: 0;
68
  bottom: 0;
69
  padding-left: 5px;
@@ -85,7 +85,7 @@
85
  background-color: #edeff4;
86
  }
87
 
88
- .messenger.social .ig_message {
89
  background-color: #F7F7F7;
90
  background-image: -webkit-gradient(linear, center bottom, center top, from(#F2F2F2), to(#FFF));
91
  background-image: -webkit-linear-gradient(bottom, #F2F2F2, #FFF);
@@ -103,7 +103,7 @@
103
  width: 170px;
104
  }
105
 
106
- .messenger.social .ig_message:after {
107
  content: "";
108
  display: block;
109
  position: absolute;
@@ -114,7 +114,7 @@
114
  border-color: rgba(0, 0, 0, 0) #FAFAFA rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
115
  }
116
 
117
- .messenger.social .ig_message:before {
118
  content: "";
119
  display: block;
120
  position: absolute;
@@ -125,20 +125,20 @@
125
  border-color: rgba(0, 0, 0, 0) #DFDFDF rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
126
  }
127
 
128
- .messenger.social .ig_no_icon.ig_message {
129
  width: 91%;
130
  }
131
 
132
- .messenger.social .ig_no_icon.ig_message:after,
133
- .messenger.social .ig_no_icon.ig_message:before {
134
  content: none;
135
  }
136
 
137
- .messenger.social .ig_separator {
138
  display: none;
139
  }
140
 
141
- .messenger.social .ig_footer {
142
  right: 0;
143
  bottom: 0;
144
  -webkit-background-clip: padding-box;
@@ -155,7 +155,7 @@
155
  padding: 5px 23px 3px 5px;
156
  }
157
 
158
- .messenger.social .ig_footer_image {
159
  background-image: url(../images/social-img.png);
160
  background-position: -269px -137px;
161
  width: 24px;
@@ -163,7 +163,7 @@
163
  left: 221px;
164
  }
165
 
166
- .messenger.social .ig_close {
167
  background-image: url(../images/social-img.png);
168
  background-position: -137px -332px;
169
  right: 0;
@@ -175,11 +175,11 @@
175
  }
176
 
177
 
178
- .messenger.social .powered_by {
179
  top: -16px;
180
  left: 130px;
181
  }
182
 
183
- .messenger.social .ig_icon {
184
  border-radius: 2px;
185
  }
1
+ .ig_messenger.social.ig_container {
2
  width: 250px;
3
  height: 260px;
4
  -webkit-background-clip: padding-box;
5
  background-clip: padding-box;
6
  }
7
 
8
+ .ig_messenger.social .ig_content {
9
 
10
  }
11
 
12
+ .ig_messenger.social .ig_header {
13
  background-color: #627BAE;
14
  -webkit-background-clip: padding-box;
15
  background-clip: padding-box;
30
  line-height: 18px;
31
  }
32
 
33
+ .ig_messenger.social .ig_header_image {
34
  position: absolute;
35
  height: 25px;
36
  vertical-align: top;
44
  width: 21px;
45
  }
46
 
47
+ .ig_messenger.social .ig_header_text {
48
  font-size: 11px;
49
  vertical-align: top;
50
  zoom: 1;
51
  margin: 3px 7px 4px;
52
  }
53
 
54
+ .ig_messenger.social .ig_headline {
55
  margin-left: 5px;
56
  margin-right: 40px;
57
  line-height: 20px;
59
  text-overflow:ellipsis;
60
  }
61
 
62
+ .ig_messenger.social .ig_header2_image {
63
  display: none;
64
  }
65
 
66
+ .ig_messenger.social .ig_body {
67
  right: 0;
68
  bottom: 0;
69
  padding-left: 5px;
85
  background-color: #edeff4;
86
  }
87
 
88
+ .ig_messenger.social .ig_message {
89
  background-color: #F7F7F7;
90
  background-image: -webkit-gradient(linear, center bottom, center top, from(#F2F2F2), to(#FFF));
91
  background-image: -webkit-linear-gradient(bottom, #F2F2F2, #FFF);
103
  width: 170px;
104
  }
105
 
106
+ .ig_messenger.social .ig_message:after {
107
  content: "";
108
  display: block;
109
  position: absolute;
114
  border-color: rgba(0, 0, 0, 0) #FAFAFA rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
115
  }
116
 
117
+ .ig_messenger.social .ig_message:before {
118
  content: "";
119
  display: block;
120
  position: absolute;
125
  border-color: rgba(0, 0, 0, 0) #DFDFDF rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
126
  }
127
 
128
+ .ig_messenger.social .ig_no_icon.ig_message {
129
  width: 91%;
130
  }
131
 
132
+ .ig_messenger.social .ig_no_icon.ig_message:after,
133
+ .ig_messenger.social .ig_no_icon.ig_message:before {
134
  content: none;
135
  }
136
 
137
+ .ig_messenger.social .ig_separator {
138
  display: none;
139
  }
140
 
141
+ .ig_messenger.social .ig_footer {
142
  right: 0;
143
  bottom: 0;
144
  -webkit-background-clip: padding-box;
155
  padding: 5px 23px 3px 5px;
156
  }
157
 
158
+ .ig_messenger.social .ig_footer_image {
159
  background-image: url(../images/social-img.png);
160
  background-position: -269px -137px;
161
  width: 24px;
163
  left: 221px;
164
  }
165
 
166
+ .ig_messenger.social .ig_close {
167
  background-image: url(../images/social-img.png);
168
  background-position: -137px -332px;
169
  right: 0;
175
  }
176
 
177
 
178
+ .ig_messenger.social .powered_by {
179
  top: -16px;
180
  left: 130px;
181
  }
182
 
183
+ .ig_messenger.social .ig_icon {
184
  border-radius: 2px;
185
  }
message-types/messenger/themes/talk.css CHANGED
@@ -1,13 +1,13 @@
1
- .messenger.talk.ig_container {
2
  width: 210px;
3
  height: 260px;
4
  }
5
 
6
- .messenger.talk .ig_content {
7
 
8
  }
9
 
10
- .messenger.talk .ig_header {
11
  height: 25px;
12
  -moz-box-shadow: inset 0 0 3px 0 #FFF;
13
  -webkit-box-shadow: inset 0 0 3px 0 #FFF;
@@ -23,7 +23,7 @@
23
  padding: 0;
24
  }
25
 
26
- .messenger.talk .ig_header_image {
27
  background-image: url(../images/talk-header-1.png);
28
  margin-top: 4px;
29
  position: relative;
@@ -34,7 +34,7 @@
34
  padding: 0;
35
  }
36
 
37
- .messenger.talk .ig_header_text {
38
  background: no-repeat url(../images/clear-header.png) 0 0;
39
  background-repeat: no-repeat;
40
  font-size: 12px;
@@ -50,7 +50,7 @@
50
  margin-left: 10px;
51
  }
52
 
53
- .messenger.talk .ig_headline {
54
  margin-left: 17px;
55
  margin-right: 40px;
56
  line-height: 16px;
@@ -60,11 +60,11 @@
60
  text-overflow: ellipsis;
61
  }
62
 
63
- .messenger.talk .ig_header2_image {
64
  background-image: url(../images/talk-header-2.png);
65
  }
66
 
67
- .messenger.talk .ig_body {
68
  background: #fff;
69
  height: 160px;
70
  -moz-box-shadow: inset 0 0 3px 0 #FFF;
@@ -81,17 +81,17 @@
81
  padding: 6px 6px 0;
82
  }
83
 
84
- .messenger.talk .ig_message {
85
  color: #3E454C;
86
  width: 142px;
87
  margin-left: 7px;
88
  }
89
 
90
- .messenger.talk .ig_no_icon.ig_message {
91
  width: 98%;
92
  }
93
 
94
- .messenger.talk .ig_separator {
95
  border-bottom: 1px solid hsl(0, 0%, 98%);
96
  border-top: 1px solid #DFDFDF;
97
  -webkit-margin-before: 0.5em;
@@ -106,18 +106,18 @@
106
  -moz-margin-after: 0.5em;
107
  }
108
 
109
- .messenger.talk .ig_footer {
110
  background-image: url(../images/talk-footer-1.png);
111
  height: 37px;
112
  border: 1px solid #BFBFBF;
113
  border-bottom: none;
114
  }
115
 
116
- .messenger.talk .ig_footer_image {
117
  margin-top: .8px;
118
  }
119
 
120
- .messenger.talk .ig_close {
121
  background-image: url(../images/talk-close.png);
122
  right: -4px;
123
  top: 4.5px;
@@ -128,11 +128,11 @@
128
  }
129
 
130
 
131
- .messenger.talk .powered_by {
132
  top: -24px;
133
  left: 93px;
134
  }
135
 
136
- .messenger.talk .ig_icon {
137
 
138
  }
1
+ .ig_messenger.talk.ig_container {
2
  width: 210px;
3
  height: 260px;
4
  }
5
 
6
+ .ig_messenger.talk .ig_content {
7
 
8
  }
9
 
10
+ .ig_messenger.talk .ig_header {
11
  height: 25px;
12
  -moz-box-shadow: inset 0 0 3px 0 #FFF;
13
  -webkit-box-shadow: inset 0 0 3px 0 #FFF;
23
  padding: 0;
24
  }
25
 
26
+ .ig_messenger.talk .ig_header_image {
27
  background-image: url(../images/talk-header-1.png);
28
  margin-top: 4px;
29
  position: relative;
34
  padding: 0;
35
  }
36
 
37
+ .ig_messenger.talk .ig_header_text {
38
  background: no-repeat url(../images/clear-header.png) 0 0;
39
  background-repeat: no-repeat;
40
  font-size: 12px;
50
  margin-left: 10px;
51
  }
52
 
53
+ .ig_messenger.talk .ig_headline {
54
  margin-left: 17px;
55
  margin-right: 40px;
56
  line-height: 16px;
60
  text-overflow: ellipsis;
61
  }
62
 
63
+ .ig_messenger.talk .ig_header2_image {
64
  background-image: url(../images/talk-header-2.png);
65
  }
66
 
67
+ .ig_messenger.talk .ig_body {
68
  background: #fff;
69
  height: 160px;
70
  -moz-box-shadow: inset 0 0 3px 0 #FFF;
81
  padding: 6px 6px 0;
82
  }
83
 
84
+ .ig_messenger.talk .ig_message {
85
  color: #3E454C;
86
  width: 142px;
87
  margin-left: 7px;
88
  }
89
 
90
+ .ig_messenger.talk .ig_no_icon.ig_message {
91
  width: 98%;
92
  }
93
 
94
+ .ig_messenger.talk .ig_separator {
95
  border-bottom: 1px solid hsl(0, 0%, 98%);
96
  border-top: 1px solid #DFDFDF;
97
  -webkit-margin-before: 0.5em;
106
  -moz-margin-after: 0.5em;
107
  }
108
 
109
+ .ig_messenger.talk .ig_footer {
110
  background-image: url(../images/talk-footer-1.png);
111
  height: 37px;
112
  border: 1px solid #BFBFBF;
113
  border-bottom: none;
114
  }
115
 
116
+ .ig_messenger.talk .ig_footer_image {
117
  margin-top: .8px;
118
  }
119
 
120
+ .ig_messenger.talk .ig_close {
121
  background-image: url(../images/talk-close.png);
122
  right: -4px;
123
  top: 4.5px;
128
  }
129
 
130
 
131
+ .ig_messenger.talk .powered_by {
132
  top: -24px;
133
  left: 93px;
134
  }
135
 
136
+ .ig_messenger.talk .ig_icon {
137
 
138
  }
message-types/popup/main.js CHANGED
@@ -40,6 +40,10 @@
40
  self.el.show();
41
  tb_show('Popup', "#TB_inline?width="+popup_width+"&modal=true&inlineId=popup_main_" + self.data.id, true);
42
  self.el = jQuery('#TB_window .ig_popup');
 
 
 
 
43
  self.el.on('click', {self: self}, self.on_click);
44
  var max_height = jQuery(window).height()-jQuery('#TB_window').height() + 150;
45
  self.el.find('.ig_data').css('max-height', max_height);
40
  self.el.show();
41
  tb_show('Popup', "#TB_inline?width="+popup_width+"&modal=true&inlineId=popup_main_" + self.data.id, true);
42
  self.el = jQuery('#TB_window .ig_popup');
43
+ // bind click event of overlay to hide
44
+ jQuery('#TB_overlay').bind('click',function(){
45
+ self.hide();
46
+ });
47
  self.el.on('click', {self: self}, self.on_click);
48
  var max_height = jQuery(window).height()-jQuery('#TB_window').height() + 150;
49
  self.el.find('.ig_data').css('max-height', max_height);
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Icegram ===
2
- Contributors: storeapps, niravmehta, ratnakardubey, putler
3
  Donate link: http://www.icegram.com/
4
  Tags: popup, window, hellobar, optin, lead capture, marketing, form, notification, messenger, targeting, monster, ninja
5
  Requires at least: 3.9
6
- Tested up to: 4.0
7
- Stable tag: 1.8.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -145,6 +145,9 @@ Contact Us, provide as much detail of the problem as you can. We will try to sol
145
  3. Editing an Icegram campaign - add multiple messages, edit them, targeting rules, full HTML editor, themes and more
146
 
147
  == Upgrade Notice ==
 
 
 
148
  = 1.8.2 =
149
  Bug fix release for preview not working.
150
 
@@ -186,6 +189,12 @@ Initial Release
186
 
187
 
188
  == Changelog ==
 
 
 
 
 
 
189
  = 1.8.2 =
190
  * Fix: Preview not working correctly
191
 
1
  === Icegram ===
2
+ Contributors: storeapps, niravmehta, putler, icegram
3
  Donate link: http://www.icegram.com/
4
  Tags: popup, window, hellobar, optin, lead capture, marketing, form, notification, messenger, targeting, monster, ninja
5
  Requires at least: 3.9
6
+ Tested up to: 4.1
7
+ Stable tag: 1.8.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
145
  3. Editing an Icegram campaign - add multiple messages, edit them, targeting rules, full HTML editor, themes and more
146
 
147
  == Upgrade Notice ==
148
+ = 1.8.3 =
149
+ Campaign and message duplicate feture added. Plus some other improvements.
150
+
151
  = 1.8.2 =
152
  Bug fix release for preview not working.
153
 
189
 
190
 
191
  == Changelog ==
192
+ = 1.8.3 =
193
+ * NEW: Duplicate a Campaign and Message easily now - click 'duplicate' in the list view!
194
+ * Update: Using an image instead of dashicons for action bar arrows
195
+ * Update: Renamed "messenger" css class to "ig_messenger" to avoid potential overlaps
196
+ * Update: Clicking outside the popup (on the dark overlay) will close the popup
197
+
198
  = 1.8.2 =
199
  * Fix: Preview not working correctly
200
 
wpml-config.xml CHANGED
@@ -2,5 +2,5 @@
2
  <custom-types>
3
  <custom-type translate="1">ig_message</custom-type>
4
  <custom-type translate="0">ig_campaign</custom-type>
5
- </custom-types>
6
  </wpml-config>
2
  <custom-types>
3
  <custom-type translate="1">ig_message</custom-type>
4
  <custom-type translate="0">ig_campaign</custom-type>
5
+ </custom-types>
6
  </wpml-config>