Version Description
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 2.0.7 |
Comparing to | |
See all releases |
Code changes from version 2.0.6 to 2.0.7
- files/main_section/html.php +1 -1
- javascript/sg_popup_javascript.php +1 -12
- popup-builder.php +10 -3
- readme.txt +15 -4
- style/sg_popup_style.php +1 -1
files/main_section/html.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
$content = @$sgPopupDataHtml;
|
4 |
$editorId = 'sg_popup_html';
|
5 |
$settings = array(
|
6 |
-
'
|
7 |
'tinymce' => array(
|
8 |
'width' => '100%',
|
9 |
),
|
3 |
$content = @$sgPopupDataHtml;
|
4 |
$editorId = 'sg_popup_html';
|
5 |
$settings = array(
|
6 |
+
'wpautop' => false,
|
7 |
'tinymce' => array(
|
8 |
'width' => '100%',
|
9 |
),
|
javascript/sg_popup_javascript.php
CHANGED
@@ -33,16 +33,5 @@ function sg_popup_admin_scripts($hook) {
|
|
33 |
add_action('admin_enqueue_scripts', 'sg_set_admin_url');
|
34 |
add_action('admin_enqueue_scripts', 'sg_popup_admin_scripts');
|
35 |
|
36 |
-
|
37 |
-
if ($hook != 'post.php') {
|
38 |
-
return;
|
39 |
-
}
|
40 |
-
wp_enqueue_media();
|
41 |
-
wp_register_script('javascript', SG_APP_POPUP_URL . '/javascript/sg_popup_backend.js', array('jquery'));
|
42 |
-
wp_register_script('colorbox', SG_APP_POPUP_URL . '/javascript/jquery.colorbox-min.js', array('jquery'));
|
43 |
-
wp_enqueue_script('jquery');
|
44 |
-
wp_enqueue_script('colorbox');
|
45 |
-
wp_enqueue_script('javascript');
|
46 |
-
}
|
47 |
-
add_action('admin_enqueue_scripts', 'sg_popup_scripts');
|
48 |
|
33 |
add_action('admin_enqueue_scripts', 'sg_set_admin_url');
|
34 |
add_action('admin_enqueue_scripts', 'sg_popup_admin_scripts');
|
35 |
|
36 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
popup-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: http://sygnoos.com
|
5 |
* Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
@@ -18,7 +18,7 @@ define('SG_APP_POPUP_FILES', SG_APP_POPUP_PATH . '/files');
|
|
18 |
define('SG_APP_POPUP_CLASSES', SG_APP_POPUP_PATH . '/classes');
|
19 |
define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
|
20 |
define('SG_APP_POPUP_TABLE_LIMIT', 20 );
|
21 |
-
define('SG_POPUP_VERSION', 2.
|
22 |
define('SG_POPUP_PRO', 0);
|
23 |
define('SG_POPUP_PRO_URL', 'http://sygnoos.com/wordpress-popup/');
|
24 |
|
@@ -177,7 +177,8 @@ add_shortCode('sg_autoload_popup', 'sgAutoloadPopup');
|
|
177 |
function sgRenderPopupOpen($popupId)
|
178 |
{
|
179 |
sgRenderPopupScript($popupId);
|
180 |
-
echo "<script>
|
|
|
181 |
sgOnScrolling = (SG_POPUP_DATA [$popupId]['onScrolling']) ? SG_POPUP_DATA [$popupId]['onScrolling']: ''; ;
|
182 |
beforeScrolingPrsent = (SG_POPUP_DATA [$popupId]['onScrolling']) ? SG_POPUP_DATA [$popupId]['beforeScrolingPrsent']: '';
|
183 |
autoClosePopup = (SG_POPUP_DATA [$popupId]['autoClosePopup']) ? SG_POPUP_DATA [$popupId]['autoClosePopup']: '';
|
@@ -190,6 +191,12 @@ function sgRenderPopupOpen($popupId)
|
|
190 |
|
191 |
sgPoupFrontendObj.showPopup($popupId,true);
|
192 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
}
|
194 |
</script>";
|
195 |
}
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: http://sygnoos.com
|
5 |
* Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
|
6 |
+
* Version: 2.0.7
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
18 |
define('SG_APP_POPUP_CLASSES', SG_APP_POPUP_PATH . '/classes');
|
19 |
define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
|
20 |
define('SG_APP_POPUP_TABLE_LIMIT', 20 );
|
21 |
+
define('SG_POPUP_VERSION', 2.07);
|
22 |
define('SG_POPUP_PRO', 0);
|
23 |
define('SG_POPUP_PRO_URL', 'http://sygnoos.com/wordpress-popup/');
|
24 |
|
177 |
function sgRenderPopupOpen($popupId)
|
178 |
{
|
179 |
sgRenderPopupScript($popupId);
|
180 |
+
echo "<script>
|
181 |
+
sgAddEvent(window, 'load',function() {
|
182 |
sgOnScrolling = (SG_POPUP_DATA [$popupId]['onScrolling']) ? SG_POPUP_DATA [$popupId]['onScrolling']: ''; ;
|
183 |
beforeScrolingPrsent = (SG_POPUP_DATA [$popupId]['onScrolling']) ? SG_POPUP_DATA [$popupId]['beforeScrolingPrsent']: '';
|
184 |
autoClosePopup = (SG_POPUP_DATA [$popupId]['autoClosePopup']) ? SG_POPUP_DATA [$popupId]['autoClosePopup']: '';
|
191 |
|
192 |
sgPoupFrontendObj.showPopup($popupId,true);
|
193 |
}
|
194 |
+
});
|
195 |
+
function sgAddEvent(element, eventName, fn) {
|
196 |
+
if (element.addEventListener)
|
197 |
+
element.addEventListener(eventName, fn, false);
|
198 |
+
else if (element.attachEvent)
|
199 |
+
element.attachEvent('on' + eventName, fn);
|
200 |
}
|
201 |
</script>";
|
202 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Plugin Name: Popup Builder
|
|
3 |
Contributors: Popup By Sygnoos
|
4 |
Author: Sygnoos
|
5 |
Donate link: http://sygnoos.com/wordpress-popup/
|
6 |
-
Tags: popup,popup promote,promotional popup,popup ads, popup advertising, popup box, popup form, popup message, popup window, popups, wordpress popup, simple popup, modal window, responsive popup, fancybox, fancy popup, lightbox, automatic popup, custom popup,popup message, youtube popup, video popup, iframe popup, vimeo popup, popup contact form, dialog box, fancy box popup, wordpress popup plugin, lightbox popup, popup builder, wordpress popup builder, html popup, onclick popup, media, shortcode popup, colorbox popup
|
7 |
Requires at least: 3.8
|
8 |
Tested up to: 4.3.1
|
9 |
Stable tag: trunk
|
@@ -20,6 +20,8 @@ Create and manage powerful promotion popups for your WordPress blog or website.
|
|
20 |
|
21 |
https://www.youtube.com/watch?v=3ZwRKPhHMzY
|
22 |
|
|
|
|
|
23 |
Popups are a good marketing tool, they're impressively high converting. A web page with a popup typically sees more conversions than the same page without a popup. More important, a page with a well designed and thoughtfully implemented popup converts better than one with an ugly popup. With Popup Builder plugin you can customize the popup according to your needs.
|
24 |
|
25 |
With popup builder plugin you can insert any type of content, right into your Popup. Insert your popup into any page or a post, easily and fast. Popups that open automatically, are the best solution to attract your visitor's attention. Add some effects into your Popup and your customers won't go unnoticed.
|
@@ -95,13 +97,22 @@ Go to the Popup Builder settings and set your desired options.
|
|
95 |
4. Advanced options (PRO options) metabox screen
|
96 |
5. Include popup into the page screen
|
97 |
6. Insert shortcode popup screen
|
98 |
-
7.
|
|
|
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
-
* Version 2.0.
|
103 |
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|
106 |
Added new effects of showing popup.
|
107 |
|
3 |
Contributors: Popup By Sygnoos
|
4 |
Author: Sygnoos
|
5 |
Donate link: http://sygnoos.com/wordpress-popup/
|
6 |
+
Tags: popup,popup promote,promotional popup,popup ads, popup advertising, popup box, popup form, popup message, popup window, popups, wordpress popup, simple popup, modal window, responsive popup, fancybox, fancy popup, lightbox, automatic popup, custom popup,popup message, youtube popup, video popup, iframe popup, vimeo popup, popup contact form, dialog box, fancy box popup, wordpress popup plugin, lightbox popup, popup builder, wordpress popup builder, html popup, onclick popup, media, shortcode popup, colorbox popup, social popup, age restriction popup,
|
7 |
Requires at least: 3.8
|
8 |
Tested up to: 4.3.1
|
9 |
Stable tag: trunk
|
20 |
|
21 |
https://www.youtube.com/watch?v=3ZwRKPhHMzY
|
22 |
|
23 |
+
Popup Builder is a popup plugin for WordPress website that allows you to add highly customizable popup windows. This plugin will enable awesome popup in your WordPress website using short codes. You can add unlimited popups with their own configurations. We added effective settings panel for each popup. So, you can fully customize the popup themes, colors, sizes and many many other options.
|
24 |
+
|
25 |
Popups are a good marketing tool, they're impressively high converting. A web page with a popup typically sees more conversions than the same page without a popup. More important, a page with a well designed and thoughtfully implemented popup converts better than one with an ugly popup. With Popup Builder plugin you can customize the popup according to your needs.
|
26 |
|
27 |
With popup builder plugin you can insert any type of content, right into your Popup. Insert your popup into any page or a post, easily and fast. Popups that open automatically, are the best solution to attract your visitor's attention. Add some effects into your Popup and your customers won't go unnoticed.
|
97 |
4. Advanced options (PRO options) metabox screen
|
98 |
5. Include popup into the page screen
|
99 |
6. Insert shortcode popup screen
|
100 |
+
7. Social popup
|
101 |
+
8. Content restriction popup
|
102 |
+
9. Final result
|
103 |
|
104 |
== Changelog ==
|
105 |
|
106 |
+
* Version 2.0.7
|
107 |
|
108 |
+
Inside HTML popup WYSIWYG is updated and now allows to create content with most common HTML tags and styles.
|
109 |
+
|
110 |
+
Code cleanup.
|
111 |
+
|
112 |
+
Bug fixed.
|
113 |
+
|
114 |
+
|
115 |
+
* Version 2.0.6
|
116 |
|
117 |
Added new effects of showing popup.
|
118 |
|
style/sg_popup_style.php
CHANGED
@@ -11,7 +11,7 @@ function sg_popup_admin_style($hook) {
|
|
11 |
add_action('admin_enqueue_scripts', 'sg_popup_admin_style');
|
12 |
|
13 |
function sg_popup_style($hook) {
|
14 |
-
if ('admin.php' != $hook
|
15 |
return;
|
16 |
}
|
17 |
wp_register_style('sg_popup_animate', SG_APP_POPUP_URL . '/style/animate.css');
|
11 |
add_action('admin_enqueue_scripts', 'sg_popup_admin_style');
|
12 |
|
13 |
function sg_popup_style($hook) {
|
14 |
+
if ('admin.php' != $hook) {
|
15 |
return;
|
16 |
}
|
17 |
wp_register_style('sg_popup_animate', SG_APP_POPUP_URL . '/style/animate.css');
|