Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp - Version 6.3.3

Version Description

  • Fixed: Minor issues
  • Tested: upto v5.9
Download this release

Release Info

Developer DaNish Ali
Plugin Icon 128x128 Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp
Version 6.3.3
Comparing to
See all releases

Code changes from version 6.3.2 to 6.3.3

README.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: DaNish Ali, maltathemes, sjaved
3
  Tags: Instagram feed, Instagram photos, Instagram gallery, Facebook feed, Facebook posts
4
  Requires at least: 3.3
5
- Tested up to: 5.8
6
- Stable tag: 6.3.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -174,6 +174,10 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
174
  23. Instagram skins/layouts panel
175
 
176
  == Changelog ==
 
 
 
 
177
  = 6.3.2 =
178
  * Fixed: Instagram carousel issue
179
  * Removed: Other page ID support(due to Facebook restrictions)
2
  Contributors: DaNish Ali, maltathemes, sjaved
3
  Tags: Instagram feed, Instagram photos, Instagram gallery, Facebook feed, Facebook posts
4
  Requires at least: 3.3
5
+ Tested up to: 5.9
6
+ Stable tag: 6.3.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
174
  23. Instagram skins/layouts panel
175
 
176
  == Changelog ==
177
+ = 6.3.3 =
178
+ * Fixed: Minor issues
179
+ * Tested: upto v5.9
180
+
181
  = 6.3.2 =
182
  * Fixed: Instagram carousel issue
183
  * Removed: Other page ID support(due to Facebook restrictions)
admin/assets/scss/esf-admin.scss CHANGED
@@ -1702,4 +1702,4 @@ code{
1702
  .fs-terms, #license_issues_link, .fs-freemium-licensing, .fs-permissions{
1703
  display: none;
1704
  }
1705
- }
1702
  .fs-terms, #license_issues_link, .fs-freemium-licensing, .fs-permissions{
1703
  display: none;
1704
  }
