Version Description
Download this release
Release Info
Developer | smplug-in |
Plugin | WpDevArt Facebook Like Box Widget |
Version | 4.7.3 |
Comparing to | |
See all releases |
Code changes from version 0.7.51 to 4.7.3
- includes/admin_menu.php +8 -0
- includes/front_end.php +3 -1
- includes/install_database.php +1 -1
- includes/library.php +2 -2
- includes/style/admin-style.css +2 -0
- includes/style/effects.css +1 -1
- like-box.php +3 -1
- readme.txt +6 -2
includes/admin_menu.php
CHANGED
@@ -38,7 +38,9 @@ class like_box_admin_menu{
|
|
38 |
add_action( 'wp_ajax_like_box_page_save', array($this,'save_in_databese') );
|
39 |
add_action( 'wp_ajax_like_box_send_mail', array($this,'sending_mail') );
|
40 |
}
|
|
|
41 |
/*############################### Posts/Pages insert buttons function part ########################################*/
|
|
|
42 |
public function like_box_button($context) {
|
43 |
|
44 |
$img = $this->plugin_url. 'images/post.button.png';
|
@@ -247,7 +249,9 @@ class like_box_admin_menu{
|
|
247 |
<?php
|
248 |
die;
|
249 |
}
|
|
|
250 |
/*############################### Create menu function ########################################*/
|
|
|
251 |
public function create_menu(){
|
252 |
$main_page = add_menu_page( $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'),$this->plugin_url.'images/facebook_menu_icon.png');
|
253 |
$page_like_box = add_submenu_page($this->menu_name, $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'));
|
@@ -279,6 +283,8 @@ die;
|
|
279 |
|
280 |
}
|
281 |
|
|
|
|
|
282 |
public function save_in_databese(){
|
283 |
$kk=1;
|
284 |
|
@@ -301,6 +307,8 @@ die;
|
|
301 |
die($this->text_parametrs['parametrs_sucsses_saved']);
|
302 |
}
|
303 |
|
|
|
|
|
304 |
public function main_menu_function(){
|
305 |
|
306 |
$enable_disable=$this->generete_parametrs('general_save_parametr');
|
38 |
add_action( 'wp_ajax_like_box_page_save', array($this,'save_in_databese') );
|
39 |
add_action( 'wp_ajax_like_box_send_mail', array($this,'sending_mail') );
|
40 |
}
|
41 |
+
|
42 |
/*############################### Posts/Pages insert buttons function part ########################################*/
|
43 |
+
|
44 |
public function like_box_button($context) {
|
45 |
|
46 |
$img = $this->plugin_url. 'images/post.button.png';
|
249 |
<?php
|
250 |
die;
|
251 |
}
|
252 |
+
|
253 |
/*############################### Create menu function ########################################*/
|
254 |
+
|
255 |
public function create_menu(){
|
256 |
$main_page = add_menu_page( $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'),$this->plugin_url.'images/facebook_menu_icon.png');
|
257 |
$page_like_box = add_submenu_page($this->menu_name, $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'));
|
283 |
|
284 |
}
|
285 |
|
286 |
+
/*############################### Database function ########################################*/
|
287 |
+
|
288 |
public function save_in_databese(){
|
289 |
$kk=1;
|
290 |
|
307 |
die($this->text_parametrs['parametrs_sucsses_saved']);
|
308 |
}
|
309 |
|
310 |
+
/*############ Main menu Function ##################*/
|
311 |
+
|
312 |
public function main_menu_function(){
|
313 |
|
314 |
$enable_disable=$this->generete_parametrs('general_save_parametr');
|
includes/front_end.php
CHANGED
@@ -143,6 +143,7 @@ class like_box_front_end{
|
|
143 |
|
144 |
}
|
145 |
/*########################## Popup Function ########################*/
|
|
|
146 |
public function like_box_popup_in_footer(){
|
147 |
|
148 |
$width=$this->params['like_box_width'];
|
@@ -191,7 +192,8 @@ class like_box_front_end{
|
|
191 |
|
192 |
}
|
193 |
}
|
194 |
-
/*############################### Like box sidebar function ########################################*/
|
|
|
195 |
public function css_like_box_sibar_slider_in_footer($width,$height){
|
196 |
echo '<style>';
|
197 |
|
143 |
|
144 |
}
|
145 |
/*########################## Popup Function ########################*/
|
146 |
+
|
147 |
public function like_box_popup_in_footer(){
|
148 |
|
149 |
$width=$this->params['like_box_width'];
|
192 |
|
193 |
}
|
194 |
}
|
195 |
+
/*############################### Like box footer sidebar function ########################################*/
|
196 |
+
|
197 |
public function css_like_box_sibar_slider_in_footer($width,$height){
|
198 |
echo '<style>';
|
199 |
|
includes/install_database.php
CHANGED
@@ -35,7 +35,7 @@ class like_box_install_database{
|
|
35 |
"popup_like_box"=>array(
|
36 |
'like_box_enable_like_box' => 'no',
|
37 |
|
38 |
-
'like_box_popup_title' => 'Facebook
|
39 |
'like_box_popup_title_color' => '#000000',
|
40 |
'like_box_popup_title_font_famely' => 'Times New Roman,Times,Serif,Georgia',
|
41 |
|
35 |
"popup_like_box"=>array(
|
36 |
'like_box_enable_like_box' => 'no',
|
37 |
|
38 |
+
'like_box_popup_title' => 'Facebook Like Box',
|
39 |
'like_box_popup_title_color' => '#000000',
|
40 |
'like_box_popup_title_font_famely' => 'Times New Roman,Times,Serif,Georgia',
|
41 |
|
includes/library.php
CHANGED
@@ -19,7 +19,7 @@ class like_box_setting{
|
|
19 |
public static function generete_iframe_by_array($params){
|
20 |
self::$id_for_iframe++;
|
21 |
$output_code='';
|
22 |
-
//Default parameters for
|
23 |
$defaults=array(
|
24 |
'iframe_id' => 'facbook_like_box_'.self::$id_for_iframe,
|
25 |
'profile_id' => '',
|
@@ -99,7 +99,7 @@ class like_box_setting{
|
|
99 |
$output_code.= '});</script>';
|
100 |
return $output_code;
|
101 |
}
|
102 |
-
// Animations
|
103 |
public static function generete_animation_select($select_id='',$curent_effect='none'){
|
104 |
?>
|
105 |
<select onClick="alert(pro_text); return false;" id="<?php echo $select_id; ?>" name="<?php echo $select_id; ?>">
|
19 |
public static function generete_iframe_by_array($params){
|
20 |
self::$id_for_iframe++;
|
21 |
$output_code='';
|
22 |
+
//Default parameters for Like Box iframe
|
23 |
$defaults=array(
|
24 |
'iframe_id' => 'facbook_like_box_'.self::$id_for_iframe,
|
25 |
'profile_id' => '',
|
99 |
$output_code.= '});</script>';
|
100 |
return $output_code;
|
101 |
}
|
102 |
+
// Animations function
|
103 |
public static function generete_animation_select($select_id='',$curent_effect='none'){
|
104 |
?>
|
105 |
<select onClick="alert(pro_text); return false;" id="<?php echo $select_id; ?>" name="<?php echo $select_id; ?>">
|
includes/style/admin-style.css
CHANGED
@@ -218,6 +218,7 @@ button{
|
|
218 |
.save_button_span{
|
219 |
float:left;
|
220 |
}
|
|
|
221 |
.sucsses_save{
|
222 |
position: relative;
|
223 |
display:none;
|
@@ -238,6 +239,7 @@ button{
|
|
238 |
background-image: url(../../images/remove_element.png);
|
239 |
background-size:100% 100%;
|
240 |
}
|
|
|
241 |
.error_massage{
|
242 |
color: #BB1E1E;
|
243 |
font-size: 18px;
|
218 |
.save_button_span{
|
219 |
float:left;
|
220 |
}
|
221 |
+
/* Sucsses save message style */
|
222 |
.sucsses_save{
|
223 |
position: relative;
|
224 |
display:none;
|
239 |
background-image: url(../../images/remove_element.png);
|
240 |
background-size:100% 100%;
|
241 |
}
|
242 |
+
/* Error message style */
|
243 |
.error_massage{
|
244 |
color: #BB1E1E;
|
245 |
font-size: 18px;
|
includes/style/effects.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*############################### Animation Styles ###############################################*/
|
2 |
.animated {
|
3 |
-webkit-animation-duration: 1s;
|
4 |
animation-duration: 1s;
|
1 |
+
/*############################### Like Box Animation Styles ###############################################*/
|
2 |
.animated {
|
3 |
-webkit-animation-duration: 1s;
|
4 |
animation-duration: 1s;
|
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
|
@@ -46,6 +46,8 @@ class like_box_main{
|
|
46 |
|
47 |
}
|
48 |
|
|
|
|
|
49 |
public function install_databese(){
|
50 |
|
51 |
require_once($this->like_box_plugin_path.'includes/install_database.php');
|
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.53
|
7 |
Author: smplug-in
|
8 |
Author URI: http://wpdevart.com/wordpress-facebook-like-box-plugin
|
9 |
License: GPL/GPL3
|
46 |
|
47 |
}
|
48 |
|
49 |
+
/*############ Install database Function ##################*/
|
50 |
+
|
51 |
public function install_databese(){
|
52 |
|
53 |
require_once($this->like_box_plugin_path.'includes/install_database.php');
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Facebook Like Box ===
|
2 |
Contributors: smplug-in
|
3 |
-
Tags: Facebook, facebook badge, 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 share, facebook
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 4.7.2
|
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 |
|
@@ -400,6 +400,10 @@ Contact us at support@wpdevart.com and we will send you the pro version.
|
|
400 |
|
401 |
* Edit Like box functions.
|
402 |
|
|
|
|
|
|
|
|
|
403 |
==Wordpress Facebook like box step by step guide==
|
404 |
|
405 |
### Adding Facebook like box to your sidebar.
|
1 |
=== Facebook Like Box ===
|
2 |
Contributors: smplug-in
|
3 |
+
Tags: Facebook, facebook badge, 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 share, facebook wall, Facebook Widget, google plus, 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, fb like box
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 4.7.2
|
6 |
+
Stable tag: 0.7.53
|
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 |
|
400 |
|
401 |
* Edit Like box functions.
|
402 |
|
403 |
+
= 0.7.52 =
|
404 |
+
|
405 |
+
* Made changes in code.
|
406 |
+
|
407 |
==Wordpress Facebook like box step by step guide==
|
408 |
|
409 |
### Adding Facebook like box to your sidebar.
|