WpDevArt Facebook Like Box Widget - Version 0.8.02

Version Description

  • Fixed bug with the like box popup.

Step by step guide

Adding to the sidebar.

Install the plugin and add the widget to your sidebar. Then set the widget options. That's all, now your users can see your fan page on your widget.

Adding in posts/pages using shortcode button.

For adding it in your pages/posts you just need to click on our plugin shorcode button from your pages/posts.

Adding Popup and Sticky boxes.

You need to click on our plugin submenu from your admin panel menu. Then just set up options.

Main options

  • Page ID: - Type here your fan page url(without https://www.facebook.com/, for example - uefacom).
  • Animation - Choose Animation type
  • Show/Hide border - Show/Hide border
  • Border color - Type the Border Color
  • Show/Hide latest posts - Show/Hide the latest posts
  • Width - Type width
  • Height - Type height
  • header - Show/Hide the header
  • Show/Hide Friends Faces - Choose to Show/Hide Friends Faces
  • Select Header size - Select Header size
  • Show/hide cover photo - Choose to show/hide cover photo
  • Language - Type the language code

Popup options

  • Enable/Disable - Select to show or hide it
  • Display on - Select where to display it
  • Display periodicity - Select the display periodicity
  • Time to show - Type the time when it will appear
  • Width - Type here the width
  • Height - Type here the height
  • Title - Type here the title
  • Title color - Type here the title color
  • Title Font family - Choose the title Font family
  • Page ID - Type here your fan page url
  • Show/Hide border - Show/Hide border
  • Border color - Type the Border Color
  • Show/Hide latest posts - Show/Hide the latest posts
  • Show/Hide Friends Faces - Choose to Show/Hide Friends Faces
  • Select Header size - Select Header size
  • Show/hide cover photo - Choose to show/hide cover photo
  • Language - Type the language code

Stickybox options

  • Enable/Disable - Select to show or hide it
  • Display on - Select where to display it
  • Position - Select the position
  • Height - Select the height
  • Page ID - Type here your fan page url
  • Width - Type here the width
  • Height - Type here the width
  • Button bg color - Type here the button background color
  • Border color - Type here the border color
  • Title - Type here the title
  • Title color - Select the title color.
  • Title Font family - Choose the Title Font family
  • Show/Hide Friends Faces - Choose to Show/Hide Friends Faces
  • Select Header size - Select Header size
  • Show/hide cover photo - Choose to show/hide cover photo
  • Show/Hide latest posts - Show/Hide the latest posts
  • Language - Type the language code

Widget options

  • Title: - Type here the widget title
  • Page ID: - Type here your fan page url
  • Width: - Type here the width
  • Height: - Type here the height
  • Animation: - Choose Animation type
  • Show border: - Show/Hide border
  • Border Color: - Select the Border Color
  • Show latest posts: - Show/Hide the latest posts
  • Show/Hide Friends Faces: - Show/Hide Friends Faces
  • Select Header size: - Select Header size
  • Cover photo: - Show/hide cover photo
  • Language: - Type the language code

If you found any bug in our plugin or have a question contact us at our plugin SUPPORT FORUM.

We tried to create the best Fb page plugin that you ever use. Maybe we missed some options or features that you need, so you can suggest any feature that you need and we will try to add it in future. Use our support forum on WordPress for any suggestion about new features.

Download this release

Release Info

Developer smplug-in
Plugin Icon 128x128 WpDevArt Facebook Like Box Widget
Version 0.8.02
Comparing to
See all releases

Code changes from version 0.8.01 to 0.8.02

includes/admin_menu.php CHANGED
@@ -299,8 +299,7 @@ die;
299
  /*############################### Database function ########################################*/
300
 
301
  public function save_in_databese(){
302
- $kk=1;
303
-
304
  if(isset($_POST['like_box_options_nonce']) && wp_verify_nonce( $_POST['like_box_options_nonce'],'like_box_options_nonce')){
305
  foreach($this->databese_parametrs[$_POST['curent_page']] as $key => $value){
306
  if(isset($_POST[$key]))
@@ -323,9 +322,6 @@ die;
323
  /*############ Main menu Function ##################*/
324
 
325
  public function main_menu_function(){
326
-
327
- $enable_disable=$this->generete_parametrs('general_save_parametr');
328
- $enable_disable=$enable_disable['like_box_page_mode'];
329
  ?>
330
  <script>
331
  var like_box_ajaxurl="<?php echo admin_url( 'admin-ajax.php'); ?>";
@@ -629,8 +625,8 @@ die;
629
  </td>
630
  <td>
631
  <select id="like_box_sidebar_slide_mode">
632
- <option <?php selected($page_parametrs['like_box_sidebar_slide_mode'],'1') ?> value="yes">Enable</option>
633
- <option <?php selected($page_parametrs['like_box_sidebar_slide_mode'],'0') ?> value="no">Disable</option>
634
  </select>
635
  </td>
636
  </tr>
299
  /*############################### Database function ########################################*/
300
 
301
  public function save_in_databese(){
302
+ $kk=1;
 
303
  if(isset($_POST['like_box_options_nonce']) && wp_verify_nonce( $_POST['like_box_options_nonce'],'like_box_options_nonce')){
304
  foreach($this->databese_parametrs[$_POST['curent_page']] as $key => $value){
305
  if(isset($_POST[$key]))
322
  /*############ Main menu Function ##################*/
323
 
324
  public function main_menu_function(){
 
 
 
325
  ?>
326
  <script>
327
  var like_box_ajaxurl="<?php echo admin_url( 'admin-ajax.php'); ?>";
625
  </td>
626
  <td>
627
  <select id="like_box_sidebar_slide_mode">
628
+ <option <?php selected($page_parametrs['like_box_sidebar_slide_mode'],'yes') ?> value="yes">Enable</option>
629
+ <option <?php selected($page_parametrs['like_box_sidebar_slide_mode'],'no') ?> value="no">Disable</option>
630
  </select>
631
  </td>
632
  </tr>
includes/front_end.php CHANGED
@@ -30,7 +30,7 @@ class like_box_front_end{
30
  // Generates footer js code
31
  add_action( 'wp_footer', array($this,'like_box_popup_in_footer'));
32
  add_action( 'wp_footer', array($this,'like_box_sibar_slider_in_footer'));
33
- add_action( 'wp_head',array($this,'generete_front_javascript'));
34
  // Generates content code
35
  add_shortcode( 'wpdevart_like_box', array($this,'like_box_ifreame_content_generator') );
36
  $this->params=$this->generete_params();
@@ -73,10 +73,11 @@ class like_box_front_end{
73
  /*###################### Front-end javascript function ##################*/
74
 
75
  public function generete_front_javascript(){
76
- wp_enqueue_style('animated');
77
- wp_enqueue_style('front_end_like_box');
78
  wp_enqueue_script('like-box-front-end');
79
  wp_enqueue_script('thickbox');
 
 
80
  wp_enqueue_style('thickbox');
81
 
82
  }
@@ -267,8 +268,6 @@ class like_box_front_end{
267
  <?php
268
  $this->css_like_box_sibar_slider_in_footer($width,$height);
269
  }
270
-
271
-
272
  }
273
  }
274
  ?>
30
  // Generates footer js code
31
  add_action( 'wp_footer', array($this,'like_box_popup_in_footer'));
32
  add_action( 'wp_footer', array($this,'like_box_sibar_slider_in_footer'));
33
+ add_filter( 'wp_head',array($this,'generete_front_javascript'), 1);
34
  // Generates content code
35
  add_shortcode( 'wpdevart_like_box', array($this,'like_box_ifreame_content_generator') );
36
  $this->params=$this->generete_params();
73
  /*###################### Front-end javascript function ##################*/
74
 
75
  public function generete_front_javascript(){
76
+ wp_enqueue_script('jquery');
 
77
  wp_enqueue_script('like-box-front-end');
78
  wp_enqueue_script('thickbox');
79
+ wp_enqueue_style('animated');
80
+ wp_enqueue_style('front_end_like_box');
81
  wp_enqueue_style('thickbox');
82
 
83
  }
268
  <?php
269
  $this->css_like_box_sibar_slider_in_footer($width,$height);
270
  }
 
 
271
  }
272
  }
273
  ?>
like-box.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WpDevArt Social Like Box
4
  Plugin URI: https://wordpress.org/plugins/like-box
5
  Description: WpDevArt Social (Facebook) like box plugin will help you to display Facebook like box on your wesite, just add Facebook Like box widget to your sidebar and use it. Also you can use Facebook Like box on your pages/posts and create Facebook Like box popup for your website.
6
- Version: 0.8.01
7
  Author: smplug-in
8
  Author URI: https://wpdevart.com/wordpress-facebook-like-box-plugin/
9
  License: GPL/GPL3
3
  Plugin Name: WpDevArt Social Like Box
4
  Plugin URI: https://wordpress.org/plugins/like-box
5
  Description: WpDevArt Social (Facebook) like box plugin will help you to display Facebook like box on your wesite, just add Facebook Like box widget to your sidebar and use it. Also you can use Facebook Like box on your pages/posts and create Facebook Like box popup for your website.
6
+ Version: 0.8.02
7
  Author: smplug-in
8
  Author URI: https://wpdevart.com/wordpress-facebook-like-box-plugin/
9
  License: GPL/GPL3
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smplug-in
3
  Tags: facebook like box, Facebook like box widget, like box, Facebook Page, Facebook
4
  Requires at least: 2.9
5
  Tested up to: 5.7
6
- Stable tag: 0.8.01
7
 
8
  WordPress Facebook Like box plugin will help you to display like box on your website, just add our plugin widget to your sidebar and use it. Also you can use our plugin on your pages/posts and create fan page popup for your website.
9
 
@@ -564,6 +564,10 @@ Contact us at support@wpdevart.com and we will send you the pro version.
564
 
565
  * Fixed admin menu option names.
566
 
 
 
 
 
567
  ==Step by step guide==
568
 
569
  ### Adding to the sidebar.
3
  Tags: facebook like box, Facebook like box widget, like box, Facebook Page, Facebook
4
  Requires at least: 2.9
5
  Tested up to: 5.7
6
+ Stable tag: 0.8.02
7
 
8
  WordPress Facebook Like box plugin will help you to display like box on your website, just add our plugin widget to your sidebar and use it. Also you can use our plugin on your pages/posts and create fan page popup for your website.
9
 
564
 
565
  * Fixed admin menu option names.
566
 
567
+ = 0.8.02 =
568
+
569
+ * Fixed bug with the like box popup.
570
+
571
  ==Step by step guide==
572
 
573
  ### Adding to the sidebar.