Version Description
Current Version of Popup Builder is 3.1.7
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 3.1.8 |
Comparing to | |
See all releases |
Code changes from version 3.1.7.1 to 3.1.8
- com/classes/Actions.php +5 -3
- com/classes/ConditionBuilder.php +0 -0
- com/classes/ConvertToNewVersion.php +0 -0
- com/classes/Installer.php +0 -0
- com/classes/Javascript.php +0 -0
- com/classes/MediaButton.php +0 -0
- com/classes/PopupChecker.php +1 -4
- com/classes/RegisterPostType.php +0 -0
- com/classes/ScriptsLoader.php +4 -0
- com/classes/Style.php +0 -0
- com/classes/dataTable/Subscribers.php +0 -0
- com/classes/extension/SgpbPopupExtension.php +0 -0
- com/classes/extension/SgpbPopupExtensionRegister.php +0 -0
- com/classes/popups/HtmlPopup.php +0 -0
- com/classes/popups/SGPopup.php +2 -0
- com/classes/popups/SubscriptionPopup.php +10 -0
- com/config/config.php +0 -0
- com/config/configPackage.php +1 -1
- com/config/dataConfig.php +3 -0
- com/helpers/AdminHelper.php +0 -0
- com/helpers/ConfigDataHelper.php +0 -0
- com/helpers/Functions.php +0 -0
- popup-builder.php +1 -1
- public/css/ResetFormStyle.css +0 -3
- public/css/popupAdminStyles.css +0 -0
- public/js/Backend.js +0 -0
- public/js/MediaButton.js +0 -0
- public/js/Popup.js +0 -0
- public/js/PopupBuilder.js +7 -10
- public/views/dimensionsView.php +0 -0
- public/views/mediaButton.php +0 -0
- public/views/options/subscription.php +27 -1
- readme.txt +10 -2
com/classes/Actions.php
CHANGED
@@ -23,7 +23,7 @@ class Actions
|
|
23 |
add_filter('get_sample_permalink_html', array($this, 'removePostPermalink'), 1, 1);
|
24 |
add_action('manage_'.SG_POPUP_POST_TYPE.'_posts_custom_column' , array($this, 'popupsTableColumnsValues'), 10, 2);
|
25 |
add_action('media_buttons', array($this, 'popupMediaButton'));
|
26 |
-
|
27 |
add_action('admin_enqueue_scripts', array('sgpb\Style', 'enqueueStyles'));
|
28 |
add_action('admin_enqueue_scripts', array('sgpb\Javascript', 'enqueueScripts'));
|
29 |
add_action('add_meta_boxes', array($this, 'popupMetaboxes'), 100);
|
@@ -40,7 +40,6 @@ class Actions
|
|
40 |
add_shortcode('sg_popup', array($this, 'popupShortcode'));
|
41 |
add_filter('cron_schedules', array($this, 'cronAddMinutes'), 10, 1);
|
42 |
add_action('sgpb_send_newsletter', array($this, 'newsletterSendEmail'), 10, 1);
|
43 |
-
add_action('sgpbGetBannerContent', array($this, 'getBannerContent'), 10, 1);
|
44 |
add_action('sgpbGetBannerContentOnce', array($this, 'getBannerContent'), 10, 1);
|
45 |
add_action('admin_post_sgpbSaveSettings', array($this, 'saveSettings'), 10, 1);
|
46 |
add_action('admin_init', array($this, 'disableAutosave'));
|
@@ -67,6 +66,7 @@ class Actions
|
|
67 |
update_option('sgpb-banner-remote-get', $bannerContent);
|
68 |
// right metabox banner content
|
69 |
$metaboxBannerContent = AdminHelper::getFileFromURL(SGPB_METABOX_BANNER_CRON_TEXT_URL);
|
|
|
70 |
update_option('sgpb-metabox-banner-remote-get', $metaboxBannerContent);
|
71 |
|
72 |
return true;
|
@@ -260,12 +260,14 @@ class Actions
|
|
260 |
}
|
261 |
}
|
262 |
|
263 |
-
public function editorButton()
|
264 |
{
|
265 |
if (!$this->mediaButton) {
|
266 |
$this->mediaButton = true;
|
267 |
echo new MediaButton(false);
|
268 |
}
|
|
|
|
|
269 |
}
|
270 |
|
271 |
public function userRolesCaps()
|
23 |
add_filter('get_sample_permalink_html', array($this, 'removePostPermalink'), 1, 1);
|
24 |
add_action('manage_'.SG_POPUP_POST_TYPE.'_posts_custom_column' , array($this, 'popupsTableColumnsValues'), 10, 2);
|
25 |
add_action('media_buttons', array($this, 'popupMediaButton'));
|
26 |
+
add_filter('mce_external_plugins', array($this, 'editorButton'), 1, 1);
|
27 |
add_action('admin_enqueue_scripts', array('sgpb\Style', 'enqueueStyles'));
|
28 |
add_action('admin_enqueue_scripts', array('sgpb\Javascript', 'enqueueScripts'));
|
29 |
add_action('add_meta_boxes', array($this, 'popupMetaboxes'), 100);
|
40 |
add_shortcode('sg_popup', array($this, 'popupShortcode'));
|
41 |
add_filter('cron_schedules', array($this, 'cronAddMinutes'), 10, 1);
|
42 |
add_action('sgpb_send_newsletter', array($this, 'newsletterSendEmail'), 10, 1);
|
|
|
43 |
add_action('sgpbGetBannerContentOnce', array($this, 'getBannerContent'), 10, 1);
|
44 |
add_action('admin_post_sgpbSaveSettings', array($this, 'saveSettings'), 10, 1);
|
45 |
add_action('admin_init', array($this, 'disableAutosave'));
|
66 |
update_option('sgpb-banner-remote-get', $bannerContent);
|
67 |
// right metabox banner content
|
68 |
$metaboxBannerContent = AdminHelper::getFileFromURL(SGPB_METABOX_BANNER_CRON_TEXT_URL);
|
69 |
+
|
70 |
update_option('sgpb-metabox-banner-remote-get', $metaboxBannerContent);
|
71 |
|
72 |
return true;
|
260 |
}
|
261 |
}
|
262 |
|
263 |
+
public function editorButton($plugins)
|
264 |
{
|
265 |
if (!$this->mediaButton) {
|
266 |
$this->mediaButton = true;
|
267 |
echo new MediaButton(false);
|
268 |
}
|
269 |
+
|
270 |
+
return $plugins;
|
271 |
}
|
272 |
|
273 |
public function userRolesCaps()
|
com/classes/ConditionBuilder.php
CHANGED
File without changes
|
com/classes/ConvertToNewVersion.php
CHANGED
File without changes
|
com/classes/Installer.php
CHANGED
File without changes
|
com/classes/Javascript.php
CHANGED
File without changes
|
com/classes/MediaButton.php
CHANGED
File without changes
|
com/classes/PopupChecker.php
CHANGED
@@ -181,10 +181,7 @@ class PopupChecker
|
|
181 |
if (!$defaultStatus && do_action('isAllowedForConditions', $option, $post)) {
|
182 |
$defaultStatus = true;
|
183 |
}
|
184 |
-
|
185 |
-
if (!isset($isAllowedConditionFilters['status']) || $isAllowedConditionFilters['status'] == false) {
|
186 |
-
$isAllowedConditionFilters = apply_filters('isAllowedConditionFilters', array($option));
|
187 |
-
}
|
188 |
if (isset($isAllowedConditionFilters['status']) && $isAllowedConditionFilters['status'] === true) {
|
189 |
$defaultStatus = true;
|
190 |
}
|
181 |
if (!$defaultStatus && do_action('isAllowedForConditions', $option, $post)) {
|
182 |
$defaultStatus = true;
|
183 |
}
|
184 |
+
$isAllowedConditionFilters = apply_filters('isAllowedConditionFilters', array($option));
|
|
|
|
|
|
|
185 |
if (isset($isAllowedConditionFilters['status']) && $isAllowedConditionFilters['status'] === true) {
|
186 |
$defaultStatus = true;
|
187 |
}
|
com/classes/RegisterPostType.php
CHANGED
File without changes
|
com/classes/ScriptsLoader.php
CHANGED
@@ -60,6 +60,10 @@ class ScriptsLoader
|
|
60 |
{
|
61 |
$alreadyLoadedPopups = array();
|
62 |
$popups = $this->getLoadablePopups();
|
|
|
|
|
|
|
|
|
63 |
|
64 |
if (empty($popups)) {
|
65 |
return false;
|
60 |
{
|
61 |
$alreadyLoadedPopups = array();
|
62 |
$popups = $this->getLoadablePopups();
|
63 |
+
$currentPostType = AdminHelper::getCurrentPostType();
|
64 |
+
if ($currentPostType == SG_POPUP_POST_TYPE) {
|
65 |
+
return false;
|
66 |
+
}
|
67 |
|
68 |
if (empty($popups)) {
|
69 |
return false;
|
com/classes/Style.php
CHANGED
File without changes
|
com/classes/dataTable/Subscribers.php
CHANGED
File without changes
|
com/classes/extension/SgpbPopupExtension.php
CHANGED
File without changes
|
com/classes/extension/SgpbPopupExtensionRegister.php
CHANGED
File without changes
|
com/classes/popups/HtmlPopup.php
CHANGED
File without changes
|
com/classes/popups/SGPopup.php
CHANGED
@@ -725,6 +725,8 @@ abstract class SGPopup
|
|
725 |
$popupSavedData['sgpb-target'] = $targetData['sgpb-target'];
|
726 |
}
|
727 |
if (!empty($targetData['sgpb-conditions'])) {
|
|
|
|
|
728 |
$popupSavedData['sgpb-conditions'] = $targetData['sgpb-conditions'];
|
729 |
}
|
730 |
}
|
725 |
$popupSavedData['sgpb-target'] = $targetData['sgpb-target'];
|
726 |
}
|
727 |
if (!empty($targetData['sgpb-conditions'])) {
|
728 |
+
// for the after x pages option backward compatibility
|
729 |
+
$targetData['sgpb-conditions'] = apply_filters('sgpbAdvancedTargetingSavedData', $targetData['sgpb-conditions'], $popupId);
|
730 |
$popupSavedData['sgpb-conditions'] = $targetData['sgpb-conditions'];
|
731 |
}
|
732 |
}
|
com/classes/popups/SubscriptionPopup.php
CHANGED
@@ -231,7 +231,17 @@ class SubscriptionPopup extends SGPopup
|
|
231 |
if ($this->getFieldValue('sgpb-subs-btn-text-color')) {
|
232 |
$submitStyles['color'] = $this->getFieldValue('sgpb-subs-btn-text-color');
|
233 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
$submitStyles['text-transform'] = 'none !important';
|
|
|
235 |
|
236 |
$formData['email'] = array(
|
237 |
'isShow' => true,
|
231 |
if ($this->getFieldValue('sgpb-subs-btn-text-color')) {
|
232 |
$submitStyles['color'] = $this->getFieldValue('sgpb-subs-btn-text-color');
|
233 |
}
|
234 |
+
if ($this->getFieldValue('sgpb-subs-btn-border-radius')) {
|
235 |
+
$submitStyles['border-radius'] = $this->getFieldValue('sgpb-subs-btn-border-radius');
|
236 |
+
}
|
237 |
+
if ($this->getFieldValue('sgpb-subs-btn-border-width')) {
|
238 |
+
$submitStyles['border-width'] = $this->getFieldValue('sgpb-subs-btn-border-width');
|
239 |
+
}
|
240 |
+
if ($this->getFieldValue('sgpb-subs-btn-border-color')) {
|
241 |
+
$submitStyles['border-color'] = $this->getFieldValue('sgpb-subs-btn-border-color');
|
242 |
+
}
|
243 |
$submitStyles['text-transform'] = 'none !important';
|
244 |
+
$submitStyles['border-style'] = 'solid';
|
245 |
|
246 |
$formData['email'] = array(
|
247 |
'isShow' => true,
|
com/config/config.php
CHANGED
File without changes
|
com/config/configPackage.php
CHANGED
@@ -3,6 +3,6 @@ if (!defined('ABSPATH')) {
|
|
3 |
exit();
|
4 |
}
|
5 |
|
6 |
-
define('SG_POPUP_VERSION', '3.1.
|
7 |
define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
|
8 |
define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
|
3 |
exit();
|
4 |
}
|
5 |
|
6 |
+
define('SG_POPUP_VERSION', '3.1.8');
|
7 |
define('SGPB_POPUP_PKG', SGPB_POPUP_PKG_FREE);
|
8 |
define('POPUP_BUILDER_BASENAME', 'popupbuilder-platinum/popup-builder.php');
|
com/config/dataConfig.php
CHANGED
@@ -852,6 +852,9 @@ class SgpbDataConfig
|
|
852 |
$options[] = array('name' => 'sgpb-subs-text-placeholder-color', 'type' => 'text', 'defaultValue' => '#CCCCCC');
|
853 |
$options[] = array('name' => 'sgpb-subs-btn-width', 'type' => 'text', 'defaultValue' => '300px');
|
854 |
$options[] = array('name' => 'sgpb-subs-btn-height', 'type' => 'text', 'defaultValue' => '40px');
|
|
|
|
|
|
|
855 |
$options[] = array('name' => 'sgpb-subs-btn-title', 'type' => 'text', 'defaultValue' => __('Subscribe', SG_POPUP_TEXT_DOMAIN));
|
856 |
$options[] = array('name' => 'sgpb-subs-btn-progress-title', 'type' => 'text', 'defaultValue' => __('Please wait...', SG_POPUP_TEXT_DOMAIN));
|
857 |
$options[] = array('name' => 'sgpb-subs-btn-bg-color', 'type' => 'text', 'defaultValue' => '#4CAF50');
|
852 |
$options[] = array('name' => 'sgpb-subs-text-placeholder-color', 'type' => 'text', 'defaultValue' => '#CCCCCC');
|
853 |
$options[] = array('name' => 'sgpb-subs-btn-width', 'type' => 'text', 'defaultValue' => '300px');
|
854 |
$options[] = array('name' => 'sgpb-subs-btn-height', 'type' => 'text', 'defaultValue' => '40px');
|
855 |
+
$options[] = array('name' => 'sgpb-subs-btn-border-radius', 'type' => 'text', 'defaultValue' => '4px');
|
856 |
+
$options[] = array('name' => 'sgpb-subs-btn-border-width', 'type' => 'text', 'defaultValue' => '0px');
|
857 |
+
$options[] = array('name' => 'sgpb-subs-btn-border-color', 'type' => 'text', 'defaultValue' => '#4CAF50');
|
858 |
$options[] = array('name' => 'sgpb-subs-btn-title', 'type' => 'text', 'defaultValue' => __('Subscribe', SG_POPUP_TEXT_DOMAIN));
|
859 |
$options[] = array('name' => 'sgpb-subs-btn-progress-title', 'type' => 'text', 'defaultValue' => __('Please wait...', SG_POPUP_TEXT_DOMAIN));
|
860 |
$options[] = array('name' => 'sgpb-subs-btn-bg-color', 'type' => 'text', 'defaultValue' => '#4CAF50');
|
com/helpers/AdminHelper.php
CHANGED
File without changes
|
com/helpers/ConfigDataHelper.php
CHANGED
File without changes
|
com/helpers/Functions.php
CHANGED
File without changes
|
popup-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: https://popup-builder.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: 3.1.
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: https://sygnoos.com
|
9 |
* License: GPLv2
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: https://popup-builder.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: 3.1.8
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: https://sygnoos.com
|
9 |
* License: GPLv2
|
public/css/ResetFormStyle.css
CHANGED
@@ -122,7 +122,6 @@ Super Form Reset
|
|
122 |
padding: 10px !important;
|
123 |
box-sizing: border-box;
|
124 |
font-size: 14px !important;
|
125 |
-
border-radius: 4px !important;
|
126 |
box-shadow: none !important;
|
127 |
margin: 5px auto !important;
|
128 |
display: inline-block !important;
|
@@ -134,8 +133,6 @@ Super Form Reset
|
|
134 |
.sgpb-form-wrapper input[type="button"] {
|
135 |
line-height: 0.4 !important;
|
136 |
font-size: 18px !important;
|
137 |
-
box-shadow: inset 0 1px 3px #ddd !important;
|
138 |
-
border: none !important;
|
139 |
}
|
140 |
|
141 |
.sg-js-hide {
|
122 |
padding: 10px !important;
|
123 |
box-sizing: border-box;
|
124 |
font-size: 14px !important;
|
|
|
125 |
box-shadow: none !important;
|
126 |
margin: 5px auto !important;
|
127 |
display: inline-block !important;
|
133 |
.sgpb-form-wrapper input[type="button"] {
|
134 |
line-height: 0.4 !important;
|
135 |
font-size: 18px !important;
|
|
|
|
|
136 |
}
|
137 |
|
138 |
.sg-js-hide {
|
public/css/popupAdminStyles.css
CHANGED
File without changes
|
public/js/Backend.js
CHANGED
File without changes
|
public/js/MediaButton.js
CHANGED
File without changes
|
public/js/Popup.js
CHANGED
File without changes
|
public/js/PopupBuilder.js
CHANGED
@@ -1108,25 +1108,25 @@ SGPBPopup.prototype.replaceWithCustomShortcode = function(popupId)
|
|
1108 |
var searchAttributes = currentSearchData['searchData'];
|
1109 |
|
1110 |
if (typeof searchAttributes['selector'] == 'undefined' || typeof searchAttributes['attribute'] == 'undefined') {
|
1111 |
-
that.replaceShortCode(currentSearchData['replaceString'], '');
|
1112 |
continue;
|
1113 |
}
|
1114 |
|
1115 |
try {
|
1116 |
if (!jQuery(searchAttributes['selector']).length) {
|
1117 |
-
that.replaceShortCode(currentSearchData['replaceString'], '');
|
1118 |
continue;
|
1119 |
}
|
1120 |
}
|
1121 |
catch (e) {
|
1122 |
-
that.replaceShortCode(currentSearchData['replaceString'], '');
|
1123 |
continue;
|
1124 |
}
|
1125 |
|
1126 |
var replaceName = jQuery(searchAttributes['selector']).attr(searchAttributes['attribute']);
|
1127 |
|
1128 |
if (typeof replaceName == 'undefined') {
|
1129 |
-
that.replaceShortCode(currentSearchData['replaceString'], '');
|
1130 |
continue;
|
1131 |
}
|
1132 |
|
@@ -1157,15 +1157,12 @@ SGPBPopup.prototype.replaceShortCode = function(shortCode, replaceText, popupId)
|
|
1157 |
|
1158 |
for (var index in currentHtmlContent) {
|
1159 |
var currentChild = currentHtmlContent[index];
|
1160 |
-
var currentChildNodeValue = currentChild.
|
1161 |
var currentChildNodeType = currentChild.nodeType;
|
1162 |
|
1163 |
-
if (currentChildNodeType != Node.TEXT_NODE) {
|
1164 |
-
continue;
|
1165 |
-
}
|
1166 |
|
1167 |
-
if (currentChildNodeValue.indexOf(shortCode) != -1) {
|
1168 |
-
currentChild.
|
1169 |
}
|
1170 |
}
|
1171 |
});
|
1108 |
var searchAttributes = currentSearchData['searchData'];
|
1109 |
|
1110 |
if (typeof searchAttributes['selector'] == 'undefined' || typeof searchAttributes['attribute'] == 'undefined') {
|
1111 |
+
that.replaceShortCode(currentSearchData['replaceString'], '', popupId);
|
1112 |
continue;
|
1113 |
}
|
1114 |
|
1115 |
try {
|
1116 |
if (!jQuery(searchAttributes['selector']).length) {
|
1117 |
+
that.replaceShortCode(currentSearchData['replaceString'], '', popupId);
|
1118 |
continue;
|
1119 |
}
|
1120 |
}
|
1121 |
catch (e) {
|
1122 |
+
that.replaceShortCode(currentSearchData['replaceString'], '', popupId);
|
1123 |
continue;
|
1124 |
}
|
1125 |
|
1126 |
var replaceName = jQuery(searchAttributes['selector']).attr(searchAttributes['attribute']);
|
1127 |
|
1128 |
if (typeof replaceName == 'undefined') {
|
1129 |
+
that.replaceShortCode(currentSearchData['replaceString'], '', popupId);
|
1130 |
continue;
|
1131 |
}
|
1132 |
|
1157 |
|
1158 |
for (var index in currentHtmlContent) {
|
1159 |
var currentChild = currentHtmlContent[index];
|
1160 |
+
var currentChildNodeValue = currentChild.innerText;
|
1161 |
var currentChildNodeType = currentChild.nodeType;
|
1162 |
|
|
|
|
|
|
|
1163 |
|
1164 |
+
if (currentChildNodeValue && currentChildNodeValue.indexOf(shortCode) != -1) {
|
1165 |
+
currentChild.innerText = currentChildNodeValue.replace(shortCode, replaceText);
|
1166 |
}
|
1167 |
}
|
1168 |
});
|
public/views/dimensionsView.php
CHANGED
File without changes
|
public/views/mediaButton.php
CHANGED
File without changes
|
public/views/options/subscription.php
CHANGED
@@ -272,6 +272,32 @@
|
|
272 |
<input class="form-control js-subs-dimension sgpb-full-width-events" data-subs-rel="js-subs-submit-btn" data-field-type="submit" data-style-type="height" type="text" name="sgpb-subs-btn-height" id="subs-btn-height" value="<?php echo esc_html($popupTypeObj->getOptionValue('sgpb-subs-btn-height')); ?>">
|
273 |
</div>
|
274 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
<div class="row form-group">
|
276 |
<label for="subs-btn-title" class="col-md-6 control-label sgpb-static-padding-top sgpb-sub-option">
|
277 |
<?php _e('Title', SG_POPUP_TEXT_DOMAIN); ?>:
|
@@ -389,4 +415,4 @@
|
|
389 |
</div>
|
390 |
</div>
|
391 |
</div>
|
392 |
-
</div>
|
272 |
<input class="form-control js-subs-dimension sgpb-full-width-events" data-subs-rel="js-subs-submit-btn" data-field-type="submit" data-style-type="height" type="text" name="sgpb-subs-btn-height" id="subs-btn-height" value="<?php echo esc_html($popupTypeObj->getOptionValue('sgpb-subs-btn-height')); ?>">
|
273 |
</div>
|
274 |
</div>
|
275 |
+
<div class="row form-group">
|
276 |
+
<label for="sgpb-subs-btn-border-width" class="col-md-6 control-label sgpb-static-padding-top sgpb-sub-option">
|
277 |
+
<?php _e('Border width', SG_POPUP_TEXT_DOMAIN); ?>:
|
278 |
+
</label>
|
279 |
+
<div class="col-md-6">
|
280 |
+
<input class="form-control js-subs-dimension sgpb-full-width-events" data-field-type="submit" data-subs-rel="js-subs-submit-btn" data-style-type="border-width" type="text" name="sgpb-subs-btn-border-width" id="sgpb-subs-btn-border-width" value="<?php echo esc_html($popupTypeObj->getOptionValue('sgpb-subs-btn-border-width')); ?>">
|
281 |
+
</div>
|
282 |
+
</div>
|
283 |
+
<div class="row form-group">
|
284 |
+
<label for="sgpb-subs-btn-border-radius" class="col-md-6 control-label sgpb-sub-option">
|
285 |
+
<?php _e('Border radius', SG_POPUP_TEXT_DOMAIN); ?>:
|
286 |
+
</label>
|
287 |
+
<div class="col-md-6">
|
288 |
+
<input class="form-control js-subs-dimension sgpb-full-width-events" data-subs-rel="js-subs-submit-btn" data-field-type="submit" data-style-type="border-radius" type="text" name="sgpb-subs-btn-border-radius" id="sgpb-subs-btn-border-radius" value="<?php echo esc_html($popupTypeObj->getOptionValue('sgpb-subs-btn-border-radius')); ?>">
|
289 |
+
</div>
|
290 |
+
</div>
|
291 |
+
<div class="row form-group">
|
292 |
+
<label for="sgpb-subs-btn-border-color" class="col-md-6 control-label sgpb-sub-option">
|
293 |
+
<?php _e('Border color', SG_POPUP_TEXT_DOMAIN); ?>:
|
294 |
+
</label>
|
295 |
+
<div class="col-md-6">
|
296 |
+
<div class="sgpb-color-picker-wrapper">
|
297 |
+
<input id="sgpb-subs-btn-border-color" class="sgpb-color-picker js-subs-color-picker" data-field-type="submit" data-subs-rel="js-subs-submit-btn" data-style-type="border-color" type="text" name="sgpb-subs-btn-border-color" value="<?php echo esc_html($popupTypeObj->getOptionValue('sgpb-subs-btn-border-color')); ?>" >
|
298 |
+
</div>
|
299 |
+
</div>
|
300 |
+
</div>
|
301 |
<div class="row form-group">
|
302 |
<label for="subs-btn-title" class="col-md-6 control-label sgpb-static-padding-top sgpb-sub-option">
|
303 |
<?php _e('Title', SG_POPUP_TEXT_DOMAIN); ?>:
|
415 |
</div>
|
416 |
</div>
|
417 |
</div>
|
418 |
+
</div>
|
readme.txt
CHANGED
@@ -9,7 +9,7 @@ Tags: popup, pop up, wordpress popup, popup maker, exit popup, popup builder, wo
|
|
9 |
Requires at least: 3.8
|
10 |
Tested up to: 5.1
|
11 |
Requires PHP: 5.3.3
|
12 |
-
Stable tag: 3.1.
|
13 |
License: GPLv2 or later
|
14 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
15 |
|
@@ -182,6 +182,14 @@ Go to the Popup Builder settings and set your desired options.
|
|
182 |
|
183 |
== Changelog ==
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
= Version 3.1.7.1 =
|
186 |
* Bug fixes related to banner.
|
187 |
|
@@ -349,7 +357,7 @@ Go to the Popup Builder settings and set your desired options.
|
|
349 |
|
350 |
= Version 2.6.7.6 =
|
351 |
* Added new class to don't show popup for a certain period of time if the user clicks on the containg button.
|
352 |
-
Example `<button class="sg-dont-show-
|
353 |
* Bug fixed connected to user roles who can use the plugin.
|
354 |
|
355 |
= Version 2.6.7.5 =
|
9 |
Requires at least: 3.8
|
10 |
Tested up to: 5.1
|
11 |
Requires PHP: 5.3.3
|
12 |
+
Stable tag: 3.1.8
|
13 |
License: GPLv2 or later
|
14 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
15 |
|
182 |
|
183 |
== Changelog ==
|
184 |
|
185 |
+
= Version 3.1.8 =
|
186 |
+
* Added new feature border-width for subscription popup.
|
187 |
+
* Added new feature border-radius for subscription popup.
|
188 |
+
* Added new feature border-color for subscription popup.
|
189 |
+
* Bug fixed related to dynamic JS variagbles.
|
190 |
+
* Bug fixed related to popup appearance on admin panel for page builders.
|
191 |
+
* Code cleanup and improvements.
|
192 |
+
|
193 |
= Version 3.1.7.1 =
|
194 |
* Bug fixes related to banner.
|
195 |
|
357 |
|
358 |
= Version 2.6.7.6 =
|
359 |
* Added new class to don't show popup for a certain period of time if the user clicks on the containg button.
|
360 |
+
Example `<button class="sg-popup-dont-show-30">Close Popup and Dont Show for 30 days</button>`.
|
361 |
* Bug fixed connected to user roles who can use the plugin.
|
362 |
|
363 |
= Version 2.6.7.5 =
|