Version Description
Fix the crashed code.
Download this release
Release Info
Developer | weblizar |
Plugin | Feed & LikeBox For Facebook |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.9 to 2.5.1
- facebook-by-weblizar-help.php +6 -0
- facebook-by-weblizar-short-code.php +2 -2
- facebook-by-weblizar.php +7 -227
- facebook-feed.php +49 -0
- help-body.php +35 -4
- images/facebook-page.jpg +0 -0
- images/fbdemo.PNG +0 -0
- readme.txt +5 -3
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,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: Facebook By
|
4 |
-
* Version: 2.
|
5 |
* Description: Facebook like box plugin to display facebook page live stream & friends on WordPress blog.
|
6 |
-
* Author:
|
7 |
* Author URI: http://www.weblizar.com
|
8 |
* Plugin URI: http://www.weblizar.com/plugins/
|
9 |
*/
|
@@ -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.1
|
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
|
8 |
* Plugin URI: http://www.weblizar.com/plugins/
|
9 |
*/
|
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 |
?>
|
facebook-feed.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!---------------- facebook feed tab------------------------>
|
2 |
+
<div class="block ui-tabs-panel deactive" id="option-fbfeed">
|
3 |
+
<div class="row">
|
4 |
+
<div class="col-md-10 col-sm-10 col-xs-10">
|
5 |
+
<div id="heading" style="margin-bottom: 30px;">
|
6 |
+
<h2 style="text-align:center;"><?php _e('Facebook Feed Coming Soon', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></h2>
|
7 |
+
</div>
|
8 |
+
|
9 |
+
<div class="col-md-6 col-sm-6 col-xs-12">
|
10 |
+
<div class="">
|
11 |
+
<a href="http://weblizar.com" target="_new" style="margin-bottom:10px;text-align:center"><img style="box-shadow: rgb(150, 148, 148) 0px 0px 5px;" src="<?php echo WEBLIZAR_FACEBOOK_PLUGIN_URL.'images/facebook-page.jpg';?>" width="100%"></a>
|
12 |
+
</div>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<div class="col-md-6 col-sm-6 col-xs-12 title">
|
16 |
+
<h1 style="background-color:#31a3dd;color: #fff;padding:10px;font-size:30px;display:block;text-align:center;margin-bottom: 10px;"><?php _e('Facebook Feed Features', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></h1>
|
17 |
+
|
18 |
+
<ul style="list-style: none; padding:0px">
|
19 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Responsive layout</li>
|
20 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Page & Public Group feeds</li>
|
21 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Auto-update for feeds</li>
|
22 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Unlimited Facebook feeds per page/post</li>
|
23 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Lightbox</li>
|
24 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Top Level & Stream type comment display</li>
|
25 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Facebook redirection option</li>
|
26 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Shortcode</li>
|
27 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Facebook feed widget</li>
|
28 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> 15 lightbox effects</li>
|
29 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Profile Feed</li>
|
30 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Specific content feeds</li>
|
31 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Advanced lightbox</li>
|
32 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Filmstrip for lightbox</li>
|
33 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Themes</li>
|
34 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Multiple layouts</li>
|
35 |
+
<li style="padding:5px 0px; margin:0px; font-size: 18px;"><i class="fa fa-hand-o-right" style="color: #777;margin-right: 5px;"></i> Google+, Twitter, Facebook Sharing</li>
|
36 |
+
</ul>
|
37 |
+
</div>
|
38 |
+
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
<div class="plan-name centre">
|
45 |
+
<a class="btn btn-primary btn-lg" style="font-size: 20px;padding: 10px 20px;margin-right: 10px;" target="_new" href="http://demo.weblizar.com/facebook-feed-pro/"><?php _e('View Demo', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a>
|
46 |
+
<a class="btn btn-primary btn-lg" style="font-size: 20px;padding: 10px 20px;margin-left: 10px;" target="_new" href="https://weblizar.com/plugins/facebook-feed-pro/"><?php _e('View Details', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a>
|
47 |
+
|
48 |
+
</div>
|
49 |
+
</div>
|
help-body.php
CHANGED
@@ -1,3 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<style>
|
2 |
label {
|
3 |
margin-right:10px;
|
@@ -92,7 +125,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 +444,7 @@ if(isset($_POST['facebook-page-url']) && isset($_POST['fb-app-id'])){
|
|
411 |
?>
|
412 |
</div>
|
413 |
</div>
|
|
|
414 |
</div>
|
415 |
<?php
|
416 |
}
|
@@ -440,9 +474,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 |
+
.panel-primary {
|
12 |
+
border-color: #fff !important;
|
13 |
+
}
|
14 |
+
|
15 |
+
.panel-default {
|
16 |
+
border-color: #fff !important;
|
17 |
+
}
|
18 |
+
</style>
|
19 |
+
<script>
|
20 |
+
$(document).ready(function(){
|
21 |
+
// Add minus icon for collapse element which is open by default
|
22 |
+
$(".collapse.in").each(function(){
|
23 |
+
$(this).siblings(".panel-heading").find(".glyphicon").addClass("glyphicon-minus").removeClass("glyphicon-plus");
|
24 |
+
});
|
25 |
+
|
26 |
+
// Toggle plus minus icon on show hide of collapse element
|
27 |
+
$(".collapse").on('show.bs.collapse', function(){
|
28 |
+
$(this).parent().find(".glyphicon").removeClass("glyphicon-plus").addClass("glyphicon-minus");
|
29 |
+
}).on('hide.bs.collapse', function(){
|
30 |
+
$(this).parent().find(".glyphicon").removeClass("glyphicon-minus").addClass("glyphicon-plus");
|
31 |
+
});
|
32 |
+
});
|
33 |
+
</script>
|
34 |
<style>
|
35 |
label {
|
36 |
margin-right:10px;
|
125 |
$Height = $FacebookSettings[ 'Height' ];
|
126 |
}
|
127 |
|
128 |
+
$FacebookPageUrl = 'https://www.facebook.com/Weblizarwp/';
|
129 |
if ( isset( $FacebookSettings[ 'FacebookPageUrl' ] ) ) {
|
130 |
$FacebookPageUrl = $FacebookSettings[ 'FacebookPageUrl' ];
|
131 |
}
|
444 |
?>
|
445 |
</div>
|
446 |
</div>
|
447 |
+
</div>
|
448 |
</div>
|
449 |
<?php
|
450 |
}
|
474 |
|
475 |
</div>
|
476 |
|
|
|
|
|
|
|
477 |
<!---------------- need help tab------------------------>
|
478 |
<div class="block ui-tabs-panel deactive" id="option-needhelp">
|
479 |
<div class="row">
|
images/facebook-page.jpg
ADDED
Binary file
|
images/fbdemo.PNG
ADDED
Binary file
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
=== Facebook ===
|
2 |
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 |
|
@@ -85,7 +85,9 @@ Please use WordPress support forum to ask any query regarding any issue.
|
|
85 |
== Changelog ==
|
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
|
1 |
+
=== Facebook ===
|
2 |
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.1
|
7 |
+
Stable tag: 2.5.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
85 |
== Changelog ==
|
86 |
|
87 |
For more information, see [Weblizar](http://wwww.weblizar.com/) .
|
88 |
+
= 2.5.1 = Fix the crashed code.
|
89 |
|
90 |
+
= 2.5.0 = version update + compatible upto WordPress 4.9.1 + add Facebook Feed Tab + Plugin Recommendation layout tab not view proper bug fixed.
|
91 |
= 2.4.9 = version update + compatible upto WordPress 4.9
|
92 |
= 2.4.8 = version update + compatible upto WordPress 4.8.1
|
93 |
= 2.4.7 = French Translation added
|