1705
+ }
admin/class-esf-admin.php CHANGED
@@ -654,15 +654,16 @@ if ( ! class_exists( 'ESF_Admin' ) ) {
654
  public function esf_upgrade_banner() {
655
 
656
  $banner_info = array(
657
- 'name' => 'Happy New Year',
658
- 'bold' => '',
659
- 'fb-description' => 'Increase social followers, engage more users and get 10x traffic on the new year with a massive 70% off on all plans (including monthly billings). This offer is only available for the first 100 users. So grab this offer now before it will go forever.',
660
- 'insta-description' => 'Increase social followers, engage more users and get 10x traffic on the new year with a massive 70% off on all plans (including monthly billings). This offer is only available for the first 100 users. So grab this offer now before it will go forever.',
661
  'discount-text' => '',
662
- 'coupon' => 'ESFNEWYEAR',
 
663
  'button-text' => 'Upgrade Now',
664
- 'button-url' => 'https://easysocialfeed.com/pricing/?utm_source=plugin_free&utm_medium=users_dashboard&utm_campaign=happy_new_year&utm_id=new_year_offer',
665
- 'target' => '_blank',
666
  );
667
 
668
  return $banner_info;
654
  public function esf_upgrade_banner() {
655
 
656
  $banner_info = array(
657
+ 'name' => 'Easy Social Feed',
658
+ 'bold' => 'PRO',
659
+ 'fb-description' => 'Increase social followers, engage more users and get 10x traffic with 17% off on all plans (including monthly billings). So grab this offer now before it will go forever.',
660
+ 'insta-description' => 'Increase social followers, engage more users and get 10x traffic with 17% off on all plans (including monthly billings). So grab this offer now before it will go forever.',
661
  'discount-text' => '',
662
+ 'coupon' => 'ESPF17',
663
+ 'discount' => '17%',
664
  'button-text' => 'Upgrade Now',
665
+ 'button-url' => efl_fs()->get_upgrade_url(),
666
+ 'target' => '',
667
  );
668
 
669
  return $banner_info;
easy-facebook-likebox.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
 
3
  /**
4
- * Plugin Name: Easy Social Feed (Premium)
5
  * Plugin URI: https://wordpress.org/plugins/easy-facebook-likebox
6
  * Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display custom facebook feed, custom Instagram photos and videos feed, page plugin (like box) on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generator. Additionally, it also now allows you to display the customized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
7
- * Version: 6.3.2
8
  * Author: Easy Social Feed
9
  * Author URI: https://easysocialfeed.com/
10
  * Text Domain: easy-facebook-likebox
@@ -98,7 +98,7 @@ if ( function_exists( 'efl_fs' ) ) {
98
  if ( !class_exists( 'Feed_Them_All' ) ) {
99
  class Feed_Them_All
100
  {
101
- public $version = '6.3.2' ;
102
  public $fta_slug = 'easy-facebook-likebox' ;
103
  public $plug_slug = 'easy-facebook-likebox' ;
104
  function __construct()
1
  <?php
2
 
3
  /**
4
+ * Plugin Name: Easy Social Feed
5
  * Plugin URI: https://wordpress.org/plugins/easy-facebook-likebox
6
  * Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display custom facebook feed, custom Instagram photos and videos feed, page plugin (like box) on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generator. Additionally, it also now allows you to display the customized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
7
+ * Version: 6.3.3
8
  * Author: Easy Social Feed
9
  * Author URI: https://easysocialfeed.com/
10
  * Text Domain: easy-facebook-likebox
98
  if ( !class_exists( 'Feed_Them_All' ) ) {
99
  class Feed_Them_All
100
  {
101
+ public $version = '6.3.3' ;
102
  public $fta_slug = 'easy-facebook-likebox' ;
103
  public $plug_slug = 'easy-facebook-likebox' ;
104
  function __construct()
facebook/admin/includes/efbl-customizer-extend.php CHANGED
@@ -138,17 +138,17 @@ if ( class_exists( 'WP_Customize_Control' ) && ! class_exists( 'Customize_EFBL_P
138
 
139
  public $icon = null;
140
 
141
-
142
  public function render_content() {
 
 
143
  ?>
144
  <label class="customize-control-title"> <?php echo $this->label; ?></label>
145
  <p><?php echo $this->description; ?></p>
146
 
147
- <p><?php echo __( 'Upgrade today and get a 30% discount with coupon code <code>OCTPASS</code>', 'easy-facebook-likebox' ) ?> </p>
148
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
149
- class="fta-upgrade-btn"><?php echo __( 'Upgrade to pro', 'easy-facebook-likebox' ) ?></a>
150
-
151
-
152
  <?php
153
  }
154
  }
138
 
139
  public $icon = null;
140
 
 
141
  public function render_content() {
142
+ $ESF_Admin = new ESF_Admin();
143
+ $banner_info = $ESF_Admin->esf_upgrade_banner();
144
  ?>
145
  <label class="customize-control-title"> <?php echo $this->label; ?></label>
146
  <p><?php echo $this->description; ?></p>
147
 
148
+ <p><?php echo __( 'Upgrade today and get a '.$banner_info['discount'].' discount with coupon code <code>'.$banner_info['coupon'].'</code>', 'easy-facebook-likebox' ) ?> </p>
149
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
150
+ class="fta-upgrade-btn"><?php echo __( 'Upgrade to pro', 'easy-facebook-likebox' ) ?>
151
+ </a>
 
152
  <?php
153
  }
154
  }
facebook/admin/views/html-admin-page-easy-facebook-likebox.php CHANGED
@@ -7,8 +7,8 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  }
8
 
9
  $FTA = new Feed_Them_All();
10
-
11
  $ESF_Admin = new ESF_Admin();
 
12
 
13
  $fta_settings = $FTA->fta_get_settings();
14
  if( isset($fta_settings['hide_plugin'] ) ){
@@ -122,7 +122,7 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
122
  $mt_plugins = $ESF_Admin->mt_plugins_info();
123
  ?>
124
  <div class="fta-other-plugins-sidebar">
125
- <?php $banner_info = $ESF_Admin->esf_upgrade_banner();
126
  if( !isset( $fta_settings['hide_upgrade']) ){ ?>
127
  <div class="espf-upgrade z-depth-2 esf-hide-upgrade">
128
  <div class="dashicons dashicons-no-alt esf-hide-free-sidebar" data-id="upgrade"></div>
@@ -274,10 +274,18 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
274
  <a target="_blank"
275
  href="https://easysocialfeed.com/custom-facebook-feed"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
276
  </p>
277
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
278
  <hr/>
279
- <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
280
- class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
 
 
 
 
281
  </a>
282
 
283
  </div>
@@ -293,7 +301,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
293
  <a target="_blank"
294
  href="https://easysocialfeed.com/custom-facebook-feed"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
295
  </p>
296
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
297
  <hr/>
298
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
299
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Buy Now", 'easy-facebook-likebox' ); ?>
@@ -310,7 +322,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
310
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
311
  <p><?php esc_html_e( "We are sorry Live stream feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?>
312
  </p>
313
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
314
  <hr/>
315
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
316
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Buy Now", 'easy-facebook-likebox' ); ?>
@@ -328,7 +344,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
328
  <a target="_blank"
329
  href="https://easysocialfeed.com/custom-facebook-feed/grid"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
330
  </p>
331
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
332
  <hr/>
333
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
334
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -345,7 +365,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
345
  <a target="_blank"
346
  href="https://easysocialfeed.com/custom-facebook-feed/masonry"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
347
  </p>
348
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
349
  <hr/>
350
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
351
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -364,7 +388,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
364
  <a target="_blank"
365
  href="https://easysocialfeed.com/custom-facebook-feed/carousel"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
366
  </p>
367
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
368
  <hr/>
369
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
370
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -380,7 +408,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
380
  <div class="mif-modal-content"><span class="mif-lock-icon"><span class="dashicons dashicons-lock"></span> </span>
381
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
382
  <p><?php esc_html_e( "We are sorry showing tabs in likebox feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?></p>
383
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
384
  <hr/>
385
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
386
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -396,7 +428,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
396
  <div class="mif-modal-content"><span class="mif-lock-icon"><span class="dashicons dashicons-lock"></span> </span>
397
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
398
  <p><?php esc_html_e( "We are sorry showing popup on specific pages feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?></p>
399
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
400
  <hr/>
401
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
402
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -412,7 +448,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
412
  <div class="mif-modal-content"><span class="mif-lock-icon"><span class="dashicons dashicons-lock"></span> </span>
413
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
414
  <p><?php esc_html_e( "We're sorry, ability to display posts from other pages not managed by you is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?></p>
415
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
416
  <hr/>
417
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
418
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -428,7 +468,11 @@ if( !isset( $hide_plugin ) || !isset( $hide_upgrade ) ){
428
  <div class="mif-modal-content"><span class="mif-lock-icon"><span class="dashicons dashicons-lock"></span> </span>
429
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
430
  <p><?php esc_html_e( "We are sorry showing popup on exit intent feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?></p>
431
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br><code>OCTPASS</code></p>
 
 
 
 
432
  <hr/>
433
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
434
  class="btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
7
  }
8
 
9
  $FTA = new Feed_Them_All();
 
10
  $ESF_Admin = new ESF_Admin();
11
+ $banner_info = $ESF_Admin->esf_upgrade_banner();
12
 
13
  $fta_settings = $FTA->fta_get_settings();
14
  if( isset($fta_settings['hide_plugin'] ) ){
122
  $mt_plugins = $ESF_Admin->mt_plugins_info();
123
  ?>
124
  <div class="fta-other-plugins-sidebar">
125
+ <?php
126
  if( !isset( $fta_settings['hide_upgrade']) ){ ?>
127
  <div class="espf-upgrade z-depth-2 esf-hide-upgrade">
128
  <div class="dashicons dashicons-no-alt esf-hide-free-sidebar" data-id="upgrade"></div>
274
  <a target="_blank"
275
  href="https://easysocialfeed.com/custom-facebook-feed"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
276
  </p>
277
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
278
+ <?php if( $banner_info['coupon'] ){ ?>
279
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
280
+ <?php } ?>
281
+ </p>
282
  <hr/>
283
+ <a href="<?php echo esc_url( $banner_info['button-url'] ) ?>"
284
+ <?php if ( $banner_info['target'] ){ ?>
285
+ target="<?php esc_attr_e($banner_info['target']); ?>"
286
+ <?php } ?>
287
+ class="btn"><span class="dashicons dashicons-unlock right"></span>
288
+ <?php esc_html_e( $banner_info['button-text'] ); ?>
289
  </a>
290
 
291
  </div>
301
  <a target="_blank"
302
  href="https://easysocialfeed.com/custom-facebook-feed"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
303
  </p>
304
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
305
+ <?php if( $banner_info['coupon'] ){ ?>
306
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
307
+ <?php } ?>
308
+ </p>
309
  <hr/>
310
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
311
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Buy Now", 'easy-facebook-likebox' ); ?>
322
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
323
  <p><?php esc_html_e( "We are sorry Live stream feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?>
324
  </p>
325
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
326
+ <?php if( $banner_info['coupon'] ){ ?>
327
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
328
+ <?php } ?>
329
+ </p>
330
  <hr/>
331
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
332
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Buy Now", 'easy-facebook-likebox' ); ?>
344
  <a target="_blank"
345
  href="https://easysocialfeed.com/custom-facebook-feed/grid"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
346
  </p>
347
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
348
+ <?php if( $banner_info['coupon'] ){ ?>
349
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
350
+ <?php } ?>
351
+ </p>
352
  <hr/>
353
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
354
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
365
  <a target="_blank"
366
  href="https://easysocialfeed.com/custom-facebook-feed/masonry"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
367
  </p>
368
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
369
+ <?php if( $banner_info['coupon'] ){ ?>
370
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
371
+ <?php } ?>
372
+ </p>
373
  <hr/>
374
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
375
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
388
  <a target="_blank"
389
  href="https://easysocialfeed.com/custom-facebook-feed/carousel"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
390
  </p>
391
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
392
+ <?php if( $banner_info['coupon'] ){ ?>
393
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
394
+ <?php } ?>
395
+ </p>
396
  <hr/>
397
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
398
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
408
  <div class="mif-modal-content"><span class="mif-lock-icon"><span class="dashicons dashicons-lock"></span> </span>
409
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
410
  <p><?php esc_html_e( "We are sorry showing tabs in likebox feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?></p>
411
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
412
+ <?php if( $banner_info['coupon'] ){ ?>
413
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
414
+ <?php } ?>
415
+ </p>
416
  <hr/>
417
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
418
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
428
  <div class="mif-modal-content"><span class="mif-lock-icon"><span class="dashicons dashicons-lock"></span> </span>
429
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
430
  <p><?php esc_html_e( "We are sorry showing popup on specific pages feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?></p>
431
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
432
+ <?php if( $banner_info['coupon'] ){ ?>
433
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
434
+ <?php } ?>
435
+ </p>
436
  <hr/>
437
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
438
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
448
  <div class="mif-modal-content"><span class="mif-lock-icon"><span class="dashicons dashicons-lock"></span> </span>
449
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
450
  <p><?php esc_html_e( "We're sorry, ability to display posts from other pages not managed by you is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?></p>
451
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
452
+ <?php if( $banner_info['coupon'] ){ ?>
453
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
454
+ <?php } ?>
455
+ </p>
456
  <hr/>
457
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
458
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
468
  <div class="mif-modal-content"><span class="mif-lock-icon"><span class="dashicons dashicons-lock"></span> </span>
469
  <h5><?php esc_html_e( "Premium Feature", 'easy-facebook-likebox' ); ?></h5>
470
  <p><?php esc_html_e( "We are sorry showing popup on exit intent feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' ); ?></p>
471
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?', 'easy-facebook-likebox' ); ?></br>
472
+ <?php if( $banner_info['coupon'] ){ ?>
473
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
474
+ <?php } ?>
475
+ </p>
476
  <hr/>
477
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
478
  class="btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
facebook/admin/views/html-moderate-tab.php CHANGED
@@ -120,7 +120,9 @@ $fta_settings = $FTA->fta_get_settings();
120
  ?>
121
  </div>
122
 
123
- <?php if ( efl_fs()->is_free_plan() || efl_fs()->is_plan( 'instagram_premium', true ) ){ ?>
 
 
124
  <div class="efbl-moderate-pro">
125
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>&trial=true"
126
  class="trial-btn"><?php esc_html_e( "Free 7-day PRO trial", 'easy-facebook-likebox' ); ?>
@@ -128,7 +130,11 @@ $fta_settings = $FTA->fta_get_settings();
128
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
129
  class=" btn pro-btn"><span class="dashicons dashicons-unlock right"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
130
  </a>
131
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' ); ?> <code>OCTPASS</code></p>
 
 
 
 
132
  </div>
133
  <?php } ?>
134
 
120
  ?>
121
  </div>
122
 
123
+ <?php if ( efl_fs()->is_free_plan() || efl_fs()->is_plan( 'instagram_premium', true ) ){
124
+ $ESF_Admin = new ESF_Admin();
125
+ $banner_info = $ESF_Admin->esf_upgrade_banner();?>
126
  <div class="efbl-moderate-pro">
127
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>&trial=true"
128
  class="trial-btn"><?php esc_html_e( "Free 7-day PRO trial", 'easy-facebook-likebox' ); ?>
130
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
131
  class=" btn pro-btn"><span class="dashicons dashicons-unlock right"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
132
  </a>
133
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' ); ?>
134
+ <?php if( $banner_info['coupon'] ){ ?>
135
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
136
+ <?php } ?>
137
+ </p>
138
  </div>
139
  <?php } ?>
140
 
facebook/frontend/easy-facebook-likebox.php CHANGED
@@ -30,7 +30,7 @@ class Easy_Facebook_Likebox
30
  *
31
  * @var string
32
  */
33
- const VERSION = '6.3.2' ;
34
  /**
35
  *
36
  * Unique identifier for your plugin.
30
  *
31
  * @var string
32
  */
33
+ const VERSION = '6.3.3' ;
34
  /**
35
  *
36
  * Unique identifier for your plugin.
facebook/frontend/views/feed.php CHANGED
@@ -60,7 +60,13 @@ if ( isset( $efbl_queried_data['transient_name'] ) && !empty($efbl_queried_data[
60
  $cache_seconds = efbl_get_cache_seconds( $instance );
61
  global $efbl_skins ;
62
  $selected_skin = $efbl_skins[$skin_id]['layout'];
63
- $is_public_page = $efbl_queried_data['public_page'];
 
 
 
 
 
 
64
 
65
  if ( is_customize_preview() && isset( $post->ID ) && $post->ID == $efbl_demo_page_id ) {
66
  $skin_id = get_option( 'efbl_skin_id', false );
60
  $cache_seconds = efbl_get_cache_seconds( $instance );
61
  global $efbl_skins ;
62
  $selected_skin = $efbl_skins[$skin_id]['layout'];
63
+
64
+ if ( isset( $efbl_queried_data['public_page'] ) && !empty($efbl_queried_data['public_page']) ) {
65
+ $is_public_page = $efbl_queried_data['public_page'];
66
+ } else {
67
+ $is_public_page = false;
68
+ }
69
+
70
 
71
  if ( is_customize_preview() && isset( $post->ID ) && $post->ID == $efbl_demo_page_id ) {
72
  $skin_id = get_option( 'efbl_skin_id', false );
facebook/includes/easy-custom-facebook-feed-widget.php CHANGED
@@ -262,8 +262,6 @@ class Easy_Custom_Facebook_Feed_Widget extends WP_Widget
262
 
263
  </p>
264
 
265
- <?php
266
- ?>
267
 
268
  <p>
269
  <label style="font-weight: bold;"
262
 
263
  </p>
264
 
 
 
265
 
266
  <p>
267
  <label style="font-weight: bold;"
freemius/assets/img/esf-multifeed.png ADDED
Binary file
instagram/admin/includes/class-esf-insta-customizer-extend.php CHANGED
@@ -138,15 +138,16 @@ if ( class_exists( 'WP_Customize_Control' ) && ! class_exists( 'Customize_MIF_Po
138
 
139
 
140
  public function render_content() {
 
 
141
  ?>
142
  <label class="customize-control-title"> <?php esc_html_e( $this->label ); ?></label>
143
  <p><?php esc_html_e( $this->description ); ?></p>
144
 
145
- <p><?php echo __( 'Upgrade today and get a 30% discount with coupon code <code>OCTPASS</code>', 'easy-facebook-likebox' ) ?> </p>
146
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
147
- class="fta-upgrade-btn"><?php echo __( 'Upgrade to pro', 'easy-facebook-likebox' ) ?></a>
148
-
149
-
150
  <?php
151
  }
152
  }
138
 
139
 
140
  public function render_content() {
141
+ $ESF_Admin = new ESF_Admin();
142
+ $banner_info = $ESF_Admin->esf_upgrade_banner();
143
  ?>
144
  <label class="customize-control-title"> <?php esc_html_e( $this->label ); ?></label>
145
  <p><?php esc_html_e( $this->description ); ?></p>
146
 
147
+ <p><?php echo __( 'Upgrade today and get a '.$banner_info['discount'].' discount with coupon code <code>'.$banner_info['coupon'].'</code>', 'easy-facebook-likebox' ) ?> </p>
148
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
149
+ class="fta-upgrade-btn"><?php echo __( 'Upgrade to pro', 'easy-facebook-likebox' ) ?>
150
+ </a>
 
151
  <?php
152
  }
153
  }
instagram/admin/views/html-admin-page-mif.php CHANGED
@@ -10,6 +10,8 @@ $FTA = new Feed_Them_All();
10
 
11
  $ESF_Admin = new ESF_Admin();
12
 
 
 
13
  $fta_settings = $FTA->fta_get_settings();
14
 
15
  if( isset($fta_settings['hide_plugin'] ) ){
@@ -194,8 +196,11 @@ if( isset( $_GET['tab'] ) ) {
194
  <a target="_blank"
195
  href="<?php echo esc_url( 'https://easysocialfeed.com/my-instagram-feed-demo/masonary' ); ?>"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
196
  </p>
197
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter ', 'easy-facebook-likebox' ); ?>
198
- <code>OCTPASS</code></p>
 
 
 
199
  <hr/>
200
  <a href="<?php echo esc_url( efl_fs()->get_upgrade_url() ); ?>"
201
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -218,8 +223,11 @@ if( isset( $_GET['tab'] ) ) {
218
  <a target="_blank"
219
  href="<?php echo esc_url( 'https://easysocialfeed.com/my-instagram-feed-demo/carousel' ); ?>"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
220
  </p>
221
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter ', 'easy-facebook-likebox' ); ?>
222
- <code>OCTPASS</code></p>
 
 
 
223
  <hr/>
224
  <a href="<?php echo esc_url( efl_fs()->get_upgrade_url() ); ?>"
225
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -242,8 +250,11 @@ if( isset( $_GET['tab'] ) ) {
242
  <a target="_blank"
243
  href="<?php echo esc_url( 'https://easysocialfeed.com/my-instagram-feed-demo/blog-layout' ); ?>"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
244
  </p>
245
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter ', 'easy-facebook-likebox' ); ?>
246
- <code>OCTPASS</code></p>
 
 
 
247
  <hr/>
248
  <a href="<?php echo esc_url( efl_fs()->get_upgrade_url() ); ?>"
249
  class=" btn"><span class="dashicons dashicons-lock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -266,8 +277,11 @@ if( isset( $_GET['tab'] ) ) {
266
  <a target="_blank"
267
  href="<?php echo esc_url( 'https://easysocialfeed.com/my-instagram-feed-demo/full-width' ); ?>"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
268
  </p>
269
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter ', 'easy-facebook-likebox' ); ?>
270
- <code>OCTPASS</code></p>
 
 
 
271
  <hr/>
272
  <a href="<?php echo esc_url( efl_fs()->get_upgrade_url() ); ?>"
273
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
@@ -355,7 +369,9 @@ if( isset( $_GET['tab'] ) ) {
355
 
356
  <li href="<?php esc_attr_e( $slug ); ?>">
357
 
358
- <?php if ( $mt_plugin['name'] ) { ?>
 
 
359
 
360
  <h2><?php esc_html_e( $mt_plugin['name'] ); ?></h2>
361
 
10
 
11
  $ESF_Admin = new ESF_Admin();
12
 
13
+ $banner_info = $ESF_Admin->esf_upgrade_banner();
14
+
15
  $fta_settings = $FTA->fta_get_settings();
16
 
17
  if( isset($fta_settings['hide_plugin'] ) ){
196
  <a target="_blank"
197
  href="<?php echo esc_url( 'https://easysocialfeed.com/my-instagram-feed-demo/masonary' ); ?>"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
198
  </p>
199
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?" and enter ', 'easy-facebook-likebox' ); ?>
200
+ <?php if( $banner_info['coupon'] ){ ?>
201
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
202
+ <?php } ?>
203
+ </p>
204
  <hr/>
205
  <a href="<?php echo esc_url( efl_fs()->get_upgrade_url() ); ?>"
206
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
223
  <a target="_blank"
224
  href="<?php echo esc_url( 'https://easysocialfeed.com/my-instagram-feed-demo/carousel' ); ?>"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
225
  </p>
226
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?" and enter ', 'easy-facebook-likebox' ); ?>
227
+ <?php if( $banner_info['coupon'] ){ ?>
228
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
229
+ <?php } ?>
230
+ </p>
231
  <hr/>
232
  <a href="<?php echo esc_url( efl_fs()->get_upgrade_url() ); ?>"
233
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
250
  <a target="_blank"
251
  href="<?php echo esc_url( 'https://easysocialfeed.com/my-instagram-feed-demo/blog-layout' ); ?>"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
252
  </p>
253
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?" and enter ', 'easy-facebook-likebox' ); ?>
254
+ <?php if( $banner_info['coupon'] ){ ?>
255
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
256
+ <?php } ?>
257
+ </p>
258
  <hr/>
259
  <a href="<?php echo esc_url( efl_fs()->get_upgrade_url() ); ?>"
260
  class=" btn"><span class="dashicons dashicons-lock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
277
  <a target="_blank"
278
  href="<?php echo esc_url( 'https://easysocialfeed.com/my-instagram-feed-demo/full-width' ); ?>"><?php esc_html_e( "Check out the demo", 'easy-facebook-likebox' ); ?></a>
279
  </p>
280
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['coupon'].' discount! On the checkout click on "Have a promotional code?" and enter ', 'easy-facebook-likebox' ); ?>
281
+ <?php if( $banner_info['coupon'] ){ ?>
282
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
283
+ <?php } ?>
284
+ </p>
285
  <hr/>
286
  <a href="<?php echo esc_url( efl_fs()->get_upgrade_url() ); ?>"
287
  class=" btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
369
 
370
  <li href="<?php esc_attr_e( $slug ); ?>">
371
 
372
+ <?php if ( $mt_plugin['name'] ) {
373
+
374
+ ?>
375
 
376
  <h2><?php esc_html_e( $mt_plugin['name'] ); ?></h2>
377
 
instagram/admin/views/html-how-to-use-tab.php CHANGED
@@ -9,6 +9,8 @@ if ( !defined( 'ABSPATH' ) ) {
9
  global $mif_skins ;
10
  $FTA = new Feed_Them_All();
11
  $fta_settings = $FTA->fta_get_settings();
 
 
12
  if ( isset( $fta_settings['plugins']['instagram']['authenticated_accounts'] ) ) {
13
  $mif_users = $fta_settings['plugins']['instagram']['authenticated_accounts'];
14
  }
@@ -189,9 +191,20 @@ if ( efl_fs()->is_plan( 'instagram_premium', true ) or efl_fs()->is_plan( 'combo
189
  esc_html_e( "We're sorry, Hashtag feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' );
190
  ?></p>
191
  <p><?php
192
- esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' );
193
  ?>
194
- <code>OCTPASS</code></p>
 
 
 
 
 
 
 
 
 
 
 
195
  <hr/>
196
  <a href="<?php
197
  echo esc_url( efl_fs()->get_upgrade_url() ) ;
@@ -333,9 +346,20 @@ if ( efl_fs()->is_plan( 'instagram_premium', true ) or efl_fs()->is_plan( 'combo
333
  esc_html_e( "We're sorry, Load more is not included in your plan. Add load more button at the bottom of each feed to load more photos and videos.", 'easy-facebook-likebox' );
334
  ?></p>
335
  <p><?php
336
- esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' );
337
  ?>
338
- <code>OCTPASS</code></p>
 
 
 
 
 
 
 
 
 
 
 
339
  <hr/>
340
  <a href="<?php
341
  echo esc_url( efl_fs()->get_upgrade_url() ) ;
@@ -390,9 +414,20 @@ if ( efl_fs()->is_plan( 'instagram_premium', true ) or efl_fs()->is_plan( 'combo
390
  esc_html_e( "We're sorry, Account Stories are not included in your plan.", 'easy-facebook-likebox' );
391
  ?></p>
392
  <p><?php
393
- esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' );
 
 
 
 
 
 
 
 
 
 
 
394
  ?>
395
- <code>OCTPASS</code></p>
396
  <hr/>
397
  <a href="<?php
398
  echo esc_url( efl_fs()->get_upgrade_url() ) ;
9
  global $mif_skins ;
10
  $FTA = new Feed_Them_All();
11
  $fta_settings = $FTA->fta_get_settings();
12
+ $ESF_Admin = new ESF_Admin();
13
+ $banner_info = $ESF_Admin->esf_upgrade_banner();
14
  if ( isset( $fta_settings['plugins']['instagram']['authenticated_accounts'] ) ) {
15
  $mif_users = $fta_settings['plugins']['instagram']['authenticated_accounts'];
16
  }
191
  esc_html_e( "We're sorry, Hashtag feature is not included in your plan. Please upgrade to premium version to unlock this and all other cool features.", 'easy-facebook-likebox' );
192
  ?></p>
193
  <p><?php
194
+ esc_html_e( 'Upgrade today and get ' . $banner_info['discount'] . ' discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' );
195
  ?>
196
+ <?php
197
+
198
+ if ( $banner_info['coupon'] ) {
199
+ ?>
200
+ <code><?php
201
+ esc_html_e( $banner_info['coupon'] );
202
+ ?></code>
203
+ <?php
204
+ }
205
+
206
+ ?>
207
+ </p>
208
  <hr/>
209
  <a href="<?php
210
  echo esc_url( efl_fs()->get_upgrade_url() ) ;
346
  esc_html_e( "We're sorry, Load more is not included in your plan. Add load more button at the bottom of each feed to load more photos and videos.", 'easy-facebook-likebox' );
347
  ?></p>
348
  <p><?php
349
+ esc_html_e( 'Upgrade today and get ' . $banner_info['discount'] . ' discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' );
350
  ?>
351
+ <?php
352
+
353
+ if ( $banner_info['coupon'] ) {
354
+ ?>
355
+ <code><?php
356
+ esc_html_e( $banner_info['coupon'] );
357
+ ?></code>
358
+ <?php
359
+ }
360
+
361
+ ?>
362
+ </p>
363
  <hr/>
364
  <a href="<?php
365
  echo esc_url( efl_fs()->get_upgrade_url() ) ;
414
  esc_html_e( "We're sorry, Account Stories are not included in your plan.", 'easy-facebook-likebox' );
415
  ?></p>
416
  <p><?php
417
+ esc_html_e( 'Upgrade today and get ' . $banner_info['coupon'] . ' discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' );
418
+ ?>
419
+ <?php
420
+
421
+ if ( $banner_info['coupon'] ) {
422
+ ?>
423
+ <code><?php
424
+ esc_html_e( $banner_info['coupon'] );
425
+ ?></code>
426
+ <?php
427
+ }
428
+
429
  ?>
430
+ </p>
431
  <hr/>
432
  <a href="<?php
433
  echo esc_url( efl_fs()->get_upgrade_url() ) ;
instagram/admin/views/html-moderate-tab.php CHANGED
@@ -92,7 +92,10 @@ $fta_settings = $FTA->fta_get_settings();
92
  }
93
  ?>
94
  </div>
95
- <?php if ( efl_fs()->is_free_plan() || efl_fs()->is_plan( 'facebook_premium', true ) ){ ?>
 
 
 
96
  <div class="mif-moderate-pro">
97
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>&trial=true"
98
  class="trial-btn"><?php esc_html_e( "Free 7-day PRO trial", 'easy-facebook-likebox' ); ?>
@@ -100,7 +103,11 @@ $fta_settings = $FTA->fta_get_settings();
100
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
101
  class=" btn pro-btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
102
  </a>
103
- <p><?php esc_html_e( 'Upgrade today and get a 30% discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' ); ?> <code>OCTPASS</code></p>
 
 
 
 
104
  </div>
105
  <?php } ?>
106
 
92
  }
93
  ?>
94
  </div>
95
+ <?php if ( efl_fs()->is_free_plan() || efl_fs()->is_plan( 'facebook_premium', true ) ){
96
+ $ESF_Admin = new ESF_Admin();
97
+ $banner_info = $ESF_Admin->esf_upgrade_banner();
98
+ ?>
99
  <div class="mif-moderate-pro">
100
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>&trial=true"
101
  class="trial-btn"><?php esc_html_e( "Free 7-day PRO trial", 'easy-facebook-likebox' ); ?>
103
  <a href="<?php echo efl_fs()->get_upgrade_url() ?>"
104
  class=" btn pro-btn"><span class="dashicons dashicons-unlock"></span><?php esc_html_e( "Upgrade to pro", 'easy-facebook-likebox' ); ?>
105
  </a>
106
+ <p><?php esc_html_e( 'Upgrade today and get '.$banner_info['discount'].' discount! On the checkout click on "Have a promotional code?" and enter', 'easy-facebook-likebox' ); ?>
107
+ <?php if( $banner_info['coupon'] ){ ?>
108
+ <code><?php esc_html_e( $banner_info['coupon'] ); ?></code>
109
+ <?php } ?>
110
+ </p>
111
  </div>
112
  <?php } ?>
113