Version Description
Download this release
Release Info
Developer | smplug-in |
Plugin | WpDevArt Facebook Like Box Widget |
Version | 0.7.23 |
Comparing to | |
See all releases |
Code changes from version 0.7.22 to 0.7.23
- includes/admin_menu.php +7 -7
- includes/front_end.php +1 -1
- includes/widget.php +11 -11
- like-box.php +1 -1
- readme.txt +5 -1
includes/admin_menu.php
CHANGED
@@ -99,7 +99,7 @@ class like_box_admin_menu{
|
|
99 |
<tbody>
|
100 |
<tr>
|
101 |
<td>
|
102 |
-
Page ID <span class="desription_class" title="Type here your Facebook fan page url(without https://www.facebook.com
|
103 |
</td>
|
104 |
<td>
|
105 |
<input id="like_box_profile_id" type="text" value="" class="widefat">
|
@@ -352,7 +352,7 @@ die;
|
|
352 |
|
353 |
/*######################### LIKE BOX POPUP SECTION CODE #################################*/
|
354 |
public function generete_popup_section($page_parametrs){
|
355 |
-
//for updated
|
356 |
$jsone_enable_like_box= json_decode(stripslashes($page_parametrs['like_box_enable_like_box']), true);
|
357 |
if($jsone_enable_like_box!=NULL){
|
358 |
if($jsone_enable_like_box['yes']==true){
|
@@ -428,7 +428,7 @@ die;
|
|
428 |
</tr>
|
429 |
<tr>
|
430 |
<td>
|
431 |
-
Popup width <span title="Type here the popup width
|
432 |
</td>
|
433 |
<td>
|
434 |
<input type="text" name="like_box_width" id="like_box_width" value="<?php echo $page_parametrs['like_box_width'] ?>">(Px)
|
@@ -436,7 +436,7 @@ die;
|
|
436 |
</tr>
|
437 |
<tr>
|
438 |
<td>
|
439 |
-
Popup height <span title="Type here the popup height
|
440 |
</td>
|
441 |
<td>
|
442 |
<input type="text" name="like_box_height" id="like_box_height" value="<?php echo $page_parametrs['like_box_height'] ?>">(Px)
|
@@ -445,7 +445,7 @@ die;
|
|
445 |
|
446 |
<tr>
|
447 |
<td>
|
448 |
-
Popup title <span title="Type here the popup title
|
449 |
</td>
|
450 |
<td>
|
451 |
<input type="text" name="like_box_popup_title" id="like_box_popup_title" value="<?php echo $page_parametrs['like_box_popup_title'] ?>">
|
@@ -453,7 +453,7 @@ die;
|
|
453 |
</tr>
|
454 |
<tr >
|
455 |
<td>
|
456 |
-
Popup title color <span title="Type here the title color
|
457 |
</td>
|
458 |
<td>
|
459 |
<input type="text" class="color_option" id="like_box_popup_title_color" name="like_box_popup_title_color" value="<?php echo $page_parametrs['like_box_popup_title_color'] ?>"/>
|
@@ -461,7 +461,7 @@ die;
|
|
461 |
</tr>
|
462 |
<tr>
|
463 |
<td>
|
464 |
-
Popup title Font Family <span title="Choose the title Font family
|
465 |
</td>
|
466 |
<td>
|
467 |
<?php $this->create_select_element_for_font('like_box_popup_title_font_famely',$page_parametrs['like_box_popup_title_font_famely']) ?>
|
99 |
<tbody>
|
100 |
<tr>
|
101 |
<td>
|
102 |
+
Page ID <span class="desription_class" title="Type here your Facebook fan page url(without https://www.facebook.com/ or https://web.facebook.com, if your Facebook page url is https://web.facebook.com/BMW then type here just BMW).">?</span>
|
103 |
</td>
|
104 |
<td>
|
105 |
<input id="like_box_profile_id" type="text" value="" class="widefat">
|
352 |
|
353 |
/*######################### LIKE BOX POPUP SECTION CODE #################################*/
|
354 |
public function generete_popup_section($page_parametrs){
|
355 |
+
//for updated parameters
|
356 |
$jsone_enable_like_box= json_decode(stripslashes($page_parametrs['like_box_enable_like_box']), true);
|
357 |
if($jsone_enable_like_box!=NULL){
|
358 |
if($jsone_enable_like_box['yes']==true){
|
428 |
</tr>
|
429 |
<tr>
|
430 |
<td>
|
431 |
+
Popup width <span title="Type here the popup width" class="desription_class">?</span>
|
432 |
</td>
|
433 |
<td>
|
434 |
<input type="text" name="like_box_width" id="like_box_width" value="<?php echo $page_parametrs['like_box_width'] ?>">(Px)
|
436 |
</tr>
|
437 |
<tr>
|
438 |
<td>
|
439 |
+
Popup height <span title="Type here the popup height" class="desription_class">?</span>
|
440 |
</td>
|
441 |
<td>
|
442 |
<input type="text" name="like_box_height" id="like_box_height" value="<?php echo $page_parametrs['like_box_height'] ?>">(Px)
|
445 |
|
446 |
<tr>
|
447 |
<td>
|
448 |
+
Popup title <span title="Type here the popup title" class="desription_class">?</span>
|
449 |
</td>
|
450 |
<td>
|
451 |
<input type="text" name="like_box_popup_title" id="like_box_popup_title" value="<?php echo $page_parametrs['like_box_popup_title'] ?>">
|
453 |
</tr>
|
454 |
<tr >
|
455 |
<td>
|
456 |
+
Popup title color <span title="Type here the title color" class="desription_class">?</span>
|
457 |
</td>
|
458 |
<td>
|
459 |
<input type="text" class="color_option" id="like_box_popup_title_color" name="like_box_popup_title_color" value="<?php echo $page_parametrs['like_box_popup_title_color'] ?>"/>
|
461 |
</tr>
|
462 |
<tr>
|
463 |
<td>
|
464 |
+
Popup title Font Family <span title="Choose the title Font family" class="desription_class">?</span>
|
465 |
</td>
|
466 |
<td>
|
467 |
<?php $this->create_select_element_for_font('like_box_popup_title_font_famely',$page_parametrs['like_box_popup_title_font_famely']) ?>
|
includes/front_end.php
CHANGED
@@ -20,7 +20,7 @@ class like_box_front_end{
|
|
20 |
else
|
21 |
$this->plugin_url=trailingslashit(dirname(plugins_url('',__FILE__)));
|
22 |
|
23 |
-
//
|
24 |
add_action( 'wp_ajax_likeboxfrontend', array($this,'like_box_ifreame_generator') );
|
25 |
add_action( 'wp_ajax_nopriv_likeboxfrontend', array($this,'like_box_ifreame_generator') );
|
26 |
//Genereting js code for inserting into footer
|
20 |
else
|
21 |
$this->plugin_url=trailingslashit(dirname(plugins_url('',__FILE__)));
|
22 |
|
23 |
+
//Popup iframe Hooks
|
24 |
add_action( 'wp_ajax_likeboxfrontend', array($this,'like_box_ifreame_generator') );
|
25 |
add_action( 'wp_ajax_nopriv_likeboxfrontend', array($this,'like_box_ifreame_generator') );
|
26 |
//Genereting js code for inserting into footer
|
includes/widget.php
CHANGED
@@ -68,37 +68,37 @@ class like_box_facbook extends WP_Widget {
|
|
68 |
|
69 |
|
70 |
<p class="flb_field">
|
71 |
-
<label for="title">Title
|
72 |
<br>
|
73 |
<input id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $instance['title']; ?>" class="widefat">
|
74 |
</p>
|
75 |
<p class="flb_field">
|
76 |
-
<label for="<?php echo $this->get_field_id('profile_id'); ?>">Page ID
|
77 |
<br>
|
78 |
<input id="<?php echo $this->get_field_id('profile_id'); ?>" name="<?php echo $this->get_field_name('profile_id'); ?>" type="text" value="<?php echo $instance['profile_id']; ?>" class="widefat">
|
79 |
</p>
|
80 |
|
81 |
<p class="flb_field">
|
82 |
-
<label for="<?php echo $this->get_field_id('width'); ?>">Like box Width
|
83 |
<br>
|
84 |
<input id="<?php echo $this->get_field_id('width'); ?>" name="<?php echo $this->get_field_name('width'); ?>" type="text" value="<?php echo $instance['width']; ?>" class="" size="3">
|
85 |
<small>(px)</small>
|
86 |
</p>
|
87 |
|
88 |
<p class="flb_field">
|
89 |
-
<label for="<?php echo $this->get_field_id('height'); ?>">Like box Height
|
90 |
<br>
|
91 |
<input id="<?php echo $this->get_field_id('height'); ?>" name="<?php echo $this->get_field_name('height'); ?>" type="text" value="<?php echo $instance['height']; ?>" class="" size="3">
|
92 |
<small>(px)</small>
|
93 |
</p>
|
94 |
|
95 |
-
<label for="this_is_a_bad">Like box Animation
|
96 |
<br>
|
97 |
|
98 |
<?php like_box_setting::generete_animation_select('this_is_a_bad','none') ?>
|
99 |
<br>
|
100 |
<br>
|
101 |
-
<label for="<?php echo $this->get_field_id('show_border'); ?>">Like box border
|
102 |
<br>
|
103 |
<select id="show_like_box_border" name="show_like_box_border_name" onMouseDown="alert('If you want to use this feature upgrade to Like box Pro')">
|
104 |
<option selected="selected" value="show">Show</option>
|
@@ -106,13 +106,13 @@ class like_box_facbook extends WP_Widget {
|
|
106 |
</select>
|
107 |
<br>
|
108 |
<br>
|
109 |
-
<label for="border_color">Like box Border Color
|
110 |
<br>
|
111 |
<div class="disabled_for_pro" onclick="alert('If you want to use this feature upgrade to Like box Pro')">
|
112 |
<div class="wp-picker-container"><a tabindex="0" class="wp-color-result" title="Select Color" data-current="Current Color" style="background-color: rgb(255, 255, 255);"></a></div>
|
113 |
</div>
|
114 |
<p class="flb_field">
|
115 |
-
<label for="<?php echo $this->get_field_id('stream'); ?>">Facebook latest posts
|
116 |
<br>
|
117 |
<select onMouseDown="alert('If you want to use this feature upgrade to Like box Pro')" id="like_box_latest_post" name="like_box_latest_post_name">
|
118 |
<option value="show">Show</option>
|
@@ -121,7 +121,7 @@ class like_box_facbook extends WP_Widget {
|
|
121 |
</p>
|
122 |
|
123 |
<p class="flb_field">
|
124 |
-
<label for="<?php echo $this->get_field_id('connections'); ?>">Show Friends Faces
|
125 |
<br>
|
126 |
<select id="<?php echo $this->get_field_id('connections'); ?>" name="<?php echo $this->get_field_name('connections'); ?>">
|
127 |
<option <?php selected($instance['connections'],'show') ?> value="show">Show</option>
|
@@ -131,7 +131,7 @@ class like_box_facbook extends WP_Widget {
|
|
131 |
|
132 |
|
133 |
<p class="flb_field">
|
134 |
-
<label for="<?php echo $this->get_field_id('header'); ?>">Like box Header
|
135 |
<br>
|
136 |
<select id="<?php echo $this->get_field_id('header'); ?>" name="<?php echo $this->get_field_name('header'); ?>">
|
137 |
<option <?php selected($instance['header'],'small') ?> value="small">Small</option>
|
@@ -139,7 +139,7 @@ class like_box_facbook extends WP_Widget {
|
|
139 |
</select>
|
140 |
</p>
|
141 |
<p class="flb_field">
|
142 |
-
<label for="<?php echo $this->get_field_id('header'); ?>">Like box cover photo
|
143 |
<br>
|
144 |
<select id="<?php echo $this->get_field_id('cover_photo'); ?>" name="<?php echo $this->get_field_name('cover_photo'); ?>">
|
145 |
<option <?php selected($instance['cover_photo'],'show') ?> value="show">Show</option>
|
68 |
|
69 |
|
70 |
<p class="flb_field">
|
71 |
+
<label for="title">Title</label>
|
72 |
<br>
|
73 |
<input id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $instance['title']; ?>" class="widefat">
|
74 |
</p>
|
75 |
<p class="flb_field">
|
76 |
+
<label for="<?php echo $this->get_field_id('profile_id'); ?>">Page ID</label>
|
77 |
<br>
|
78 |
<input id="<?php echo $this->get_field_id('profile_id'); ?>" name="<?php echo $this->get_field_name('profile_id'); ?>" type="text" value="<?php echo $instance['profile_id']; ?>" class="widefat">
|
79 |
</p>
|
80 |
|
81 |
<p class="flb_field">
|
82 |
+
<label for="<?php echo $this->get_field_id('width'); ?>">Like box Width</label>
|
83 |
<br>
|
84 |
<input id="<?php echo $this->get_field_id('width'); ?>" name="<?php echo $this->get_field_name('width'); ?>" type="text" value="<?php echo $instance['width']; ?>" class="" size="3">
|
85 |
<small>(px)</small>
|
86 |
</p>
|
87 |
|
88 |
<p class="flb_field">
|
89 |
+
<label for="<?php echo $this->get_field_id('height'); ?>">Like box Height</label>
|
90 |
<br>
|
91 |
<input id="<?php echo $this->get_field_id('height'); ?>" name="<?php echo $this->get_field_name('height'); ?>" type="text" value="<?php echo $instance['height']; ?>" class="" size="3">
|
92 |
<small>(px)</small>
|
93 |
</p>
|
94 |
|
95 |
+
<label for="this_is_a_bad">Like box Animation <span style="color:rgba(10, 154, 62, 1);;font-weight:bold;">Pro feature!</span></label>
|
96 |
<br>
|
97 |
|
98 |
<?php like_box_setting::generete_animation_select('this_is_a_bad','none') ?>
|
99 |
<br>
|
100 |
<br>
|
101 |
+
<label for="<?php echo $this->get_field_id('show_border'); ?>">Like box border <span style="color:rgba(10, 154, 62, 1);;font-weight:bold;">Pro feature!</span></label>
|
102 |
<br>
|
103 |
<select id="show_like_box_border" name="show_like_box_border_name" onMouseDown="alert('If you want to use this feature upgrade to Like box Pro')">
|
104 |
<option selected="selected" value="show">Show</option>
|
106 |
</select>
|
107 |
<br>
|
108 |
<br>
|
109 |
+
<label for="border_color">Like box Border Color <span style="color:rgba(10, 154, 62, 1);;font-weight:bold;">Pro feature!</span></label>
|
110 |
<br>
|
111 |
<div class="disabled_for_pro" onclick="alert('If you want to use this feature upgrade to Like box Pro')">
|
112 |
<div class="wp-picker-container"><a tabindex="0" class="wp-color-result" title="Select Color" data-current="Current Color" style="background-color: rgb(255, 255, 255);"></a></div>
|
113 |
</div>
|
114 |
<p class="flb_field">
|
115 |
+
<label for="<?php echo $this->get_field_id('stream'); ?>">Facebook latest posts <span style="color:rgba(10, 154, 62, 1);;font-weight:bold;">Pro feature!</span></label>
|
116 |
<br>
|
117 |
<select onMouseDown="alert('If you want to use this feature upgrade to Like box Pro')" id="like_box_latest_post" name="like_box_latest_post_name">
|
118 |
<option value="show">Show</option>
|
121 |
</p>
|
122 |
|
123 |
<p class="flb_field">
|
124 |
+
<label for="<?php echo $this->get_field_id('connections'); ?>">Show Friends Faces</label>
|
125 |
<br>
|
126 |
<select id="<?php echo $this->get_field_id('connections'); ?>" name="<?php echo $this->get_field_name('connections'); ?>">
|
127 |
<option <?php selected($instance['connections'],'show') ?> value="show">Show</option>
|
131 |
|
132 |
|
133 |
<p class="flb_field">
|
134 |
+
<label for="<?php echo $this->get_field_id('header'); ?>">Like box Header</label>
|
135 |
<br>
|
136 |
<select id="<?php echo $this->get_field_id('header'); ?>" name="<?php echo $this->get_field_name('header'); ?>">
|
137 |
<option <?php selected($instance['header'],'small') ?> value="small">Small</option>
|
139 |
</select>
|
140 |
</p>
|
141 |
<p class="flb_field">
|
142 |
+
<label for="<?php echo $this->get_field_id('header'); ?>">Like box cover photo</label>
|
143 |
<br>
|
144 |
<select id="<?php echo $this->get_field_id('cover_photo'); ?>" name="<?php echo $this->get_field_name('cover_photo'); ?>">
|
145 |
<option <?php selected($instance['cover_photo'],'show') ?> value="show">Show</option>
|
like-box.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Facebook Like Box
|
4 |
Plugin URI: https://wordpress.org/plugins/like-box
|
5 |
Description: 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.7.
|
7 |
Author: smplug-in
|
8 |
Author URI: http://wpdevart.com/wordpress-facebook-like-box-plugin
|
9 |
License: GPL/GPL3
|
3 |
Plugin Name: Facebook Like Box
|
4 |
Plugin URI: https://wordpress.org/plugins/like-box
|
5 |
Description: 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.7.23
|
7 |
Author: smplug-in
|
8 |
Author URI: http://wpdevart.com/wordpress-facebook-like-box-plugin
|
9 |
License: GPL/GPL3
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: smplug-in
|
|
3 |
Tags: Facebook, facebook badge, facebook connect, Facebook fan page, facebook group, facebook integration, facebook like box, Facebook like widget, facebook meta, facebook meta tag, Facebook Open Graph, Facebook Page, facebook platform, facebook plugin, facebook recommend, facebook share, facebook sidebar, facebook style, facebook wall, Facebook Widget, friends, google +1, google plus, google plus one, Like, like box, open graph, page, plugin, post to facebook, sharebar, sidebar, social, Social Plugins, social profiles, social share, social sidebar, wordpress like, seo, meta, Facebook like box widget, facebook like, facebook like button, facebook button, facebook facepile, like box facebook, like box widget, facebook likebox, facebook like box shortcode, likebox, wordpress facebook like box, facebook like box in PopUp, facebook likebox widget, nice facebook like box, custom facebook likebox, rt facebook like box, advanced responsive facebook likebox, fb like box, facebook like box shortcodes, like box sidebox
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 4.3
|
6 |
-
Stable tag: 0.7.
|
7 |
|
8 |
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.
|
9 |
|
@@ -85,6 +85,10 @@ Our Facebook Like Box is user friendly plugin, but here you can see some frequen
|
|
85 |
2. Your Facebook fan page doesn't allow unsigned user see your Facebook fan page, so you must change it to public access. Take a look how change your Facebook page to public access here - https://www.facebook.com/help/community/question/?id=10151458855783663.
|
86 |
3. Clear your website cache(If you use cache plugin, then just clear the cache from your plugin).
|
87 |
|
|
|
|
|
|
|
|
|
88 |
### The Best Offer From WpDevArt
|
89 |
|
90 |
**You can check the best offer page here- [Best Price](http://wpdevart.com/the-best-offer-from-wpdevart)**
|
3 |
Tags: Facebook, facebook badge, facebook connect, Facebook fan page, facebook group, facebook integration, facebook like box, Facebook like widget, facebook meta, facebook meta tag, Facebook Open Graph, Facebook Page, facebook platform, facebook plugin, facebook recommend, facebook share, facebook sidebar, facebook style, facebook wall, Facebook Widget, friends, google +1, google plus, google plus one, Like, like box, open graph, page, plugin, post to facebook, sharebar, sidebar, social, Social Plugins, social profiles, social share, social sidebar, wordpress like, seo, meta, Facebook like box widget, facebook like, facebook like button, facebook button, facebook facepile, like box facebook, like box widget, facebook likebox, facebook like box shortcode, likebox, wordpress facebook like box, facebook like box in PopUp, facebook likebox widget, nice facebook like box, custom facebook likebox, rt facebook like box, advanced responsive facebook likebox, fb like box, facebook like box shortcodes, like box sidebox
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 4.3
|
6 |
+
Stable tag: 0.7.23
|
7 |
|
8 |
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.
|
9 |
|
85 |
2. Your Facebook fan page doesn't allow unsigned user see your Facebook fan page, so you must change it to public access. Take a look how change your Facebook page to public access here - https://www.facebook.com/help/community/question/?id=10151458855783663.
|
86 |
3. Clear your website cache(If you use cache plugin, then just clear the cache from your plugin).
|
87 |
|
88 |
+
= What files I need to upload for installing the plugin =
|
89 |
+
|
90 |
+
You need to select the .zip file only, there is no need to extract the zip file, just upload it
|
91 |
+
|
92 |
### The Best Offer From WpDevArt
|
93 |
|
94 |
**You can check the best offer page here- [Best Price](http://wpdevart.com/the-best-offer-from-wpdevart)**
|