Version Description
- version update + compatible upto WordPress 4.9.1
- add Facebook Feed Tab
- Plugin Recommendation layout tab not view proper bug fixed.
- Change the new like box facebook page and app id
Download this release
Release Info
Developer | weblizar |
Plugin | Feed & LikeBox For Facebook |
Version | 2.5.0 |
Comparing to | |
See all releases |
Code changes from version 2.4.9 to 2.5.0
- css/pricing-table.css +3 -0
- facebook-by-weblizar-help.php +6 -0
- facebook-by-weblizar-short-code.php +2 -2
- facebook-by-weblizar.php +5 -225
- help-body.php +28 -4
- readme.txt +8 -2
css/pricing-table.css
CHANGED
@@ -6,6 +6,9 @@
|
|
6 |
margin-top:40px;
|
7 |
text-align: center;
|
8 |
}
|
|
|
|
|
|
|
9 |
.plan-name h2{
|
10 |
font-weight: bold;
|
11 |
font-size: 36px;
|
6 |
margin-top:40px;
|
7 |
text-align: center;
|
8 |
}
|
9 |
+
.panel-primary {
|
10 |
+
/* border-color: #337ab7; */
|
11 |
+
}
|
12 |
.plan-name h2{
|
13 |
font-weight: bold;
|
14 |
font-size: 36px;
|
facebook-by-weblizar-help.php
CHANGED
@@ -18,6 +18,11 @@
|
|
18 |
<div class="dashicons dashicons-admin-generic"></div><?php _e('Settings', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?>
|
19 |
</a>
|
20 |
</li>
|
|
|
|
|
|
|
|
|
|
|
21 |
<li>
|
22 |
<a id="recommendation">
|
23 |
<div class="dashicons dashicons-admin-plugins"></div><?php _e('Plugin Recommendation', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?>
|
@@ -41,6 +46,7 @@
|
|
41 |
</li>
|
42 |
</ul>
|
43 |
<?php require_once('help-body.php'); ?>
|
|
|
44 |
</div>
|
45 |
</div>
|
46 |
<div class="weblizar-header" style="margin-top:0px; border-radius: 0px 0px 6px 6px;">
|
18 |
<div class="dashicons dashicons-admin-generic"></div><?php _e('Settings', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?>
|
19 |
</a>
|
20 |
</li>
|
21 |
+
<li>
|
22 |
+
<a id="fbfeed">
|
23 |
+
<div class="dashicons dashicons-align-right"></div><?php _e('Facebook Feed', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?>
|
24 |
+
</a>
|
25 |
+
</li>
|
26 |
<li>
|
27 |
<a id="recommendation">
|
28 |
<div class="dashicons dashicons-admin-plugins"></div><?php _e('Plugin Recommendation', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?>
|
46 |
</li>
|
47 |
</ul>
|
48 |
<?php require_once('help-body.php'); ?>
|
49 |
+
<?php require_once('facebook-feed.php'); ?>
|
50 |
</div>
|
51 |
</div>
|
52 |
<div class="weblizar-header" style="margin-top:0px; border-radius: 0px 0px 6px 6px;">
|
facebook-by-weblizar-short-code.php
CHANGED
@@ -20,7 +20,7 @@ function FacebookLikeBox() {
|
|
20 |
$Height = $FacebookSettings[ 'Height' ];
|
21 |
}
|
22 |
|
23 |
-
$FacebookPageUrl = 'https://www.facebook.com/
|
24 |
if ( isset( $FacebookSettings[ 'FacebookPageUrl' ] ) ) {
|
25 |
$FacebookPageUrl = $FacebookSettings[ 'FacebookPageUrl' ];
|
26 |
}
|
@@ -45,7 +45,7 @@ function FacebookLikeBox() {
|
|
45 |
$Width = $FacebookSettings[ 'Width' ];
|
46 |
}
|
47 |
|
48 |
-
$FbAppId = '
|
49 |
if ( isset( $FacebookSettings[ 'FbAppId' ] ) ) {
|
50 |
$FbAppId = $FacebookSettings[ 'FbAppId' ];
|
51 |
} ?>
|
20 |
$Height = $FacebookSettings[ 'Height' ];
|
21 |
}
|
22 |
|
23 |
+
$FacebookPageUrl = 'https://www.facebook.com/Weblizarwp/';
|
24 |
if ( isset( $FacebookSettings[ 'FacebookPageUrl' ] ) ) {
|
25 |
$FacebookPageUrl = $FacebookSettings[ 'FacebookPageUrl' ];
|
26 |
}
|
45 |
$Width = $FacebookSettings[ 'Width' ];
|
46 |
}
|
47 |
|
48 |
+
$FbAppId = '529331510739033';
|
49 |
if ( isset( $FacebookSettings[ 'FbAppId' ] ) ) {
|
50 |
$FbAppId = $FacebookSettings[ 'FbAppId' ];
|
51 |
} ?>
|
facebook-by-weblizar.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Facebook By WebLizar
|
4 |
-
* Version: 2.
|
5 |
* Description: Facebook like box plugin to display facebook page live stream & friends on WordPress blog.
|
6 |
* Author: WebLizar
|
7 |
* Author URI: http://www.weblizar.com
|
@@ -22,226 +22,6 @@ function FacebookTranslation() {
|
|
22 |
load_plugin_textdomain( WEBLIZAR_FACEBOOK_TEXT_DOMAIN, FALSE, dirname( plugin_basename(__FILE__)).'/lang/' );
|
23 |
}
|
24 |
|
25 |
-
/**
|
26 |
-
* Adds WeblizarFacebook Widget
|
27 |
-
*/
|
28 |
-
class WeblizarFacebook extends WP_Widget {
|
29 |
-
|
30 |
-
/**
|
31 |
-
* Register widget with WordPress
|
32 |
-
*/
|
33 |
-
function __construct() {
|
34 |
-
add_action('plugins_loaded', 'GetReadyFacebookTranslation');
|
35 |
-
parent::__construct(
|
36 |
-
'weblizar_facebook_likebox', // Base ID
|
37 |
-
'Facebook By WebLizar', // Widget Name
|
38 |
-
array( 'description' => __( 'Display Facebook Page Live Stream & Fans', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ), ) // Args
|
39 |
-
);
|
40 |
-
}
|
41 |
-
|
42 |
-
/**
|
43 |
-
* Front-end display of widget.
|
44 |
-
*
|
45 |
-
* @see WP_Widget::widget()
|
46 |
-
*
|
47 |
-
* @param array $args Widget arguments.
|
48 |
-
* @param array $instance Saved values from database.
|
49 |
-
*/
|
50 |
-
public function widget( $args, $instance ) {
|
51 |
-
// Outputs the content of the widget
|
52 |
-
extract($args); // Make before_widget, etc available.
|
53 |
-
$title = apply_filters('title', $instance['title']);
|
54 |
-
|
55 |
-
echo $before_widget;
|
56 |
-
if (!empty($title)) { echo $before_title . $title . $after_title; }
|
57 |
-
|
58 |
-
$FbAppId = apply_filters( 'facebook_app_id', $instance['FbAppId'] );
|
59 |
-
//$ColorScheme = apply_filters( 'facebook_color_scheme', $instance['ColorScheme'] );
|
60 |
-
$ForceWall = apply_filters( 'facebook_force_wall', $instance['ForceWall'] );
|
61 |
-
$Header = apply_filters( 'facebook_header', $instance['Header'] );
|
62 |
-
$Height = apply_filters( 'facebook_height', $instance['Height'] );
|
63 |
-
$FacebookPageURL = apply_filters( 'facebook_page_url', $instance['FacebookPageURL'] );
|
64 |
-
$ShowBorder = apply_filters( 'facebook_show_border', $instance['ShowBorder'] );
|
65 |
-
$ShowFaces = apply_filters( 'facebook_show_faces', $instance['ShowFaces'] );
|
66 |
-
$Stream = apply_filters( 'facebook_stream', $instance['Stream'] );
|
67 |
-
$Width = apply_filters( 'facebook_width', $instance['Width'] );
|
68 |
-
?>
|
69 |
-
<style>
|
70 |
-
@media (max-width:767px) {
|
71 |
-
.fb_iframe_widget {
|
72 |
-
width: 100%;
|
73 |
-
}
|
74 |
-
.fb_iframe_widget span {
|
75 |
-
width: 100% !important;
|
76 |
-
}
|
77 |
-
.fb_iframe_widget iframe {
|
78 |
-
width: 100% !important;
|
79 |
-
}
|
80 |
-
._8r {
|
81 |
-
margin-right: 5px;
|
82 |
-
margin-top: -4px !important;
|
83 |
-
}
|
84 |
-
}
|
85 |
-
</style>
|
86 |
-
<div style="display:block;width:100%;float:left;overflow:hidden;margin-bottom:20px">
|
87 |
-
<div id="fb-root"></div>
|
88 |
-
<script>(function(d, s, id) {
|
89 |
-
var js, fjs = d.getElementsByTagName(s)[0];
|
90 |
-
if (d.getElementById(id)) return;
|
91 |
-
js = d.createElement(s); js.id = id;
|
92 |
-
js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.4";
|
93 |
-
fjs.parentNode.insertBefore(js, fjs);
|
94 |
-
}(document, 'script', 'facebook-jssdk'));</script>
|
95 |
-
<div class="fb-like-box" style="background-color: auto;" data-small-header="<?php echo $Header; ?>" data-height="<?php echo $Height; ?>" data-href="<?php echo $FacebookPageURL; ?>" data-show-border="<?php echo $ShowBorder; ?>" data-show-faces="<?php echo $ShowFaces; ?>" data-stream="<?php echo $Stream; ?>" data-width="<?php echo $Width; ?>" data-force-wall="<?php echo $ForceWall; ?>"></div>
|
96 |
-
<div style="display:none;"><?php _e( 'Facebook By Weblizar Powered By Weblizar', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></div>
|
97 |
-
</div>
|
98 |
-
<?php
|
99 |
-
echo $after_widget;
|
100 |
-
}
|
101 |
-
|
102 |
-
/**
|
103 |
-
* Back-end widget form.
|
104 |
-
*
|
105 |
-
* @see WP_Widget::form()
|
106 |
-
*
|
107 |
-
* @param array $instance Previously saved values from database.
|
108 |
-
*/
|
109 |
-
public function form( $instance ) {
|
110 |
-
|
111 |
-
//default values & Submitted Values
|
112 |
-
/* $ColorScheme = 'lite';
|
113 |
-
if ( isset( $instance[ 'ColorScheme' ] ) ) {
|
114 |
-
$ColorScheme = $instance[ 'ColorScheme' ];
|
115 |
-
} */
|
116 |
-
|
117 |
-
$ForceWall = 'false';
|
118 |
-
if ( isset( $instance[ 'ForceWall' ] ) ) {
|
119 |
-
$ForceWall = $instance[ 'ForceWall' ];
|
120 |
-
}
|
121 |
-
|
122 |
-
$Header = 'true';
|
123 |
-
if ( isset( $instance[ 'Header' ] ) ) {
|
124 |
-
$Header = $instance[ 'Header' ];
|
125 |
-
}
|
126 |
-
|
127 |
-
$Height = 560;
|
128 |
-
if ( isset( $instance[ 'Height' ] ) ) {
|
129 |
-
$Height = $instance[ 'Height' ];
|
130 |
-
}
|
131 |
-
|
132 |
-
$FacebookPageURL = 'https://www.facebook.com/pages/Weblizar/1440510482872657';
|
133 |
-
if ( isset( $instance[ 'FacebookPageURL' ] ) ) {
|
134 |
-
$FacebookPageURL = $instance[ 'FacebookPageURL' ];
|
135 |
-
}
|
136 |
-
|
137 |
-
$ShowBorder = 'true';
|
138 |
-
if ( isset( $instance[ 'ShowBorder' ] ) ) {
|
139 |
-
$ShowBorder = $instance[ 'ShowBorder' ];
|
140 |
-
}
|
141 |
-
|
142 |
-
$ShowFaces = 'true';
|
143 |
-
if ( isset( $instance[ 'ShowFaces' ] ) ) {
|
144 |
-
$ShowFaces = $instance[ 'ShowFaces' ];
|
145 |
-
}
|
146 |
-
|
147 |
-
$Stream = 'true';
|
148 |
-
if ( isset( $instance[ 'Stream' ] ) ) {
|
149 |
-
$Stream = $instance[ 'Stream' ];
|
150 |
-
}
|
151 |
-
|
152 |
-
$Width = 292;
|
153 |
-
if ( isset( $instance[ 'Width' ] ) ) {
|
154 |
-
$Width = $instance[ 'Width' ];
|
155 |
-
}
|
156 |
-
|
157 |
-
$FbAppId = '488390501239538';
|
158 |
-
if ( isset( $instance[ 'FbAppId' ] ) ) {
|
159 |
-
$FbAppId = $instance[ 'FbAppId' ];
|
160 |
-
}
|
161 |
-
|
162 |
-
if ( isset( $instance[ 'title' ] ) ) {
|
163 |
-
$title = $instance[ 'title' ];
|
164 |
-
}
|
165 |
-
else {
|
166 |
-
$title = __( 'LikeBox', 'WEBLIZAR_FACEBOOK_TEXT_DOMAIN' );
|
167 |
-
}
|
168 |
-
?>
|
169 |
-
<p>
|
170 |
-
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label>
|
171 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>">
|
172 |
-
</p>
|
173 |
-
<p>
|
174 |
-
<label for="<?php echo $this->get_field_id( 'FacebookPageURL' ); ?>"><?php _e( 'Facebook Page URL', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
175 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'FacebookPageURL' ); ?>" name="<?php echo $this->get_field_name( 'FacebookPageURL' ); ?>" type="text" value="<?php echo esc_attr( $FacebookPageURL ); ?>">
|
176 |
-
</p>
|
177 |
-
<p>
|
178 |
-
<label for="<?php echo $this->get_field_id( 'ShowFaces' ); ?>"><?php _e( 'Show Faces', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
179 |
-
<select id="<?php echo $this->get_field_id( 'ShowFaces' ); ?>" name="<?php echo $this->get_field_name( 'ShowFaces' ); ?>">
|
180 |
-
<option value="true" <?php if($ShowFaces == "true") echo "selected=selected" ?>>Yes</option>
|
181 |
-
<option value="false" <?php if($ShowFaces == "false") echo "selected=selected" ?>>No</option>
|
182 |
-
</select>
|
183 |
-
</p>
|
184 |
-
<p>
|
185 |
-
<label for="<?php echo $this->get_field_id( 'Stream' ); ?>"><?php _e( 'Show Live Stream', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
186 |
-
<select id="<?php echo $this->get_field_id( 'Stream' ); ?>" name="<?php echo $this->get_field_name( 'Stream' ); ?>">
|
187 |
-
<option value="true" <?php if($Stream == "true") echo "selected=selected" ?>>Yes</option>
|
188 |
-
<option value="false" <?php if($Stream == "false") echo "selected=selected" ?>>No</option>
|
189 |
-
</select>
|
190 |
-
</p>
|
191 |
-
<p>
|
192 |
-
<label for="<?php echo $this->get_field_id( 'Width' ); ?>"><?php _e( 'Widget Width', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
193 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'Width' ); ?>" name="<?php echo $this->get_field_name( 'Width' ); ?>" type="text" value="<?php echo esc_attr( $Width ); ?>">
|
194 |
-
</p>
|
195 |
-
<p>
|
196 |
-
<label for="<?php echo $this->get_field_id( 'Height' ); ?>"><?php _e( 'Widget Height', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
197 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'Height' ); ?>" name="<?php echo $this->get_field_name( 'Height' ); ?>" type="text" value="<?php echo esc_attr( $Height ); ?>">
|
198 |
-
</p>
|
199 |
-
<p>
|
200 |
-
<label for="<?php echo $this->get_field_id( 'FbAppId' ); ?>"><?php _e( 'Facebook App ID', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?> (<?php _e("Required",WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>)</label>
|
201 |
-
<input class="widefat" id="<?php echo $this->get_field_id( 'FbAppId' ); ?>" name="<?php echo $this->get_field_name( 'FbAppId' ); ?>" type="text" value="<?php echo esc_attr( $FbAppId ); ?>">
|
202 |
-
<?php _e("Get Your Facebook App. Id",WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>: <a href="http://weblizar.com/get-facebook-app-id/" target="_blank"><?php _e( 'HERE', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></a>
|
203 |
-
</p>
|
204 |
-
|
205 |
-
<p>
|
206 |
-
<a style="display:block;" target="_new" href="https://wordpress.org/plugins/facebook-by-weblizar/"><img src="<?php echo WEBLIZAR_FACEBOOK_PLUGIN_URL.'images/star.png' ;?>" /> </a>
|
207 |
-
<a href="https://wordpress.org/plugins/facebook-by-weblizar/" target="_new"> <?php _e("Rate Us on ",WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?> Wordpress.org</a>
|
208 |
-
</p>
|
209 |
-
<?php
|
210 |
-
}
|
211 |
-
|
212 |
-
/**
|
213 |
-
* Sanitize widget form values as they are saved.
|
214 |
-
*
|
215 |
-
* @see WP_Widget::update()
|
216 |
-
*
|
217 |
-
* @param array $new_instance Values just sent to be saved.
|
218 |
-
* @param array $old_instance Previously saved values from database.
|
219 |
-
*
|
220 |
-
* @return array Updated safe values to be saved.
|
221 |
-
*/
|
222 |
-
public function update( $new_instance, $old_instance ) {
|
223 |
-
$instance = array();
|
224 |
-
$instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : 'Tweets';
|
225 |
-
$instance['FacebookPageURL'] = ( ! empty( $new_instance['FacebookPageURL'] ) ) ? strip_tags( $new_instance['FacebookPageURL'] ) : 'https://www.facebook.com/pages/Weblizar/1440510482872657';
|
226 |
-
$instance['Header'] = ( ! empty( $new_instance['Header'] ) ) ? strip_tags( $new_instance['Header'] ) : 'true';
|
227 |
-
$instance['Width'] = ( ! empty( $new_instance['Width'] ) ) ? strip_tags( $new_instance['Width'] ) : '292';
|
228 |
-
$instance['Height'] = ( ! empty( $new_instance['Height'] ) ) ? strip_tags( $new_instance['Height'] ) : '560';
|
229 |
-
$instance['Stream'] = ( ! empty( $new_instance['Stream'] ) ) ? strip_tags( $new_instance['Stream'] ) : 'true';
|
230 |
-
$instance['ShowFaces'] = ( ! empty( $new_instance['ShowFaces'] ) ) ? strip_tags( $new_instance['ShowFaces'] ) : 'true';
|
231 |
-
$instance['ShowBorder'] = ( ! empty( $new_instance['ShowBorder'] ) ) ? strip_tags( $new_instance['ShowBorder'] ) : 'true';
|
232 |
-
$instance['ForceWall'] = ( ! empty( $new_instance['ForceWall'] ) ) ? strip_tags( $new_instance['ForceWall'] ) : 'false';
|
233 |
-
$instance['FbAppId'] = ( ! empty( $new_instance['FbAppId'] ) ) ? strip_tags( $new_instance['FbAppId'] ) : '488390501239538';
|
234 |
-
return $instance;
|
235 |
-
}
|
236 |
-
|
237 |
-
} // class WeblizarFacebook
|
238 |
-
|
239 |
-
// register WeblizarFacebook widget
|
240 |
-
function WeblizarFacebookWidget() {
|
241 |
-
register_widget( 'WeblizarFacebook' );
|
242 |
-
}
|
243 |
-
add_action( 'widgets_init', 'WeblizarFacebookWidget' );
|
244 |
-
|
245 |
/**
|
246 |
* Facebook By Weblizar Menu
|
247 |
*/
|
@@ -264,8 +44,8 @@ function facebooky_by_weblizar_page_function() {
|
|
264 |
require_once("facebook-by-weblizar-help.php");
|
265 |
}
|
266 |
|
267 |
-
|
268 |
-
|
269 |
-
*/
|
270 |
-
|
271 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Facebook By WebLizar
|
4 |
+
* Version: 2.5.0
|
5 |
* Description: Facebook like box plugin to display facebook page live stream & friends on WordPress blog.
|
6 |
* Author: WebLizar
|
7 |
* Author URI: http://www.weblizar.com
|
22 |
load_plugin_textdomain( WEBLIZAR_FACEBOOK_TEXT_DOMAIN, FALSE, dirname( plugin_basename(__FILE__)).'/lang/' );
|
23 |
}
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
/**
|
26 |
* Facebook By Weblizar Menu
|
27 |
*/
|
44 |
require_once("facebook-by-weblizar-help.php");
|
45 |
}
|
46 |
|
47 |
+
/*** Load Facebook Like Box widgets */
|
48 |
+
require_once("facebook-by-weblizar-widgets.php");
|
49 |
+
/*** Load Facebook Like Box Shortcode */
|
50 |
+
require_once("facebook-by-weblizar-short-code.php");
|
51 |
?>
|
help-body.php
CHANGED
@@ -1,3 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<style>
|
2 |
label {
|
3 |
margin-right:10px;
|
@@ -92,7 +118,7 @@ if(isset($_POST['facebook-page-url']) && isset($_POST['fb-app-id'])){
|
|
92 |
$Height = $FacebookSettings[ 'Height' ];
|
93 |
}
|
94 |
|
95 |
-
$FacebookPageUrl = 'https://www.facebook.com/
|
96 |
if ( isset( $FacebookSettings[ 'FacebookPageUrl' ] ) ) {
|
97 |
$FacebookPageUrl = $FacebookSettings[ 'FacebookPageUrl' ];
|
98 |
}
|
@@ -411,6 +437,7 @@ if(isset($_POST['facebook-page-url']) && isset($_POST['fb-app-id'])){
|
|
411 |
?>
|
412 |
</div>
|
413 |
</div>
|
|
|
414 |
</div>
|
415 |
<?php
|
416 |
}
|
@@ -440,9 +467,6 @@ if(isset($_POST['facebook-page-url']) && isset($_POST['fb-app-id'])){
|
|
440 |
|
441 |
</div>
|
442 |
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
<!---------------- need help tab------------------------>
|
447 |
<div class="block ui-tabs-panel deactive" id="option-needhelp">
|
448 |
<div class="row">
|
1 |
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
2 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
3 |
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
4 |
+
<style type="text/css">
|
5 |
+
.bs-example{
|
6 |
+
margin: 20px;
|
7 |
+
}
|
8 |
+
.panel-title .glyphicon{
|
9 |
+
font-size: 14px;
|
10 |
+
}
|
11 |
+
</style>
|
12 |
+
<script>
|
13 |
+
$(document).ready(function(){
|
14 |
+
// Add minus icon for collapse element which is open by default
|
15 |
+
$(".collapse.in").each(function(){
|
16 |
+
$(this).siblings(".panel-heading").find(".glyphicon").addClass("glyphicon-minus").removeClass("glyphicon-plus");
|
17 |
+
});
|
18 |
+
|
19 |
+
// Toggle plus minus icon on show hide of collapse element
|
20 |
+
$(".collapse").on('show.bs.collapse', function(){
|
21 |
+
$(this).parent().find(".glyphicon").removeClass("glyphicon-plus").addClass("glyphicon-minus");
|
22 |
+
}).on('hide.bs.collapse', function(){
|
23 |
+
$(this).parent().find(".glyphicon").removeClass("glyphicon-minus").addClass("glyphicon-plus");
|
24 |
+
});
|
25 |
+
});
|
26 |
+
</script>
|
27 |
<style>
|
28 |
label {
|
29 |
margin-right:10px;
|
118 |
$Height = $FacebookSettings[ 'Height' ];
|
119 |
}
|
120 |
|
121 |
+
$FacebookPageUrl = 'https://www.facebook.com/Weblizarwp/';
|
122 |
if ( isset( $FacebookSettings[ 'FacebookPageUrl' ] ) ) {
|
123 |
$FacebookPageUrl = $FacebookSettings[ 'FacebookPageUrl' ];
|
124 |
}
|
437 |
?>
|
438 |
</div>
|
439 |
</div>
|
440 |
+
</div>
|
441 |
</div>
|
442 |
<?php
|
443 |
}
|
467 |
|
468 |
</div>
|
469 |
|
|
|
|
|
|
|
470 |
<!---------------- need help tab------------------------>
|
471 |
<div class="block ui-tabs-panel deactive" id="option-needhelp">
|
472 |
<div class="row">
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
|
|
3 |
Donate link: http://www.weblizar.com/
|
4 |
Tags: facebook, facebook like, facebook page, facebook like box, facebook widget
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.9
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -86,6 +86,12 @@ Please use WordPress support forum to ask any query regarding any issue.
|
|
86 |
|
87 |
For more information, see [Weblizar](http://wwww.weblizar.com/) .
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
= 2.4.9 = version update + compatible upto WordPress 4.9
|
90 |
= 2.4.8 = version update + compatible upto WordPress 4.8.1
|
91 |
= 2.4.7 = French Translation added
|
3 |
Donate link: http://www.weblizar.com/
|
4 |
Tags: facebook, facebook like, facebook page, facebook like box, facebook widget
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.9.1
|
7 |
+
Stable tag: 2.5.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
86 |
|
87 |
For more information, see [Weblizar](http://wwww.weblizar.com/) .
|
88 |
|
89 |
+
= 2.5.0 =
|
90 |
+
1. version update + compatible upto WordPress 4.9.1
|
91 |
+
2. add Facebook Feed Tab
|
92 |
+
3. Plugin Recommendation layout tab not view proper bug fixed.
|
93 |
+
4. Change the new like box facebook page and app id
|
94 |
+
|
95 |
= 2.4.9 = version update + compatible upto WordPress 4.9
|
96 |
= 2.4.8 = version update + compatible upto WordPress 4.8.1
|
97 |
= 2.4.7 = French Translation added
|