Version Description
Released on: 28th September, 2020
Enhancements:
- Hooks support added for Widget.
Fixes:
- Minor bug fixes.
Download this release
Release Info
Developer | blossomthemes |
Plugin | BlossomThemes Email Newsletter |
Version | 2.1.3 |
Comparing to | |
See all releases |
Code changes from version 2.1.2 to 2.1.3
- README.txt +192 -180
- blossomthemes-email-newsletter.php +81 -81
- includes/widgets/widget-blossomthemes-newsletter.php +18 -10
- languages/blossomthemes-email-newsletter.pot +8 -8
README.txt
CHANGED
@@ -1,181 +1,193 @@
|
|
1 |
-
=== BlossomThemes Email Newsletter ===
|
2 |
-
Contributors: BlossomThemes
|
3 |
-
Donate link: https://blossomthemes.com
|
4 |
-
Tags: subscribe, newsletter, email
|
5 |
-
Requires at least: 4.3
|
6 |
-
Tested up to: 5.5
|
7 |
-
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.1.
|
9 |
-
License: GPLv2 or later
|
10 |
-
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
-
|
12 |
-
Easily add email subscription form to your website using shortcode and widget.
|
13 |
-
|
14 |
-
== Description ==
|
15 |
-
|
16 |
-
BlossomThemes Email Newsletter allows you to add email subscription form on your website. The plugin works best with BlossomThemes’ themes.
|
17 |
-
|
18 |
-
Adding Subscription Form has never been this easy. Choose an email platform, enter your API key, choose an email list, and start getting new subscribers to your website.
|
19 |
-
|
20 |
-
**The plugin supports Sendinblue, MailChimp, MailerLite, ConvertKit, GetResponse, ActiveCampaign, AWeber.**
|
21 |
-
|
22 |
-
You can create any number of Newsletter forms and display them using a shortcode, popup and/or a widget.
|
23 |
-
|
24 |
-
Once installed, the plugin page will appear on the Admin dashboard.
|
25 |
-
|
26 |
-
= Key Features and Highlights =
|
27 |
-
|
28 |
-
* Unlimited newsletters and subscribers with statistics
|
29 |
-
* Supports Sendinblue, MailChimp, MailerLite, ConvertKit, GetResponse, ActiveCampaign and AWeber
|
30 |
-
* Display newsletter forms using a shortcode, popup and/or a widget
|
31 |
-
* Lists/Campaigns updates via AJAX
|
32 |
-
* Multi-list or single-list targeting in individual newsletter
|
33 |
-
* Form submission via AJAX, allowing a seamless user experience without page refreshes
|
34 |
-
* Background Image, Background Color and Font Color support
|
35 |
-
|
36 |
-
== Screenshots ==
|
37 |
-
1. General Settings Page
|
38 |
-
2. Popup Settings Page
|
39 |
-
|
40 |
-
== Installation ==
|
41 |
-
**From your WordPress dashboard**
|
42 |
-
|
43 |
-
1. Visit 'Plugins > Add New',
|
44 |
-
2. Search for 'BlossomThemes Email Newsletter Pro' and install the plugin.
|
45 |
-
3. Activate ‘BlossomThemes Email Newsletter Pro’ from your Plugins page.
|
46 |
-
|
47 |
-
|
48 |
-
== Changelog ==
|
49 |
-
|
50 |
-
= 2.1.
|
51 |
-
|
52 |
-
Released on: 28th
|
53 |
-
|
54 |
-
Enhancements:
|
55 |
-
|
56 |
-
*
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
*
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
*
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
*
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
*
|
128 |
-
*
|
129 |
-
|
130 |
-
=
|
131 |
-
*
|
132 |
-
|
133 |
-
=
|
134 |
-
*
|
135 |
-
|
136 |
-
=
|
137 |
-
*
|
138 |
-
|
139 |
-
|
140 |
-
*
|
141 |
-
|
142 |
-
= 1.2.
|
143 |
-
*
|
144 |
-
|
145 |
-
= 1.2.
|
146 |
-
*
|
147 |
-
|
148 |
-
= 1.
|
149 |
-
*
|
150 |
-
|
151 |
-
= 1.
|
152 |
-
*
|
153 |
-
|
154 |
-
= 1.
|
155 |
-
*
|
156 |
-
|
157 |
-
= 1.0
|
158 |
-
*
|
159 |
-
|
160 |
-
= 1.0
|
161 |
-
*
|
162 |
-
|
163 |
-
= 1.0.
|
164 |
-
*
|
165 |
-
|
166 |
-
= 1.0.
|
167 |
-
*
|
168 |
-
|
169 |
-
= 1.0.
|
170 |
-
*
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
* Initial release
|
1 |
+
=== BlossomThemes Email Newsletter ===
|
2 |
+
Contributors: BlossomThemes
|
3 |
+
Donate link: https://blossomthemes.com
|
4 |
+
Tags: subscribe, newsletter, email
|
5 |
+
Requires at least: 4.3
|
6 |
+
Tested up to: 5.5
|
7 |
+
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.1.3
|
9 |
+
License: GPLv2 or later
|
10 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
+
|
12 |
+
Easily add email subscription form to your website using shortcode and widget.
|
13 |
+
|
14 |
+
== Description ==
|
15 |
+
|
16 |
+
BlossomThemes Email Newsletter allows you to add email subscription form on your website. The plugin works best with BlossomThemes’ themes.
|
17 |
+
|
18 |
+
Adding Subscription Form has never been this easy. Choose an email platform, enter your API key, choose an email list, and start getting new subscribers to your website.
|
19 |
+
|
20 |
+
**The plugin supports Sendinblue, MailChimp, MailerLite, ConvertKit, GetResponse, ActiveCampaign, AWeber.**
|
21 |
+
|
22 |
+
You can create any number of Newsletter forms and display them using a shortcode, popup and/or a widget.
|
23 |
+
|
24 |
+
Once installed, the plugin page will appear on the Admin dashboard.
|
25 |
+
|
26 |
+
= Key Features and Highlights =
|
27 |
+
|
28 |
+
* Unlimited newsletters and subscribers with statistics
|
29 |
+
* Supports Sendinblue, MailChimp, MailerLite, ConvertKit, GetResponse, ActiveCampaign and AWeber
|
30 |
+
* Display newsletter forms using a shortcode, popup and/or a widget
|
31 |
+
* Lists/Campaigns updates via AJAX
|
32 |
+
* Multi-list or single-list targeting in individual newsletter
|
33 |
+
* Form submission via AJAX, allowing a seamless user experience without page refreshes
|
34 |
+
* Background Image, Background Color and Font Color support
|
35 |
+
|
36 |
+
== Screenshots ==
|
37 |
+
1. General Settings Page
|
38 |
+
2. Popup Settings Page
|
39 |
+
|
40 |
+
== Installation ==
|
41 |
+
**From your WordPress dashboard**
|
42 |
+
|
43 |
+
1. Visit 'Plugins > Add New',
|
44 |
+
2. Search for 'BlossomThemes Email Newsletter Pro' and install the plugin.
|
45 |
+
3. Activate ‘BlossomThemes Email Newsletter Pro’ from your Plugins page.
|
46 |
+
|
47 |
+
|
48 |
+
== Changelog ==
|
49 |
+
|
50 |
+
= 2.1.3 =
|
51 |
+
|
52 |
+
Released on: 28th September, 2020
|
53 |
+
|
54 |
+
Enhancements:
|
55 |
+
|
56 |
+
* Hooks support added for Widget.
|
57 |
+
|
58 |
+
Fixes:
|
59 |
+
|
60 |
+
* Minor bug fixes.
|
61 |
+
|
62 |
+
= 2.1.2 =
|
63 |
+
|
64 |
+
Released on: 28th August, 2020
|
65 |
+
|
66 |
+
Enhancements:
|
67 |
+
|
68 |
+
* Sendinblue support added.
|
69 |
+
* WordPress 5.5. compatibility test.
|
70 |
+
|
71 |
+
Fixes:
|
72 |
+
|
73 |
+
* Minor bug fixes.
|
74 |
+
|
75 |
+
= 2.1.1 =
|
76 |
+
|
77 |
+
Released on: 23rd April, 2020
|
78 |
+
|
79 |
+
Fixes:
|
80 |
+
|
81 |
+
* Newsletter design issue fixes.
|
82 |
+
* Minor bug fixes.
|
83 |
+
|
84 |
+
= 2.1.0 =
|
85 |
+
|
86 |
+
Released on: 14th April, 2020
|
87 |
+
|
88 |
+
Enhancements:
|
89 |
+
|
90 |
+
* Updated GetResponse API v3
|
91 |
+
* WordPress 5.4 compatibility test added
|
92 |
+
* Nonce added for ajax posts
|
93 |
+
|
94 |
+
Fixes:
|
95 |
+
|
96 |
+
* Name validation issue resolved
|
97 |
+
* Newsletter Popup responsive issue fixes.
|
98 |
+
* Minor bug fixes.
|
99 |
+
|
100 |
+
= 2.0.9 =
|
101 |
+
|
102 |
+
Released on: 28th January, 2020
|
103 |
+
|
104 |
+
Fixes:
|
105 |
+
|
106 |
+
* Newsletter Popup responsive issue fixes.
|
107 |
+
* Minor bug fixes.
|
108 |
+
|
109 |
+
= 2.0.8 =
|
110 |
+
* Enhancement: Popup Delay feature added
|
111 |
+
* Enhancement: JS defer
|
112 |
+
|
113 |
+
= 2.0.7 =
|
114 |
+
* AWeber Authorization optimized
|
115 |
+
|
116 |
+
= 2.0.6 =
|
117 |
+
* Minor design and bug fixes
|
118 |
+
|
119 |
+
= 2.0.5 =
|
120 |
+
* Assests enabled in customizer
|
121 |
+
|
122 |
+
= 2.0.4 =
|
123 |
+
* Assests enabled in widgets
|
124 |
+
* Settings added to Enable or Disable Overlay in background images
|
125 |
+
|
126 |
+
= 2.0.3 =
|
127 |
+
* Background image size issue resolved
|
128 |
+
* Loaded assests only in newsletter screen
|
129 |
+
|
130 |
+
= 2.0.2 =
|
131 |
+
* Popup Design issue resolved
|
132 |
+
|
133 |
+
= 2.0.1 =
|
134 |
+
* GDPR anchor link issue resolved
|
135 |
+
|
136 |
+
= 2.0.0 =
|
137 |
+
* Supports MailChimp, MailerLite, ConvertKit, GetResponse, ActiveCampaign and AWeber
|
138 |
+
* Display newsletter forms using a shortcode, popup and/or a widget
|
139 |
+
* Lists/Campaigns updates via AJAX
|
140 |
+
* Background Image, Background Color and Font Color support
|
141 |
+
|
142 |
+
= 1.2.4 =
|
143 |
+
* Filter for BG color added
|
144 |
+
|
145 |
+
= 1.2.4 =
|
146 |
+
* Polylang compatible
|
147 |
+
|
148 |
+
= 1.2.3 =
|
149 |
+
* Filter for shortcode
|
150 |
+
|
151 |
+
= 1.2.2 =
|
152 |
+
* Script and Source Minification
|
153 |
+
|
154 |
+
= 1.2.1 =
|
155 |
+
* Email Filter Changed
|
156 |
+
|
157 |
+
= 1.2.0 =
|
158 |
+
* GetResponse added as new newsletter platform
|
159 |
+
|
160 |
+
= 1.1.0 =
|
161 |
+
* Pot file
|
162 |
+
|
163 |
+
= 1.0.9 =
|
164 |
+
* Design Fixes
|
165 |
+
|
166 |
+
= 1.0.8 =
|
167 |
+
* GDPR compatible options including message for GDPR
|
168 |
+
|
169 |
+
= 1.0.7 =
|
170 |
+
* GDPR compatible options including message for GDPR
|
171 |
+
|
172 |
+
= 1.0.6 =
|
173 |
+
* GDPR compatible
|
174 |
+
|
175 |
+
= 1.0.5 =
|
176 |
+
* Background color filter
|
177 |
+
|
178 |
+
= 1.0.4 =
|
179 |
+
* Compatibility tested
|
180 |
+
|
181 |
+
= 1.0.3 =
|
182 |
+
* Compatibility tested
|
183 |
+
* API key notice warning fixed
|
184 |
+
|
185 |
+
= 1.0.2 =
|
186 |
+
* Compatibility tested
|
187 |
+
* Notice warning fixed
|
188 |
+
|
189 |
+
= 1.0.1 =
|
190 |
+
* Compatibility tested
|
191 |
+
|
192 |
+
= 1.0.0 =
|
193 |
* Initial release
|
blossomthemes-email-newsletter.php
CHANGED
@@ -1,81 +1,81 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* The plugin bootstrap file
|
5 |
-
*
|
6 |
-
* This file is read by WordPress to generate the plugin information in the plugin
|
7 |
-
* admin area. This file also includes all of the dependencies used by the plugin,
|
8 |
-
* registers the activation and deactivation functions, and defines a function
|
9 |
-
* that starts the plugin.
|
10 |
-
*
|
11 |
-
* @link https://blossomthemes.com
|
12 |
-
* @since 2.0.0
|
13 |
-
* @package Blossomthemes_Email_Newsletter
|
14 |
-
*
|
15 |
-
* @wordpress-plugin
|
16 |
-
* Plugin Name: BlossomThemes Email Newsletter
|
17 |
-
* Plugin URI:
|
18 |
-
* Description: Easily add email subscription form to your website using shortcode and widget.
|
19 |
-
* Version: 2.1.
|
20 |
-
* Author: blossomthemes
|
21 |
-
* Author URI: https://blossomthemes.com
|
22 |
-
* License: GPL-2.0+
|
23 |
-
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
24 |
-
* Text Domain: blossomthemes-email-newsletter
|
25 |
-
* Domain Path: /languages
|
26 |
-
*/
|
27 |
-
|
28 |
-
// If this file is called directly, abort.
|
29 |
-
if ( ! defined( 'WPINC' ) ) {
|
30 |
-
die;
|
31 |
-
}
|
32 |
-
|
33 |
-
define( 'BLOSSOMTHEMES_EMAIL_NEWSLETTER_FILE_PATH', __FILE__ );
|
34 |
-
define( 'BLOSSOMTHEMES_EMAIL_NEWSLETTER_BASE_PATH', dirname( __FILE__ ) );
|
35 |
-
define( 'BLOSSOMTHEMES_EMAIL_NEWSLETTER_FILE_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
|
36 |
-
define( 'BLOSSOMTHEMES_EMAIL_NEWSLETTER_VERSION', '2.1.
|
37 |
-
|
38 |
-
|
39 |
-
/**
|
40 |
-
* The code that runs during plugin activation.
|
41 |
-
* This action is documented in includes/class-blossomthemes-email-newsletter-activator.php
|
42 |
-
*/
|
43 |
-
function activate_blossomthemes_email_newsletter() {
|
44 |
-
require_once plugin_dir_path( __FILE__ ) . 'includes/class-blossomthemes-email-newsletter-activator.php';
|
45 |
-
Blossomthemes_Email_Newsletter_Activator::activate();
|
46 |
-
}
|
47 |
-
|
48 |
-
/**
|
49 |
-
* The code that runs during plugin deactivation.
|
50 |
-
* This action is documented in includes/class-blossomthemes-email-newsletter-deactivator.php
|
51 |
-
*/
|
52 |
-
function deactivate_blossomthemes_email_newsletter() {
|
53 |
-
require_once plugin_dir_path( __FILE__ ) . 'includes/class-blossomthemes-email-newsletter-deactivator.php';
|
54 |
-
Blossomthemes_Email_Newsletter_Deactivator::deactivate();
|
55 |
-
}
|
56 |
-
|
57 |
-
register_activation_hook( __FILE__, 'activate_blossomthemes_email_newsletter' );
|
58 |
-
register_deactivation_hook( __FILE__, 'deactivate_blossomthemes_email_newsletter' );
|
59 |
-
|
60 |
-
/**
|
61 |
-
* The core plugin class that is used to define internationalization,
|
62 |
-
* admin-specific hooks, and public-facing site hooks.
|
63 |
-
*/
|
64 |
-
require plugin_dir_path( __FILE__ ) . 'includes/class-blossomthemes-email-newsletter.php';
|
65 |
-
|
66 |
-
/**
|
67 |
-
* Begins execution of the plugin.
|
68 |
-
*
|
69 |
-
* Since everything within the plugin is registered via hooks,
|
70 |
-
* then kicking off the plugin from this point in the file does
|
71 |
-
* not affect the page life cycle.
|
72 |
-
*
|
73 |
-
* @since 2.0.0
|
74 |
-
*/
|
75 |
-
function run_blossomthemes_email_newsletter() {
|
76 |
-
|
77 |
-
$plugin = new Blossomthemes_Email_Newsletter();
|
78 |
-
$plugin->run();
|
79 |
-
|
80 |
-
}
|
81 |
-
run_blossomthemes_email_newsletter();
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The plugin bootstrap file
|
5 |
+
*
|
6 |
+
* This file is read by WordPress to generate the plugin information in the plugin
|
7 |
+
* admin area. This file also includes all of the dependencies used by the plugin,
|
8 |
+
* registers the activation and deactivation functions, and defines a function
|
9 |
+
* that starts the plugin.
|
10 |
+
*
|
11 |
+
* @link https://blossomthemes.com
|
12 |
+
* @since 2.0.0
|
13 |
+
* @package Blossomthemes_Email_Newsletter
|
14 |
+
*
|
15 |
+
* @wordpress-plugin
|
16 |
+
* Plugin Name: BlossomThemes Email Newsletter
|
17 |
+
* Plugin URI:
|
18 |
+
* Description: Easily add email subscription form to your website using shortcode and widget.
|
19 |
+
* Version: 2.1.3
|
20 |
+
* Author: blossomthemes
|
21 |
+
* Author URI: https://blossomthemes.com
|
22 |
+
* License: GPL-2.0+
|
23 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
24 |
+
* Text Domain: blossomthemes-email-newsletter
|
25 |
+
* Domain Path: /languages
|
26 |
+
*/
|
27 |
+
|
28 |
+
// If this file is called directly, abort.
|
29 |
+
if ( ! defined( 'WPINC' ) ) {
|
30 |
+
die;
|
31 |
+
}
|
32 |
+
|
33 |
+
define( 'BLOSSOMTHEMES_EMAIL_NEWSLETTER_FILE_PATH', __FILE__ );
|
34 |
+
define( 'BLOSSOMTHEMES_EMAIL_NEWSLETTER_BASE_PATH', dirname( __FILE__ ) );
|
35 |
+
define( 'BLOSSOMTHEMES_EMAIL_NEWSLETTER_FILE_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
|
36 |
+
define( 'BLOSSOMTHEMES_EMAIL_NEWSLETTER_VERSION', '2.1.3' );
|
37 |
+
|
38 |
+
|
39 |
+
/**
|
40 |
+
* The code that runs during plugin activation.
|
41 |
+
* This action is documented in includes/class-blossomthemes-email-newsletter-activator.php
|
42 |
+
*/
|
43 |
+
function activate_blossomthemes_email_newsletter() {
|
44 |
+
require_once plugin_dir_path( __FILE__ ) . 'includes/class-blossomthemes-email-newsletter-activator.php';
|
45 |
+
Blossomthemes_Email_Newsletter_Activator::activate();
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* The code that runs during plugin deactivation.
|
50 |
+
* This action is documented in includes/class-blossomthemes-email-newsletter-deactivator.php
|
51 |
+
*/
|
52 |
+
function deactivate_blossomthemes_email_newsletter() {
|
53 |
+
require_once plugin_dir_path( __FILE__ ) . 'includes/class-blossomthemes-email-newsletter-deactivator.php';
|
54 |
+
Blossomthemes_Email_Newsletter_Deactivator::deactivate();
|
55 |
+
}
|
56 |
+
|
57 |
+
register_activation_hook( __FILE__, 'activate_blossomthemes_email_newsletter' );
|
58 |
+
register_deactivation_hook( __FILE__, 'deactivate_blossomthemes_email_newsletter' );
|
59 |
+
|
60 |
+
/**
|
61 |
+
* The core plugin class that is used to define internationalization,
|
62 |
+
* admin-specific hooks, and public-facing site hooks.
|
63 |
+
*/
|
64 |
+
require plugin_dir_path( __FILE__ ) . 'includes/class-blossomthemes-email-newsletter.php';
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Begins execution of the plugin.
|
68 |
+
*
|
69 |
+
* Since everything within the plugin is registered via hooks,
|
70 |
+
* then kicking off the plugin from this point in the file does
|
71 |
+
* not affect the page life cycle.
|
72 |
+
*
|
73 |
+
* @since 2.0.0
|
74 |
+
*/
|
75 |
+
function run_blossomthemes_email_newsletter() {
|
76 |
+
|
77 |
+
$plugin = new Blossomthemes_Email_Newsletter();
|
78 |
+
$plugin->run();
|
79 |
+
|
80 |
+
}
|
81 |
+
run_blossomthemes_email_newsletter();
|
includes/widgets/widget-blossomthemes-newsletter.php
CHANGED
@@ -99,16 +99,19 @@ class BlossomThemes_Email_Newsletter_Widget extends WP_Widget {
|
|
99 |
|
100 |
?>
|
101 |
<div class="blossomthemes-email-newsletter-wrapper<?php if(isset($blossomthemes_email_newsletter_setting['appearance']['newsletter-bg-option']) && $blossomthemes_email_newsletter_setting['appearance']['newsletter-bg-option'] == 'image'){ echo ' bg-img', $overlay; }?>" id="boxes-<?php echo esc_attr($atts['id']);?>" style="background: <?php echo esc_attr($rrsb_bg);?>; color:<?php echo esc_attr($rrsb_fc);?>;">
|
102 |
-
|
103 |
-
|
104 |
-
{
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
|
|
|
|
|
|
112 |
<div class="text-holder" >
|
113 |
<?php if( get_the_title( $atts['id'] ) ) { $title = get_the_title( $atts['id'] ); echo '<h3>'.esc_attr($title).'</h3>'; }?>
|
114 |
<?php
|
@@ -165,6 +168,11 @@ class BlossomThemes_Email_Newsletter_Widget extends WP_Widget {
|
|
165 |
</form>
|
166 |
<div class="bten-response" id="bten-response-<?php echo esc_attr($atts['id']);?>"><span></span></div>
|
167 |
<div id="mask-<?php echo esc_attr($atts['id']);?>"></div>
|
|
|
|
|
|
|
|
|
|
|
168 |
</div>
|
169 |
<?php
|
170 |
|
99 |
|
100 |
?>
|
101 |
<div class="blossomthemes-email-newsletter-wrapper<?php if(isset($blossomthemes_email_newsletter_setting['appearance']['newsletter-bg-option']) && $blossomthemes_email_newsletter_setting['appearance']['newsletter-bg-option'] == 'image'){ echo ' bg-img', $overlay; }?>" id="boxes-<?php echo esc_attr($atts['id']);?>" style="background: <?php echo esc_attr($rrsb_bg);?>; color:<?php echo esc_attr($rrsb_fc);?>;">
|
102 |
+
|
103 |
+
<?php $inner_wrap = apply_filters( 'bt_newsletter_widget_inner_wrap_display', false );
|
104 |
+
if ( $inner_wrap ) {
|
105 |
+
do_action( 'bt_newsletter_widget_inner_wrap_start' );
|
106 |
+
} ?>
|
107 |
+
|
108 |
+
<?php if( isset( $image ) && $image!='' ) { ?>
|
109 |
+
<div class="img-holder">
|
110 |
+
<?php echo wp_get_attachment_image( $image, $icon_img_size, false,
|
111 |
+
array( 'alt' => esc_attr( $title )));
|
112 |
+
?>
|
113 |
+
</div>
|
114 |
+
<?php } ?>
|
115 |
<div class="text-holder" >
|
116 |
<?php if( get_the_title( $atts['id'] ) ) { $title = get_the_title( $atts['id'] ); echo '<h3>'.esc_attr($title).'</h3>'; }?>
|
117 |
<?php
|
168 |
</form>
|
169 |
<div class="bten-response" id="bten-response-<?php echo esc_attr($atts['id']);?>"><span></span></div>
|
170 |
<div id="mask-<?php echo esc_attr($atts['id']);?>"></div>
|
171 |
+
|
172 |
+
<?php $inner_wrap = apply_filters( 'bt_newsletter_widget_inner_wrap_display', false );
|
173 |
+
if ( $inner_wrap ) {
|
174 |
+
do_action( 'bt_newsletter_widget_inner_wrap_close' );
|
175 |
+
} ?>
|
176 |
</div>
|
177 |
<?php
|
178 |
|
languages/blossomthemes-email-newsletter.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: BlossomThemes Email Newsletter 2.1.
|
6 |
"Report-Msgid-Bugs-To: \n"
|
7 |
-
"POT-Creation-Date: 2020-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -548,29 +548,29 @@ msgstr ""
|
|
548 |
msgid "A Newsletter Widget to add Email Subscription Form to your website."
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: includes/widgets/widget-blossomthemes-newsletter.php:
|
552 |
msgid "--Choose--"
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: includes/widgets/widget-blossomthemes-newsletter.php:
|
556 |
msgid "Title"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: includes/widgets/widget-blossomthemes-newsletter.php:
|
560 |
msgid "Newsletter"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: includes/widgets/widget-blossomthemes-newsletter.php:
|
564 |
msgid ""
|
565 |
"To create a new newsletter form, go to %1$sBlossomThemes Email Newsletters "
|
566 |
"> Add New%2$s"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: includes/widgets/widget-blossomthemes-newsletter.php:
|
570 |
msgid "Enable GDPR"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: includes/widgets/widget-blossomthemes-newsletter.php:
|
574 |
msgid "Upload Newsletter Icon"
|
575 |
msgstr ""
|
576 |
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: BlossomThemes Email Newsletter 2.1.3\n"
|
6 |
"Report-Msgid-Bugs-To: \n"
|
7 |
+
"POT-Creation-Date: 2020-09-28 09:45:35+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
548 |
msgid "A Newsletter Widget to add Email Subscription Form to your website."
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: includes/widgets/widget-blossomthemes-newsletter.php:312
|
552 |
msgid "--Choose--"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: includes/widgets/widget-blossomthemes-newsletter.php:325
|
556 |
msgid "Title"
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: includes/widgets/widget-blossomthemes-newsletter.php:330
|
560 |
msgid "Newsletter"
|
561 |
msgstr ""
|
562 |
|
563 |
+
#: includes/widgets/widget-blossomthemes-newsletter.php:340
|
564 |
msgid ""
|
565 |
"To create a new newsletter form, go to %1$sBlossomThemes Email Newsletters "
|
566 |
"> Add New%2$s"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: includes/widgets/widget-blossomthemes-newsletter.php:344
|
570 |
msgid "Enable GDPR"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: includes/widgets/widget-blossomthemes-newsletter.php:349
|
574 |
msgid "Upload Newsletter Icon"
|
575 |
msgstr ""
|
576 |
|