Popup Maker – Popup Forms, Optins & More - Version 1.1.9

Version Description

Download this release

Release Info

Developer danieliser
Plugin Icon 128x128 Popup Maker – Popup Forms, Optins & More
Version 1.1.9
Comparing to
See all releases

Code changes from version 1.1.8 to 1.1.9

assets/styles/popup-maker-site.css CHANGED
@@ -32,7 +32,7 @@
32
  .popmake.responsive {
33
  left: 50%;
34
  margin-left: -40%;
35
- width: 80%;
36
  height: auto;
37
  overflow:visible;
38
  }
@@ -63,9 +63,13 @@
63
  margin-left: -30%;
64
  width: 60%;
65
  }
 
 
 
 
66
  .popmake.size-large {
67
  margin-left: -35%;
68
- width: 70%;
69
  }
70
  .popmake.size-xlarge {
71
  margin-left: -47.5%;
32
  .popmake.responsive {
33
  left: 50%;
34
  margin-left: -40%;
35
+ width: 70%;
36
  height: auto;
37
  overflow:visible;
38
  }
63
  margin-left: -30%;
64
  width: 60%;
65
  }
66
+ .popmake.size-normal {
67
+ margin-left: -30%;
68
+ width: 70%;
69
+ }
70
  .popmake.size-large {
71
  margin-left: -35%;
72
+ width: 80%;
73
  }
