Version Description
Download this release
Release Info
Developer | smplug-in |
Plugin | WpDevArt Facebook Like Box Widget |
Version | 0.8.05 |
Comparing to | |
See all releases |
Code changes from version 0.8.04 to 0.8.05
- includes/admin_menu.php +2 -2
- includes/front_end.php +2 -2
- includes/gutenberg/gutenberg.php +2 -0
- includes/install_database.php +1 -1
- includes/library.php +2 -2
- like-box.php +2 -2
- readme.txt +2 -2
includes/admin_menu.php
CHANGED
@@ -273,7 +273,7 @@ die;
|
|
273 |
public function any_ideas(){
|
274 |
|
275 |
}
|
276 |
-
/*###################### Required
|
277 |
|
278 |
public function menu_requeried_scripts(){
|
279 |
wp_enqueue_script('wp-color-picker');
|
@@ -337,7 +337,7 @@ die;
|
|
337 |
</div>
|
338 |
<a target="blank" href="http://wpdevart.com/wordpress-facebook-like-box-plugin/" class="wpdevart_upgrade">Upgrade</a>
|
339 |
</div>
|
340 |
-
<a target="blank" href="<?php echo wpdevart_likebox_support_url; ?>" class="wpdevart_support">Have any Questions? Get quick support!</a>
|
341 |
</div>
|
342 |
<br>
|
343 |
|
273 |
public function any_ideas(){
|
274 |
|
275 |
}
|
276 |
+
/*###################### Required scripts function ##################*/
|
277 |
|
278 |
public function menu_requeried_scripts(){
|
279 |
wp_enqueue_script('wp-color-picker');
|
337 |
</div>
|
338 |
<a target="blank" href="http://wpdevart.com/wordpress-facebook-like-box-plugin/" class="wpdevart_upgrade">Upgrade</a>
|
339 |
</div>
|
340 |
+
<a target="blank" href="<?php echo wpdevart_likebox_support_url; ?>" class="wpdevart_support">Have any Questions? Get a quick support!</a>
|
341 |
</div>
|
342 |
<br>
|
343 |
|
includes/front_end.php
CHANGED
@@ -13,7 +13,7 @@ class like_box_front_end{
|
|
13 |
|
14 |
public static $id_for_content=0;
|
15 |
|
16 |
-
/*###################### Construct
|
17 |
|
18 |
function __construct($params){
|
19 |
|
@@ -153,7 +153,7 @@ class like_box_front_end{
|
|
153 |
|
154 |
}
|
155 |
|
156 |
-
/*########################## Popup Function ########################*/
|
157 |
|
158 |
public function like_box_popup_in_footer(){
|
159 |
|
13 |
|
14 |
public static $id_for_content=0;
|
15 |
|
16 |
+
/*###################### Construct parameters function ##################*/
|
17 |
|
18 |
function __construct($params){
|
19 |
|
153 |
|
154 |
}
|
155 |
|
156 |
+
/*########################## Like Box Popup Function ########################*/
|
157 |
|
158 |
public function like_box_popup_in_footer(){
|
159 |
|
includes/gutenberg/gutenberg.php
CHANGED
@@ -11,6 +11,8 @@ class wpda_like_box_gutenberg{
|
|
11 |
private function hooks_for_gutenberg(){
|
12 |
add_action( 'init', array($this,'guthenberg_init') );
|
13 |
}
|
|
|
|
|
14 |
|
15 |
public function guthenberg_init(){
|
16 |
if ( ! function_exists( 'register_block_type' ) ) {
|
11 |
private function hooks_for_gutenberg(){
|
12 |
add_action( 'init', array($this,'guthenberg_init') );
|
13 |
}
|
14 |
+
|
15 |
+
/*############################### Gutenberg function ########################################*/
|
16 |
|
17 |
public function guthenberg_init(){
|
18 |
if ( ! function_exists( 'register_block_type' ) ) {
|
includes/install_database.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
class like_box_install_database{
|
6 |
|
7 |
-
public $installed_options; //
|
8 |
private $plugin_url;
|
9 |
|
10 |
/*############ Construct Function ##################*/
|
4 |
|
5 |
class like_box_install_database{
|
6 |
|
7 |
+
public $installed_options; // Default options value
|
8 |
private $plugin_url;
|
9 |
|
10 |
/*############ Construct Function ##################*/
|
includes/library.php
CHANGED
@@ -16,12 +16,12 @@ class like_box_setting{
|
|
16 |
return $animation;
|
17 |
}
|
18 |
|
19 |
-
/*############ Function that generate
|
20 |
|
21 |
public static function generete_iframe_by_array($params){
|
22 |
self::$id_for_iframe++;
|
23 |
$output_code='';
|
24 |
-
//Default parameters for Like Box
|
25 |
$defaults=array(
|
26 |
'iframe_id' => 'facbook_like_box_'.self::$id_for_iframe,
|
27 |
'profile_id' => '',
|
16 |
return $animation;
|
17 |
}
|
18 |
|
19 |
+
/*############ Function that generate Iframe by array ##################*/
|
20 |
|
21 |
public static function generete_iframe_by_array($params){
|
22 |
self::$id_for_iframe++;
|
23 |
$output_code='';
|
24 |
+
//Default parameters for Like Box Iframe
|
25 |
$defaults=array(
|
26 |
'iframe_id' => 'facbook_like_box_'.self::$id_for_iframe,
|
27 |
'profile_id' => '',
|
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.
|
7 |
Author: smplug-in
|
8 |
Author URI: https://wpdevart.com/wordpress-facebook-like-box-plugin/
|
9 |
License: GPL/GPL3
|
@@ -78,7 +78,7 @@ class like_box_main{
|
|
78 |
|
79 |
}
|
80 |
|
81 |
-
/*############
|
82 |
|
83 |
public function registr_requeried_scripts(){
|
84 |
wp_register_script('like-box-admin-script',$this->like_box_plugin_url.'includes/javascript/admin-like-box.js');
|
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.05
|
7 |
Author: smplug-in
|
8 |
Author URI: https://wpdevart.com/wordpress-facebook-like-box-plugin/
|
9 |
License: GPL/GPL3
|
78 |
|
79 |
}
|
80 |
|
81 |
+
/*############ Register required scripts Function ##################*/
|
82 |
|
83 |
public function registr_requeried_scripts(){
|
84 |
wp_register_script('like-box-admin-script',$this->like_box_plugin_url.'includes/javascript/admin-like-box.js');
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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.
|
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 |
|
2 |
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.1
|
6 |
+
Stable tag: 0.8.05
|
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 |
|