Version Description
Download this release
Release Info
Developer | smplug-in |
Plugin | WpDevArt Facebook Like Box Widget |
Version | 0.7.62 |
Comparing to | |
See all releases |
Code changes from version 0.7.61 to 0.7.62
- includes/admin_menu.php +2 -2
- includes/install_database.php +1 -1
- includes/library.php +4 -0
- includes/style/admin-style.css +1 -0
- includes/style/style.css +1 -0
- includes/widget.php +1 -1
- like-box.php +4 -1
- readme.txt +1 -1
includes/admin_menu.php
CHANGED
@@ -262,7 +262,7 @@ die;
|
|
262 |
add_action('admin_print_styles-' .$page_like_box, array($this,'menu_requeried_scripts'));
|
263 |
}
|
264 |
|
265 |
-
/*###################### Required scripts function ##################*/
|
266 |
|
267 |
public function menu_requeried_scripts(){
|
268 |
wp_enqueue_script('wp-color-picker');
|
@@ -366,8 +366,8 @@ die;
|
|
366 |
wp_nonce_field('like_box_options_nonce','like_box_options_nonce');
|
367 |
}
|
368 |
|
|
|
369 |
|
370 |
-
/*######################### LIKE BOX POPUP SECTION CODE #################################*/
|
371 |
public function generete_popup_section($page_parametrs){
|
372 |
//for updated parameters
|
373 |
$jsone_enable_like_box= json_decode(stripslashes($page_parametrs['like_box_enable_like_box']), true);
|
262 |
add_action('admin_print_styles-' .$page_like_box, array($this,'menu_requeried_scripts'));
|
263 |
}
|
264 |
|
265 |
+
/*###################### Required Requeried scripts function ##################*/
|
266 |
|
267 |
public function menu_requeried_scripts(){
|
268 |
wp_enqueue_script('wp-color-picker');
|
366 |
wp_nonce_field('like_box_options_nonce','like_box_options_nonce');
|
367 |
}
|
368 |
|
369 |
+
/*######################### LIKE BOX POPUP SECTION FUNCTION #################################*/
|
370 |
|
|
|
371 |
public function generete_popup_section($page_parametrs){
|
372 |
//for updated parameters
|
373 |
$jsone_enable_like_box= json_decode(stripslashes($page_parametrs['like_box_enable_like_box']), true);
|
includes/install_database.php
CHANGED
@@ -55,7 +55,7 @@ class like_box_install_database{
|
|
55 |
|
56 |
}
|
57 |
|
58 |
-
/*###############################
|
59 |
|
60 |
public function install_databese(){
|
61 |
foreach( $this->installed_options as $key => $option ){
|
55 |
|
56 |
}
|
57 |
|
58 |
+
/*############################### Install database Function ########################################*/
|
59 |
|
60 |
public function install_databese(){
|
61 |
foreach( $this->installed_options as $key => $option ){
|
includes/library.php
CHANGED
@@ -5,6 +5,7 @@ class like_box_setting{
|
|
5 |
public static $id_for_iframe=0;
|
6 |
|
7 |
// Function for genereted animations
|
|
|
8 |
public static function get_animations_type_array($animation=''){
|
9 |
if($animation=='' || $animation=='none')
|
10 |
return '';
|
@@ -16,6 +17,7 @@ class like_box_setting{
|
|
16 |
}
|
17 |
|
18 |
// Function that generate Facebook iframe and iframe js by array
|
|
|
19 |
public static function generete_iframe_by_array($params){
|
20 |
self::$id_for_iframe++;
|
21 |
$output_code='';
|
@@ -99,7 +101,9 @@ class like_box_setting{
|
|
99 |
$output_code.= '});</script>';
|
100 |
return $output_code;
|
101 |
}
|
|
|
102 |
/*############################### Function Generating 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; ?>">
|
5 |
public static $id_for_iframe=0;
|
6 |
|
7 |
// Function for genereted animations
|
8 |
+
|
9 |
public static function get_animations_type_array($animation=''){
|
10 |
if($animation=='' || $animation=='none')
|
11 |
return '';
|
17 |
}
|
18 |
|
19 |
// Function that generate Facebook iframe and iframe js by array
|
20 |
+
|
21 |
public static function generete_iframe_by_array($params){
|
22 |
self::$id_for_iframe++;
|
23 |
$output_code='';
|
101 |
$output_code.= '});</script>';
|
102 |
return $output_code;
|
103 |
}
|
104 |
+
|
105 |
/*############################### Function Generating Animations #######################################*/
|
106 |
+
|
107 |
public static function generete_animation_select($select_id='',$curent_effect='none'){
|
108 |
?>
|
109 |
<select onClick="alert(pro_text); return false;" id="<?php echo $select_id; ?>" name="<?php echo $select_id; ?>">
|
includes/style/admin-style.css
CHANGED
@@ -33,6 +33,7 @@
|
|
33 |
height: 37px;
|
34 |
|
35 |
}
|
|
|
36 |
.like_box_main {
|
37 |
height: 45px;
|
38 |
background-color: #fff;
|
33 |
height: 37px;
|
34 |
|
35 |
}
|
36 |
+
/*Like Box main style*/
|
37 |
.like_box_main {
|
38 |
height: 45px;
|
39 |
background-color: #fff;
|
includes/style/style.css
CHANGED
@@ -30,6 +30,7 @@
|
|
30 |
white-space:nowrap;
|
31 |
display: block;
|
32 |
}
|
|
|
33 |
.sidbar_slide_inner{
|
34 |
box-sizing:border-box;
|
35 |
height:100%;
|
30 |
white-space:nowrap;
|
31 |
display: block;
|
32 |
}
|
33 |
+
/*Sidebar slide inner style*/
|
34 |
.sidbar_slide_inner{
|
35 |
box-sizing:border-box;
|
36 |
height:100%;
|
includes/widget.php
CHANGED
@@ -34,7 +34,7 @@ class like_box_facbook extends WP_Widget {
|
|
34 |
// Before widget part //
|
35 |
echo $before_widget;
|
36 |
|
37 |
-
// Title of widget //
|
38 |
if ( $title ) { echo $before_title . $title . $after_title; }
|
39 |
// Widget output //
|
40 |
echo like_box_setting::generete_iframe_by_array($params_of_widget);
|
34 |
// Before widget part //
|
35 |
echo $before_widget;
|
36 |
|
37 |
+
// Title of widget part //
|
38 |
if ( $title ) { echo $before_title . $title . $after_title; }
|
39 |
// Widget output //
|
40 |
echo like_box_setting::generete_iframe_by_array($params_of_widget);
|
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
|
@@ -95,6 +95,9 @@ class like_box_main{
|
|
95 |
$plugin_submenu_added_link=array_merge( $plugin_submenu_added_link, $links );
|
96 |
return $plugin_submenu_added_link;
|
97 |
}
|
|
|
|
|
|
|
98 |
public function include_requeried_scripts(){
|
99 |
wp_enqueue_script('wp-color-picker');
|
100 |
wp_enqueue_style( 'wp-color-picker' );
|
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.62
|
7 |
Author: smplug-in
|
8 |
Author URI: http://wpdevart.com/wordpress-facebook-like-box-plugin
|
9 |
License: GPL/GPL3
|
95 |
$plugin_submenu_added_link=array_merge( $plugin_submenu_added_link, $links );
|
96 |
return $plugin_submenu_added_link;
|
97 |
}
|
98 |
+
|
99 |
+
/*############ Include Requeried Scripts Function ##################*/
|
100 |
+
|
101 |
public function include_requeried_scripts(){
|
102 |
wp_enqueue_script('wp-color-picker');
|
103 |
wp_enqueue_style( 'wp-color-picker' );
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: smplug-in
|
|
3 |
Tags: Facebook, facebook like box, Facebook like box widget, like box, fb like box, facebook badge, Facebook fan page, facebook group, facebook integration, 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, open graph, page, plugin, post to facebook, sharebar, sidebar, social, Social Plugins, social profiles, social share, social sidebar, wordpress like, seo, 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, custom facebook likebox
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 4.7.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 |
|
3 |
Tags: Facebook, facebook like box, Facebook like box widget, like box, fb like box, facebook badge, Facebook fan page, facebook group, facebook integration, 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, open graph, page, plugin, post to facebook, sharebar, sidebar, social, Social Plugins, social profiles, social share, social sidebar, wordpress like, seo, 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, custom facebook likebox
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 4.7.3
|
6 |
+
Stable tag: 0.7.62
|
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 |
|