74
  .popmake.size-xlarge {
75
  margin-left: -47.5%;
assets/styles/popup-maker-site.min.css CHANGED
@@ -1 +1 @@
1
- .popmake,.popmake:before,.popmake:after{-moz-box-sizing:border-box}.popmake-overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;z-index:998}.popmake{top:100px;visibility:hidden;position:absolute;display:none;z-index:999}.popmake>.popmake-close{text-decoration:none;text-align:center;line-height:1;position:absolute;font-weight:700;cursor:pointer;min-width:1em}.popmake.responsive{left:50%;margin-left:-40%;width:80%;height:auto;overflow:visible}.popmake.responsive .popmake-content img{max-width:100%;height:auto}@media only screen and (min-width:768px){.popmake.size-nano{margin-left:-5%;width:10%}.popmake.size-micro{margin-left:-10%;width:20%}.popmake.size-tiny{margin-left:-15%;width:30%}.popmake.size-small{margin-left:-20%;width:40%}.popmake.size-medium{margin-left:-30%;width:60%}.popmake.size-large{margin-left:-35%;width:70%}.popmake.size-xlarge{margin-left:-47.5%;width:95%}}.popmake.fixed{position:fixed}.popmake.custom-position{left:auto;top:auto;margin-left:inherit}.popmake.scrollable .popmake-content{overflow:auto;overflow-y:scroll;max-height:95%}.popmake .popmake-content:last-child{margin-bottom:0}.popmake iframe.formidable{width:100%;overflow:visible}.powered-by-popmake{bottom:-28px;display:block;left:0;margin:0 auto;position:absolute;text-align:center;width:100%}.powered-by-popmake>a{display:inline-block;max-width:205px}.powered-by-popmake img{max-width:100%;width:100%}.powered-by-popmake.small{bottom:-22px}.powered-by-popmake.small>a{max-width:125px}.powered-by-popmake.large{bottom:-30px}.powered-by-popmake.large>a{max-width:285px}
1
+ .popmake,.popmake:before,.popmake:after{-moz-box-sizing:border-box}.popmake-overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;z-index:998}.popmake{top:100px;visibility:hidden;position:absolute;display:none;z-index:999}.popmake>.popmake-close{text-decoration:none;text-align:center;line-height:1;position:absolute;font-weight:700;cursor:pointer;min-width:1em}.popmake.responsive{left:50%;margin-left:-40%;width:70%;height:auto;overflow:visible}.popmake.responsive .popmake-content img{max-width:100%;height:auto}@media only screen and (min-width:768px){.popmake.size-nano{margin-left:-5%;width:10%}.popmake.size-micro{margin-left:-10%;width:20%}.popmake.size-tiny{margin-left:-15%;width:30%}.popmake.size-small{margin-left:-20%;width:40%}.popmake.size-medium{margin-left:-30%;width:60%}.popmake.size-normal{margin-left:-30%;width:70%}.popmake.size-large{margin-left:-35%;width:80%}.popmake.size-xlarge{margin-left:-47.5%;width:95%}}.popmake.fixed{position:fixed}.popmake.custom-position{left:auto;top:auto;margin-left:inherit}.popmake.scrollable .popmake-content{overflow:auto;overflow-y:scroll;max-height:95%}.popmake .popmake-content:last-child{margin-bottom:0}.popmake iframe.formidable{width:100%;overflow:visible}.powered-by-popmake{bottom:-28px;display:block;left:0;margin:0 auto;position:absolute;text-align:center;width:100%}.powered-by-popmake>a{display:inline-block;max-width:205px}.powered-by-popmake img{max-width:100%;width:100%}.powered-by-popmake.small{bottom:-22px}.powered-by-popmake.small>a{max-width:125px}.powered-by-popmake.large{bottom:-30px}.powered-by-popmake.large>a{max-width:285px}
includes/admin/popups/metabox-display-fields.php CHANGED
@@ -13,7 +13,7 @@ function popmake_popup_display_meta_box_field_size( $popup_id ) {
13
  </label>
14
  </th>
15
  <td>
16
- <select name="popup_display_size" id="popup_display_size">
17
  <?php foreach(apply_filters('popmake_popup_display_size_options', array()) as $option => $value) : ?>
18
  <option
19
  value="<?php echo $value;?>"
13
  </label>
14
  </th>
15
  <td>
16
+ <select name="popup_display_size" id="popup_display_size" required>
17
  <?php foreach(apply_filters('popmake_popup_display_size_options', array()) as $option => $value) : ?>
18
  <option
19
  value="<?php echo $value;?>"
includes/input-options.php CHANGED
@@ -87,18 +87,18 @@ add_filter('popmake_popup_display_size_options', 'popmake_popup_display_size_opt
87
  function popmake_popup_display_size_options_responsive( $options ) {
88
  return array_merge($options, array(
89
  // option => value
90
- __( 'Responsive Sizes&#10549;', 'popup-maker' ) => '',
91
- __( 'Nano', 'popup-maker' ) => 'nano',
92
- __( 'Micro', 'popup-maker' ) => 'micro',
93
- __( 'Tiny', 'popup-maker' ) => 'tiny',
94
- __( 'Small', 'popup-maker' ) => 'small',
95
- __( 'Medium', 'popup-maker' ) => 'medium',
96
- __( 'Normal', 'popup-maker' ) => 'normal',
97
- __( 'Large', 'popup-maker' ) => 'large',
98
- __( 'X Large', 'popup-maker' ) => 'xlarge',
99
- __( 'Non Responsive Sizes&#10549;', 'popup-maker' ) => '',
100
- __( 'Auto', 'popup-maker' ) => 'auto',
101
- __( 'Custom', 'popup-maker' ) => 'custom',
102
  ));
103
  }
104
 
87
  function popmake_popup_display_size_options_responsive( $options ) {
88
  return array_merge($options, array(
89
  // option => value
90
+ __( 'Responsive Sizes&#10549;', 'popup-maker' ) => '',
91
+ __( 'Nano - 10%', 'popup-maker' ) => 'nano',
92
+ __( 'Micro - 20%', 'popup-maker' ) => 'micro',
93
+ __( 'Tiny - 30%', 'popup-maker' ) => 'tiny',
94
+ __( 'Small - 40%', 'popup-maker' ) => 'small',
95
+ __( 'Medium - 60%', 'popup-maker' ) => 'medium',
96
+ __( 'Normal - 70%', 'popup-maker' ) => 'normal',
97
+ __( 'Large - 80%', 'popup-maker' ) => 'large',
98
+ __( 'X Large - 95%', 'popup-maker' ) => 'xlarge',
99
+ __( 'Non Responsive Sizes&#10549;', 'popup-maker' ) => '',
100
+ __( 'Auto', 'popup-maker' ) => 'auto',
101
+ __( 'Custom', 'popup-maker' ) => 'custom',
102
  ));
103
  }
104
 
includes/popup-functions.php CHANGED
@@ -193,23 +193,19 @@ function popmake_the_popup_title( $popup_id = NULL ) {
193
 
194
  function popmake_get_the_popup_content( $popup_id = NULL ) {
195
  if( !$popup_id ) $popup_id = get_the_ID();
196
- return apply_filters( 'popmake_get_the_popup_content', get_the_content( $popup_id ), $popup_id );
197
  }
198
-
199
-
200
- function popmake_apply_the_content( $content, $popup_id ) {
201
- $remove_do_shortcode = false;
202
- if ( ! has_filter( 'the_content', 'do_shortcode' ) ) {
203
- add_filter( 'the_content', 'do_shortcode' );
204
- $remove_do_shortcode = true;
205
- }
206
- $content = apply_filters( 'the_content', $content );
207
- if($remove_do_shortcode) {
208
- remove_filter( 'the_content', 'do_shortcode' );
209
- }
210
- return $content;
211
- }
212
- add_filter('popmake_get_the_popup_content', 'popmake_apply_the_content', 100, 2);
213
 
214
 
215
  function popmake_the_popup_content( $popup_id = NULL ) {
@@ -287,8 +283,6 @@ function popmake_popup_content_container( $content ) {
287
  }
288
  return $content;
289
  }
290
- add_filter('the_content', 'popmake_popup_content_container', 10000);
291
-
292
 
293
 
294
  function popmake_popup_is_loadable( $popup_id ) {
193
 
194
  function popmake_get_the_popup_content( $popup_id = NULL ) {
195
  if( !$popup_id ) $popup_id = get_the_ID();
196
+ return apply_filters( 'the_popup_content', get_the_content( $popup_id ), $popup_id );
197
  }
198
+ add_filter( 'the_popup_content', array( $GLOBALS['wp_embed'], 'run_shortcode' ), 8 );
199
+ add_filter( 'the_popup_content', array( $GLOBALS['wp_embed'], 'autoembed' ), 8 );
200
+ add_filter( 'the_popup_content', 'wptexturize', 10 );
201
+ add_filter( 'the_popup_content', 'convert_smilies', 10 );
202
+ add_filter( 'the_popup_content', 'convert_chars', 10 );
203
+ add_filter( 'the_popup_content', 'wpautop', 10 );
204
+ add_filter( 'the_popup_content', 'shortcode_unautop', 10 );
205
+ add_filter( 'the_popup_content', 'prepend_attachment', 10 );
206
+ add_filter( 'the_popup_content', 'do_shortcode', 11 );
207
+ add_filter( 'the_popup_content', 'capital_P_dangit', 11 );
208
+ add_filter( 'the_popup_content', 'popmake_popup_content_container', 10000 );
 
 
 
 
209
 
210
 
211
  function popmake_the_popup_content( $popup_id = NULL ) {
283
  }
284
  return $content;
285
  }
 
 
286
 
287
 
288
  function popmake_popup_is_loadable( $popup_id ) {
popup-maker.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wppopupmaker.com
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
  * Author: Daniel Iser
7
- * Version: 1.1.8
8
  * Author URI: https://wppopupmaker.com
9
  * Text Domain: popup-maker
10
  *
@@ -144,7 +144,7 @@ final class Popup_Maker {
144
  }
145
 
146
  if ( !defined('POPMAKE_VERSION') ) {
147
- define('POPMAKE_VERSION', '1.1.8' );
148
  }
149
 
150
  if ( !defined('POPMAKE_DB_VERSION') ) {
4
  * Plugin URI: https://wppopupmaker.com
5
  * Description: Easily create & style popups with any content. Theme editor to quickly style your popups. Add forms, social media boxes, videos & more.
6
  * Author: Daniel Iser
7
+ * Version: 1.1.9
8
  * Author URI: https://wppopupmaker.com
9
  * Text Domain: popup-maker
10
  *
144
  }
145
 
146
  if ( !defined('POPMAKE_VERSION') ) {
147
+ define('POPMAKE_VERSION', '1.1.9' );
148
  }
149
 
150
  if ( !defined('POPMAKE_DB_VERSION') ) {
readme.txt CHANGED
@@ -3,12 +3,12 @@ Contributors: danieliser
3
  Author URI: https://danieliser.com
4
  Plugin URI: https://wppopupmaker.com?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Plugin+URI
5
  Donate link:
6
- Tags: popup,popups,modal,modals,popup form,form modal,conversion,conversions,dialog box,auto openwordpress popup,popup,popups,modal,modals,popup form,conversion,conversions,exit intent,full page popup,full screen pop,full screen popup,optin popup,pop-up,pop-ups,popup box,popup message,popup window,unblockable,automatic popup,custom popup,fancy box,fancy popup,onclick popup,popup ads,popup advertising,age restriction,age verification,marketing,popup
7
  Requires at least: 3.4
8
  Tested up to: 4.2
9
- Stable tag: 1.1.8
10
-
11
  License: GNU Version 2 or Any Later Version
 
12
  Easily turn users into cash using Popup Maker - the most versatile & expansive popup plugin for WordPress!
13
 
14
  == Description ==
@@ -76,6 +76,11 @@ For more information, visit [Popup Maker](https://wppopupmaker.com?utm_source=Wo
76
 
77
  == Changelog ==
78
 
 
 
 
 
 
79
  = v1.1.8 =
80
  * Fixed issue with admin menu position collisions.
81
  * Fixed issue with banner not staying dismissed.
3
  Author URI: https://danieliser.com
4
  Plugin URI: https://wppopupmaker.com?utm_source=WordPress+Page&utm_medium=Text+Link&utm_campaign=Plugin+URI
5
  Donate link:
6
+ Tags: age restriction, age verification, auto open, automatic popup, conversion, conversions, custom popup, dialog box, exit intent, fancy box, fancy popup, form modal, full page popup, full screen pop, full screen popup, marketing, modal, modals, onclick popup, optin popup, pop-up, pop-ups, popup, popup ads, popup advertising, popup box, popup form, popup message, popup window, popups, unblockable, wordpress popup
7
  Requires at least: 3.4
8
  Tested up to: 4.2
9
+ Stable tag: 1.1.9
 
10
  License: GNU Version 2 or Any Later Version
11
+
12
  Easily turn users into cash using Popup Maker - the most versatile & expansive popup plugin for WordPress!
13
 
14
  == Description ==
76
 
77
  == Changelog ==
78
 
79
+ = v1.1.9 =
80
+ * Added %'s to reponsive sizes in size dropdown.
81
+ * Remove usage of the_content and the_content filters.
82
+ * Fixed responsive sizes.
83
+
84
  = v1.1.8 =
85
  * Fixed issue with admin menu position collisions.
86
  * Fixed issue with banner not staying dismissed.