Version Description
[01-04-2022] * tested upto wordpress 5.9.2 * Minor changes in dashboard.
Download this release
Release Info
Developer | weblizar |
Plugin | Feed & LikeBox For Facebook |
Version | 3.0.0 |
Comparing to | |
See all releases |
Code changes from version 2.9.9 to 3.0.0
- facebook-by-weblizar.php +1 -1
- function/facebook-by-weblizar-help.php +1 -1
- function/facebook-feed.php +144 -132
- function/help-body.php +0 -9
- images/available-pro.jpg +0 -0
- images/available-pro.png +0 -0
- images/background.png +0 -0
- images/facebook-full-feature.jpg +0 -0
- images/fb_pro.jpg +0 -0
- images/feed-tab-img.jpg +0 -0
- readme.txt +6 -2
facebook-by-weblizar.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Social LikeBox & Feed
|
4 |
-
* Version:
|
5 |
* Description: Display the Facebook Feed and Like box on your website. Its completely customizable, responsive and search engine optimization feeds and like-box contents.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://www.weblizar.com
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Social LikeBox & Feed
|
4 |
+
* Version: 3.0.0
|
5 |
* Description: Display the Facebook Feed and Like box on your website. Its completely customizable, responsive and search engine optimization feeds and like-box contents.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://www.weblizar.com
|
function/facebook-by-weblizar-help.php
CHANGED
@@ -49,7 +49,7 @@
|
|
49 |
<ul class="nav nav-tabs tabtop tabsetting " role="tablist" id="nav">
|
50 |
<li class="active"><a id="general"><div class="dashicons dashicons-admin-generic"></div><?php esc_html_e(' Like Box', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a></li>
|
51 |
<li><a id="fbfeed"><div class="dashicons dashicons-align-right"></div><?php esc_html_e(' Social Feed', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a></li>
|
52 |
-
|
53 |
<li><a id="needhelp"><div class="dashicons dashicons-editor-help"></div><?php esc_html_e(' Need Help', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a></li>
|
54 |
<li><a id="upgradetopro" ><div class="dashicons dashicons-awards"></div><?php esc_html_e(' Upgrade to Pro', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a></li>
|
55 |
</ul>
|
49 |
<ul class="nav nav-tabs tabtop tabsetting " role="tablist" id="nav">
|
50 |
<li class="active"><a id="general"><div class="dashicons dashicons-admin-generic"></div><?php esc_html_e(' Like Box', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a></li>
|
51 |
<li><a id="fbfeed"><div class="dashicons dashicons-align-right"></div><?php esc_html_e(' Social Feed', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a></li>
|
52 |
+
|
53 |
<li><a id="needhelp"><div class="dashicons dashicons-editor-help"></div><?php esc_html_e(' Need Help', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a></li>
|
54 |
<li><a id="upgradetopro" ><div class="dashicons dashicons-awards"></div><?php esc_html_e(' Upgrade to Pro', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></a></li>
|
55 |
</ul>
|
function/facebook-feed.php
CHANGED
@@ -1,67 +1,67 @@
|
|
1 |
-
<?php if (! defined('ABSPATH')) {
|
2 |
-
|
3 |
} // Exit if accessed directly
|
4 |
-
if (isset($_POST['security'])) {
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
}
|
22 |
-
$facebook_feed_fetch = unserialize(get_option(
|
23 |
-
if (isset($facebook_feed_fetch[
|
24 |
-
|
25 |
} else {
|
26 |
-
|
27 |
}
|
28 |
-
if (isset($facebook_feed_fetch[
|
29 |
-
|
30 |
} else {
|
31 |
-
|
32 |
}
|
33 |
-
if (isset($facebook_feed_fetch[
|
34 |
-
|
35 |
} else {
|
36 |
-
|
37 |
}
|
38 |
-
if (isset($facebook_feed_fetch[
|
39 |
-
|
40 |
} else {
|
41 |
-
|
42 |
}
|
43 |
-
if (isset($facebook_feed_fetch[
|
44 |
-
|
45 |
} else {
|
46 |
-
|
47 |
}
|
48 |
-
if (isset($facebook_feed_fetch[
|
49 |
-
|
50 |
} else {
|
51 |
-
|
52 |
}
|
53 |
-
if (isset($facebook_feed_fetch[
|
54 |
-
|
55 |
} else {
|
56 |
} ?>
|
57 |
<!-- facebook feed tab -->
|
58 |
-
<?php $feed_security_action_nonce = wp_create_nonce(
|
59 |
<div class="block ui-tabs-panel deactive" id="option-fbfeed">
|
60 |
<div class="section">
|
61 |
<form method="post" id="weblizar_feed_setting_option">
|
62 |
<div class="feed_setting_page">
|
63 |
<div class="feedheading_cls">
|
64 |
-
<h3 class="feedheading"><?php esc_html_e('Feed Settings', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
65 |
</h3>
|
66 |
</div>
|
67 |
<div class="row">
|
@@ -70,16 +70,16 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
70 |
<div class="col-md-12 no-pad pt-1">
|
71 |
<div class="row">
|
72 |
<div class="ffp_set_l col-md-6">
|
73 |
-
<label class="ffp_font_bold"> <?php esc_html_e('Choose page, Group or Profile:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
74 |
</div>
|
75 |
<div class="col-md-6">
|
76 |
<select name="feed_type" id="feed_type" style="width:100px;"
|
77 |
onchange="feed_type_change_function()">
|
78 |
-
<option value="page" selected="selected"> <?php esc_html_e('Page', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
79 |
</option>
|
80 |
-
<option value="group"> <?php esc_html_e('Group', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
81 |
</option>
|
82 |
-
<option value="profile"> <?php esc_html_e('Profile', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
83 |
</option>
|
84 |
</select>
|
85 |
</div>
|
@@ -89,19 +89,23 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
89 |
<div id="ffp_type_page" class="col-md-12 no-pad ffp_page_id" style="display: none;">
|
90 |
<div class="row">
|
91 |
<div class="ffp_set_l col-md-6">
|
92 |
-
<label class="ffp_font_bold"><?php esc_html_e('Facebook Access Token:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
93 |
</div>
|
94 |
<div class="ffp_set_l col-md-6">
|
95 |
-
<input type="text" id="ffp_page_id" name="ffp_page_id" value="
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
}
|
|
|
|
|
|
|
|
|
100 |
</div>
|
101 |
<div class="ffp_set_l col-md-6"></div>
|
102 |
<div class="ffp_set_l col-md-6"><a
|
103 |
href="https://weblizar.com/blog/generate-facebook-access-token/"
|
104 |
-
style="width:100%"><?php esc_html_e('get your access token.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
105 |
</div>
|
106 |
</div>
|
107 |
</div>
|
@@ -109,14 +113,18 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
109 |
<div id="ffp_type_page" class="col-md-12 no-pad ffp_page_url" style="display:none;">
|
110 |
<div class="row">
|
111 |
<div class="ffp_set_l col-md-6">
|
112 |
-
<label class="ffp_font_bold"><?php esc_html_e('Page ID:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
113 |
</div>
|
114 |
<div class="ffp_set_l col-md-6">
|
115 |
-
<input type="text" id="ffp_page_identifier" name="ffp_page_identifier" value="
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
}
|
|
|
|
|
|
|
|
|
120 |
</div>
|
121 |
</div>
|
122 |
</div>
|
@@ -124,19 +132,19 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
124 |
<div id="ffp_type_group" class="col-md-12 no-pad" style="display:none; color:red;">
|
125 |
<div class="row">
|
126 |
<div class="col-md-6">
|
127 |
-
<label for="ffp_group_url" class="ffp_font_bold"> <?php esc_html_e('Group id:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
128 |
</label>
|
129 |
</div>
|
130 |
-
<div class="col-md-6"><?php esc_html_e('This Options Available in pro version', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
131 |
</div>
|
132 |
</div>
|
133 |
</div>
|
134 |
<div id="ffp_type_group_token" class="col-md-12 no-pad" style="display:none; color:red;">
|
135 |
<div class="row">
|
136 |
<div class="col-md-6">
|
137 |
-
<label for="ffp_group_token" class="ffp_font_bold"><?php esc_html_e('Acess Token:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
138 |
</div>
|
139 |
-
<div class="col-md-6"><?php esc_html_e('This Option Available in pro version', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
140 |
</div>
|
141 |
</div>
|
142 |
</div>
|
@@ -145,34 +153,34 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
145 |
<div class="col-md-12 no-pad pt-1 pb-1">
|
146 |
<div class="row">
|
147 |
<div class="col-md-6">
|
148 |
-
<label class="ffp_font_bold"><?php esc_html_e('Content type:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
149 |
</label>
|
150 |
</div>
|
151 |
<div class="col-md-6">
|
152 |
<input type="radio" class="inputbox" id="ffp_content_timeline"
|
153 |
name="ffp_content_type" checked="checked" value="timeline"
|
154 |
onclick="feed_timelineChanged();">
|
155 |
-
<label> <?php esc_html_e('Timeline', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
156 |
<input type="radio" class="inputbox" id="ffp_content_specific"
|
157 |
name="ffp_content_type" value="specific" onclick="feed_specificChanged();">
|
158 |
-
<label> <?php esc_html_e('Specific', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
159 |
</div>
|
160 |
</div>
|
161 |
<br>
|
162 |
<div class="col-md-12 no-pad timeline_content" style="display:none">
|
163 |
<div class="row">
|
164 |
<div class="col-md-6">
|
165 |
-
<label class="ffp_font_bold"> <?php esc_html_e('Show posts by:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
166 |
</label>
|
167 |
</div>
|
168 |
<div class="col-md-6">
|
169 |
<select name="ffp_timeline_type" disabled id="ffp_timeline_type">
|
170 |
-
<option value="posts"><?php esc_html_e('Owner', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
171 |
</option>
|
172 |
-
<option value="feed"><?php esc_html_e('Owner and other', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
173 |
</option>
|
174 |
</select>
|
175 |
-
<p class="description"><?php esc_html_e('Available in pro version.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
176 |
</p>
|
177 |
</div>
|
178 |
</div>
|
@@ -180,42 +188,42 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
180 |
<div class="col-md-12 no-pad timeline_content" style="display:none">
|
181 |
<div class="row">
|
182 |
<div class="col-md-6">
|
183 |
-
<label class="ffp_font_bold"> <?php esc_html_e('Post type:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
184 |
</div>
|
185 |
<div class="col-md-6">
|
186 |
<input type="checkbox" class="video_light_box" id="ffp_timeline_statuses"
|
187 |
name="ffp_timeline_statuses" value="statuses" disabled>
|
188 |
-
<label> <?php esc_html_e('Statuses', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
189 |
<br>
|
190 |
<input type="checkbox" class="video_light_box" id="ffp_timeline_photos"
|
191 |
checked="checked" name="ffp_timeline_photos" value="photos">
|
192 |
-
<label> <?php esc_html_e('Photos', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
193 |
<br>
|
194 |
<input type="checkbox" class="video_light_box" id="ffp_timeline_videos"
|
195 |
name="ffp_timeline_videos" value="videos" disabled>
|
196 |
-
<label> <?php esc_html_e('Videos', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
197 |
<br>
|
198 |
<input type="checkbox" class="video_light_box" id="ffp_timeline_links"
|
199 |
name="ffp_timeline_links" value="links" disabled>
|
200 |
-
<label> <?php esc_html_e('Links', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
201 |
<br>
|
202 |
<input type="hidden" class="video_light_box" id="ffp_timeline_events"
|
203 |
name="ffp_timeline_events" value="events" disabled>
|
204 |
-
<label style="display:none;"> <?php esc_html_e('Events', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
205 |
</div>
|
206 |
</div>
|
207 |
</div>
|
208 |
<div class="row">
|
209 |
<div class="col-md-6">
|
210 |
-
<label class="ffp_font_bold"> <?php esc_html_e('Hover Effect', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
211 |
</div>
|
212 |
<div class="col-md-6">
|
213 |
<select name="ffp_gallery_effect" id="ffp_gallery_effect" class="form-control"
|
214 |
disabled>
|
215 |
-
<option value="gallery_effect_1"><?php esc_html_e('60+ Image Effects', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
216 |
</option>
|
217 |
</select>
|
218 |
-
<p class="description"><?php esc_html_e('Available in pro version.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
219 |
</p>
|
220 |
</div>
|
221 |
</div>
|
@@ -231,16 +239,20 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
231 |
<div class="col-md-12 no-pad">
|
232 |
<div class="row">
|
233 |
<div class="col-md-6">
|
234 |
-
<label class="ffp_font_bold"><?php esc_html_e('Hover color', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
235 |
</div>
|
236 |
<div class="col-md-6">
|
237 |
<input type="text" class="weblizar-feed-color-picker" name="ffp_hover_color"
|
238 |
-
id="ffp_hover_color" value="
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
}
|
243 |
-
|
|
|
|
|
|
|
|
|
244 |
</p>
|
245 |
</div>
|
246 |
</div>
|
@@ -248,28 +260,32 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
248 |
<div class="col-md-12 no-pad">
|
249 |
<div class="row">
|
250 |
<div class="col-md-6">
|
251 |
-
<label class="ffp_font_bold"> <?php esc_html_e('Number of posts:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
252 |
</div>
|
253 |
<div class="col-md-6">
|
254 |
-
<input type="number" min="1" max="50" id="ffp_limit" name="ffp_limit" value="
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
}
|
|
|
|
|
|
|
|
|
259 |
</div>
|
260 |
</div>
|
261 |
</div>
|
262 |
<div class="col-md-12 no-pad">
|
263 |
<div class="row">
|
264 |
<div class="col-md-6">
|
265 |
-
<label class="ffp_font_bold"> <?php esc_html_e('Loading effect:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
266 |
</div>
|
267 |
<div class="col-md-6">
|
268 |
<select id="ffp_loading_effect" disabled name="ffp_loading_effect">
|
269 |
-
<option value="none"> <?php esc_html_e('None', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
270 |
</option>
|
271 |
</select>
|
272 |
-
<p class="description"><?php esc_html_e('Available in pro version.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
273 |
</p>
|
274 |
</div>
|
275 |
</div>
|
@@ -277,13 +293,13 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
277 |
<div class="col-md-12 no-pad">
|
278 |
<div class="row">
|
279 |
<div class="col-md-6 ">
|
280 |
-
<label class="ffp_font_bold"><?php esc_html_e('Show Header:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
281 |
</div>
|
282 |
<div class="col-md-6">
|
283 |
-
<input type="checkbox" <?php if ($ffp_header_check==
|
284 |
checked="checked" <?php } ?> id="ffp_header_check"
|
285 |
name="ffp_header_check" value="yes" >
|
286 |
-
<p class="description"><?php esc_html_e('Do you want to show cover image.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
287 |
</p>
|
288 |
</div>
|
289 |
</div>
|
@@ -291,27 +307,29 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
291 |
<div class="col-md-12 no-pad timeline_content" style="display:none">
|
292 |
<div class="row">
|
293 |
<div class="col-md-6">
|
294 |
-
<label class="ffp_font_bold"> <?php esc_html_e('Select layout:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
295 |
</label>
|
296 |
</div>
|
297 |
-
<?php
|
298 |
-
|
299 |
-
|
|
|
|
|
300 |
<div class="col-md-6">
|
301 |
<select id="ffp_timeline_layout" name="ffp_timeline_layout">
|
302 |
<optgroup label="Select layout">
|
303 |
-
<option value="full_width" <?php selected($ffp_timeline_layout, 'full_width'); ?>>
|
304 |
-
<?php esc_html_e('Full-width', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
305 |
</option>
|
306 |
-
<option value="half_width" <?php selected($ffp_timeline_layout, 'half_width'); ?>>
|
307 |
-
<?php esc_html_e('Half-width', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
308 |
</option>
|
309 |
-
<option value="thumbnail" <?php selected($ffp_timeline_layout, 'thumbnail'); ?>>
|
310 |
-
<?php esc_html_e('Thumbnail', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
311 |
</option>
|
312 |
</optgroup>
|
313 |
</select>
|
314 |
-
<p class="description"><?php esc_html_e('Select time-line(Posts) layout.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>
|
315 |
</p>
|
316 |
</div>
|
317 |
</div>
|
@@ -319,21 +337,21 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
319 |
<div class="col-md-12 no-pad">
|
320 |
<div class="row">
|
321 |
<div class="col-md-6">
|
322 |
-
<label class="ffp_font_bold"><?php esc_html_e('Light Box Styles', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
323 |
</div>
|
324 |
<div class="col-md-6">
|
325 |
<select name="ffp_light_Box" id="ffp_light_Box">
|
326 |
<optgroup label="Select Light Box">
|
327 |
-
<option value="custom_box"><?php esc_html_e('Custom Box', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
328 |
</option>
|
329 |
-
<option value="custom_box"><?php esc_html_e(' 8+Light-Box Layouts available in Pro', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
330 |
</option>
|
331 |
</optgroup>
|
332 |
</select>
|
333 |
-
<p class="description"><?php esc_html_e('Select lightbox Styles.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>.
|
334 |
</p>
|
335 |
<input type="hidden" name="feed_security" id="feed_security"
|
336 |
-
value="<?php echo esc_attr($feed_security_action_nonce); ?>" />
|
337 |
</div>
|
338 |
</div>
|
339 |
</div>
|
@@ -344,12 +362,12 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
344 |
<div class="col-md-12 col-sm-12 col-xs-12 plugin_desc form-group">
|
345 |
<div class="row">
|
346 |
<div class="col-md-1">
|
347 |
-
<label class="ffp_font_bold"><?php esc_html_e('Custom Css', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?></label>
|
348 |
</div>
|
349 |
<div class="col-md-11">
|
350 |
<textarea class="form-control" name="feed_customs_css" id="feed_customs_css"
|
351 |
placeholder="Custom Css"
|
352 |
-
rows="8"><?php echo esc_html($feed_customs_css); ?></textarea>
|
353 |
</div>
|
354 |
</div>
|
355 |
</div>
|
@@ -358,36 +376,30 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
358 |
</form>
|
359 |
<div class="col-md-12">
|
360 |
<button type="button" name="button" class="button-face-feed"
|
361 |
-
onclick="save_feed_general('<?php echo esc_attr($feed_security_action_nonce); ?>')">
|
362 |
-
<?php esc_html_e('Save', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
363 |
<div style="text-align:center;">
|
364 |
<img id="loading-image"
|
365 |
-
src="<?php echo esc_url(WEBLIZAR_FACEBOOK_PLUGIN_URL.'images/loader.gif'); ?>"
|
366 |
-
alt="<?php esc_attr_e('Weblizar', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?>"
|
367 |
height="200" style="margin-top:-10px; margin-right:10px;" alt="Loading..."
|
368 |
class="admin_loading_css" />
|
369 |
</div>
|
370 |
<div class="success-msg" style="display:none;">
|
371 |
<div class="alert alert-success">
|
372 |
-
<strong><?php esc_html_e('Success!', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
373 |
-
<?php esc_html_e('Data Save Successfully.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
374 |
</div>
|
375 |
</div>
|
376 |
<div style="clear:both"></div>
|
377 |
</div>
|
378 |
<div class="col-md-12 col-sm-12 col-xs-12 form-group plugin_desc">
|
379 |
-
<h1 class="feed_plugin_details"><?php esc_html_e('Plugin Shortcode', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
380 |
</h1>
|
381 |
-
<p style="font-size: 15px;line-height: 1.5;"><?php esc_html_e('copy this shortcode', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
382 |
-
<strong><b>[facebook_feed]</b></strong> <?php esc_html_e('to any page, post or widget where you want to showcase your Facebook feed.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN)
|
383 |
</p>
|
384 |
</div>
|
385 |
-
<div class="col-md-12 col-sm-12 col-xs-12">
|
386 |
-
<a href="http://demo.weblizar.com/facebook-feed-pro/" target="_blank">
|
387 |
-
<img src="<?php echo esc_url(WEBLIZAR_FACEBOOK_PLUGIN_URL.'images/available-pro.png'); ?>"
|
388 |
-
class="img-responsive" />
|
389 |
-
</a>
|
390 |
-
</div>
|
391 |
</div>
|
392 |
<div class="clearfix"></div>
|
393 |
</div>
|
@@ -395,4 +407,4 @@ if (isset($facebook_feed_fetch["ffp_page_id"])) {
|
|
395 |
jQuery(document).ready(function() {
|
396 |
jQuery('input.weblizar-feed-color-picker').wpColorPicker();
|
397 |
});
|
398 |
-
</script>
|
1 |
+
<?php if ( ! defined( 'ABSPATH' ) ) {
|
2 |
+
exit;
|
3 |
} // Exit if accessed directly
|
4 |
+
if ( isset( $_POST['security'] ) ) {
|
5 |
+
if ( wp_verify_nonce( $_POST['security'], 'feed_security_action' ) ) {
|
6 |
+
if ( isset( $_REQUEST['ffp_page_identifier'] ) ) {
|
7 |
+
$facebook_feed = serialize(
|
8 |
+
array(
|
9 |
+
'ffp_limit' => sanitize_text_field( $_REQUEST['ffp_limit'] ),
|
10 |
+
'ffp_timeline_layout' => sanitize_text_field( $_REQUEST['ffp_timeline_layout'] ),
|
11 |
+
'feed_customs_css' => sanitize_text_field( $_REQUEST['feed_customs_css'] ),
|
12 |
+
'ffp_hover_color' => sanitize_text_field( $_REQUEST['ffp_hover_color'] ),
|
13 |
+
'ffp_header_check' => sanitize_text_field( $_REQUEST['ffp_header_check'] ),
|
14 |
+
'ffp_page_url' => sanitize_text_field( $_REQUEST['ffp_page_identifier'] ),
|
15 |
+
'ffp_page_id' => sanitize_text_field( $_REQUEST['ffp_page_id'] ),
|
16 |
+
)
|
17 |
+
);
|
18 |
+
update_option( 'weblizar_facebook_feed_option_settings', $facebook_feed );
|
19 |
+
}
|
20 |
+
}
|
21 |
}
|
22 |
+
$facebook_feed_fetch = unserialize( get_option( 'weblizar_facebook_feed_option_settings' ) );
|
23 |
+
if ( isset( $facebook_feed_fetch['ffp_limit'] ) ) {
|
24 |
+
$ffp_limit = $facebook_feed_fetch['ffp_limit'];
|
25 |
} else {
|
26 |
+
$ffp_limit = '5';
|
27 |
}
|
28 |
+
if ( isset( $facebook_feed_fetch['ffp_timeline_layout'] ) ) {
|
29 |
+
$ffp_timeline_layout = $facebook_feed_fetch['ffp_timeline_layout'];
|
30 |
} else {
|
31 |
+
$ffp_timeline_layout = 'full_width';
|
32 |
}
|
33 |
+
if ( isset( $facebook_feed_fetch['ffp_page_url'] ) ) {
|
34 |
+
$ffp_page_identifier = $facebook_feed_fetch['ffp_page_url'];
|
35 |
} else {
|
36 |
+
$ffp_page_identifier = '1614483668626851';
|
37 |
}
|
38 |
+
if ( isset( $facebook_feed_fetch['feed_customs_css'] ) ) {
|
39 |
+
$feed_customs_css = $facebook_feed_fetch['feed_customs_css'];
|
40 |
} else {
|
41 |
+
$feed_customs_css = '';
|
42 |
}
|
43 |
+
if ( isset( $facebook_feed_fetch['ffp_hover_color'] ) ) {
|
44 |
+
$ffp_hover_color = $facebook_feed_fetch['ffp_hover_color'];
|
45 |
} else {
|
46 |
+
$ffp_hover_color = '#2e2c2c';
|
47 |
}
|
48 |
+
if ( isset( $facebook_feed_fetch['ffp_header_check'] ) ) {
|
49 |
+
$ffp_header_check = $facebook_feed_fetch['ffp_header_check'];
|
50 |
} else {
|
51 |
+
$ffp_header_check = 'no';
|
52 |
}
|
53 |
+
if ( isset( $facebook_feed_fetch['ffp_page_id'] ) ) {
|
54 |
+
$ffp_page_id = $facebook_feed_fetch['ffp_page_id'];
|
55 |
} else {
|
56 |
} ?>
|
57 |
<!-- facebook feed tab -->
|
58 |
+
<?php $feed_security_action_nonce = wp_create_nonce( 'feed_security_action' ); ?>
|
59 |
<div class="block ui-tabs-panel deactive" id="option-fbfeed">
|
60 |
<div class="section">
|
61 |
<form method="post" id="weblizar_feed_setting_option">
|
62 |
<div class="feed_setting_page">
|
63 |
<div class="feedheading_cls">
|
64 |
+
<h3 class="feedheading"><?php esc_html_e( 'Feed Settings', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
65 |
</h3>
|
66 |
</div>
|
67 |
<div class="row">
|
70 |
<div class="col-md-12 no-pad pt-1">
|
71 |
<div class="row">
|
72 |
<div class="ffp_set_l col-md-6">
|
73 |
+
<label class="ffp_font_bold"> <?php esc_html_e( 'Choose page, Group or Profile:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
74 |
</div>
|
75 |
<div class="col-md-6">
|
76 |
<select name="feed_type" id="feed_type" style="width:100px;"
|
77 |
onchange="feed_type_change_function()">
|
78 |
+
<option value="page" selected="selected"> <?php esc_html_e( 'Page', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
79 |
</option>
|
80 |
+
<option value="group"> <?php esc_html_e( 'Group', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
81 |
</option>
|
82 |
+
<option value="profile"> <?php esc_html_e( 'Profile', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
83 |
</option>
|
84 |
</select>
|
85 |
</div>
|
89 |
<div id="ffp_type_page" class="col-md-12 no-pad ffp_page_id" style="display: none;">
|
90 |
<div class="row">
|
91 |
<div class="ffp_set_l col-md-6">
|
92 |
+
<label class="ffp_font_bold"><?php esc_html_e( 'Facebook Access Token:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
93 |
</div>
|
94 |
<div class="ffp_set_l col-md-6">
|
95 |
+
<input type="text" id="ffp_page_id" name="ffp_page_id" value="
|
96 |
+
<?php
|
97 |
+
if ( isset( $ffp_page_id ) ) {
|
98 |
+
echo esc_attr( $ffp_page_id );
|
99 |
+
} else {
|
100 |
+
echo esc_attr( 'EAAETHMFXDyMBAL5uQJfUQXO8uif3recXPjo8PPSbiLTtBsZBVPGxd6cshFjv7MVJwaODhScG6StiScG6go7jpDxaiwLKhcdTjqxrZAce6M5wXAidvAGnPirKLeGBNbCLixDr1oE2QO68uvDWy1227ZAWeRCVLQfK5Lb3HWuiQZDZD' );
|
101 |
+
}
|
102 |
+
?>
|
103 |
+
" style="width:100%">
|
104 |
</div>
|
105 |
<div class="ffp_set_l col-md-6"></div>
|
106 |
<div class="ffp_set_l col-md-6"><a
|
107 |
href="https://weblizar.com/blog/generate-facebook-access-token/"
|
108 |
+
style="width:100%"><?php esc_html_e( 'get your access token.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></a>
|
109 |
</div>
|
110 |
</div>
|
111 |
</div>
|
113 |
<div id="ffp_type_page" class="col-md-12 no-pad ffp_page_url" style="display:none;">
|
114 |
<div class="row">
|
115 |
<div class="ffp_set_l col-md-6">
|
116 |
+
<label class="ffp_font_bold"><?php esc_html_e( 'Page ID:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
117 |
</div>
|
118 |
<div class="ffp_set_l col-md-6">
|
119 |
+
<input type="text" id="ffp_page_identifier" name="ffp_page_identifier" value="
|
120 |
+
<?php
|
121 |
+
if ( isset( $ffp_page_identifier ) ) {
|
122 |
+
echo esc_attr( $ffp_page_identifier );
|
123 |
+
} else {
|
124 |
+
echo esc_attr( '1614483668626851' );
|
125 |
+
}
|
126 |
+
?>
|
127 |
+
" style="width:100%">
|
128 |
</div>
|
129 |
</div>
|
130 |
</div>
|
132 |
<div id="ffp_type_group" class="col-md-12 no-pad" style="display:none; color:red;">
|
133 |
<div class="row">
|
134 |
<div class="col-md-6">
|
135 |
+
<label for="ffp_group_url" class="ffp_font_bold"> <?php esc_html_e( 'Group id:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
136 |
</label>
|
137 |
</div>
|
138 |
+
<div class="col-md-6"><?php esc_html_e( 'This Options Available in pro version', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
139 |
</div>
|
140 |
</div>
|
141 |
</div>
|
142 |
<div id="ffp_type_group_token" class="col-md-12 no-pad" style="display:none; color:red;">
|
143 |
<div class="row">
|
144 |
<div class="col-md-6">
|
145 |
+
<label for="ffp_group_token" class="ffp_font_bold"><?php esc_html_e( 'Acess Token:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
146 |
</div>
|
147 |
+
<div class="col-md-6"><?php esc_html_e( 'This Option Available in pro version', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
148 |
</div>
|
149 |
</div>
|
150 |
</div>
|
153 |
<div class="col-md-12 no-pad pt-1 pb-1">
|
154 |
<div class="row">
|
155 |
<div class="col-md-6">
|
156 |
+
<label class="ffp_font_bold"><?php esc_html_e( 'Content type:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
157 |
</label>
|
158 |
</div>
|
159 |
<div class="col-md-6">
|
160 |
<input type="radio" class="inputbox" id="ffp_content_timeline"
|
161 |
name="ffp_content_type" checked="checked" value="timeline"
|
162 |
onclick="feed_timelineChanged();">
|
163 |
+
<label> <?php esc_html_e( 'Timeline', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
164 |
<input type="radio" class="inputbox" id="ffp_content_specific"
|
165 |
name="ffp_content_type" value="specific" onclick="feed_specificChanged();">
|
166 |
+
<label> <?php esc_html_e( 'Specific', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
167 |
</div>
|
168 |
</div>
|
169 |
<br>
|
170 |
<div class="col-md-12 no-pad timeline_content" style="display:none">
|
171 |
<div class="row">
|
172 |
<div class="col-md-6">
|
173 |
+
<label class="ffp_font_bold"> <?php esc_html_e( 'Show posts by:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
174 |
</label>
|
175 |
</div>
|
176 |
<div class="col-md-6">
|
177 |
<select name="ffp_timeline_type" disabled id="ffp_timeline_type">
|
178 |
+
<option value="posts"><?php esc_html_e( 'Owner', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
179 |
</option>
|
180 |
+
<option value="feed"><?php esc_html_e( 'Owner and other', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
181 |
</option>
|
182 |
</select>
|
183 |
+
<p class="description"><?php esc_html_e( 'Available in pro version.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
184 |
</p>
|
185 |
</div>
|
186 |
</div>
|
188 |
<div class="col-md-12 no-pad timeline_content" style="display:none">
|
189 |
<div class="row">
|
190 |
<div class="col-md-6">
|
191 |
+
<label class="ffp_font_bold"> <?php esc_html_e( 'Post type:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
192 |
</div>
|
193 |
<div class="col-md-6">
|
194 |
<input type="checkbox" class="video_light_box" id="ffp_timeline_statuses"
|
195 |
name="ffp_timeline_statuses" value="statuses" disabled>
|
196 |
+
<label> <?php esc_html_e( 'Statuses', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
197 |
<br>
|
198 |
<input type="checkbox" class="video_light_box" id="ffp_timeline_photos"
|
199 |
checked="checked" name="ffp_timeline_photos" value="photos">
|
200 |
+
<label> <?php esc_html_e( 'Photos', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
201 |
<br>
|
202 |
<input type="checkbox" class="video_light_box" id="ffp_timeline_videos"
|
203 |
name="ffp_timeline_videos" value="videos" disabled>
|
204 |
+
<label> <?php esc_html_e( 'Videos', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
205 |
<br>
|
206 |
<input type="checkbox" class="video_light_box" id="ffp_timeline_links"
|
207 |
name="ffp_timeline_links" value="links" disabled>
|
208 |
+
<label> <?php esc_html_e( 'Links', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
209 |
<br>
|
210 |
<input type="hidden" class="video_light_box" id="ffp_timeline_events"
|
211 |
name="ffp_timeline_events" value="events" disabled>
|
212 |
+
<label style="display:none;"> <?php esc_html_e( 'Events', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
213 |
</div>
|
214 |
</div>
|
215 |
</div>
|
216 |
<div class="row">
|
217 |
<div class="col-md-6">
|
218 |
+
<label class="ffp_font_bold"> <?php esc_html_e( 'Hover Effect', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
219 |
</div>
|
220 |
<div class="col-md-6">
|
221 |
<select name="ffp_gallery_effect" id="ffp_gallery_effect" class="form-control"
|
222 |
disabled>
|
223 |
+
<option value="gallery_effect_1"><?php esc_html_e( '60+ Image Effects', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
224 |
</option>
|
225 |
</select>
|
226 |
+
<p class="description"><?php esc_html_e( 'Available in pro version.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
227 |
</p>
|
228 |
</div>
|
229 |
</div>
|
239 |
<div class="col-md-12 no-pad">
|
240 |
<div class="row">
|
241 |
<div class="col-md-6">
|
242 |
+
<label class="ffp_font_bold"><?php esc_html_e( 'Hover color', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
243 |
</div>
|
244 |
<div class="col-md-6">
|
245 |
<input type="text" class="weblizar-feed-color-picker" name="ffp_hover_color"
|
246 |
+
id="ffp_hover_color" value="
|
247 |
+
<?php
|
248 |
+
if ( isset( $ffp_hover_color ) ) {
|
249 |
+
echo esc_attr( $ffp_hover_color );
|
250 |
+
} else {
|
251 |
+
echo esc_attr( '#2e2c2c' );
|
252 |
+
}
|
253 |
+
?>
|
254 |
+
" />
|
255 |
+
<p class="description"><?php esc_html_e( 'Choose feed hover color.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
256 |
</p>
|
257 |
</div>
|
258 |
</div>
|
260 |
<div class="col-md-12 no-pad">
|
261 |
<div class="row">
|
262 |
<div class="col-md-6">
|
263 |
+
<label class="ffp_font_bold"> <?php esc_html_e( 'Number of posts:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
264 |
</div>
|
265 |
<div class="col-md-6">
|
266 |
+
<input type="number" min="1" max="50" id="ffp_limit" name="ffp_limit" value="
|
267 |
+
<?php
|
268 |
+
if ( isset( $ffp_limit ) ) {
|
269 |
+
echo esc_attr( $ffp_limit );
|
270 |
+
} else {
|
271 |
+
echo esc_attr( '5' );
|
272 |
+
}
|
273 |
+
?>
|
274 |
+
">
|
275 |
</div>
|
276 |
</div>
|
277 |
</div>
|
278 |
<div class="col-md-12 no-pad">
|
279 |
<div class="row">
|
280 |
<div class="col-md-6">
|
281 |
+
<label class="ffp_font_bold"> <?php esc_html_e( 'Loading effect:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
282 |
</div>
|
283 |
<div class="col-md-6">
|
284 |
<select id="ffp_loading_effect" disabled name="ffp_loading_effect">
|
285 |
+
<option value="none"> <?php esc_html_e( 'None', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
286 |
</option>
|
287 |
</select>
|
288 |
+
<p class="description"><?php esc_html_e( 'Available in pro version.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
289 |
</p>
|
290 |
</div>
|
291 |
</div>
|
293 |
<div class="col-md-12 no-pad">
|
294 |
<div class="row">
|
295 |
<div class="col-md-6 ">
|
296 |
+
<label class="ffp_font_bold"><?php esc_html_e( 'Show Header:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
297 |
</div>
|
298 |
<div class="col-md-6">
|
299 |
+
<input type="checkbox" <?php if ( $ffp_header_check == 'yes' ) { ?>
|
300 |
checked="checked" <?php } ?> id="ffp_header_check"
|
301 |
name="ffp_header_check" value="yes" >
|
302 |
+
<p class="description"><?php esc_html_e( 'Do you want to show cover image.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
303 |
</p>
|
304 |
</div>
|
305 |
</div>
|
307 |
<div class="col-md-12 no-pad timeline_content" style="display:none">
|
308 |
<div class="row">
|
309 |
<div class="col-md-6">
|
310 |
+
<label class="ffp_font_bold"> <?php esc_html_e( 'Select layout:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
311 |
</label>
|
312 |
</div>
|
313 |
+
<?php
|
314 |
+
if ( ( ! isset( $ffp_timeline_layout ) ) ) {
|
315 |
+
$ffp_timeline_layout = 'full_width';
|
316 |
+
}
|
317 |
+
?>
|
318 |
<div class="col-md-6">
|
319 |
<select id="ffp_timeline_layout" name="ffp_timeline_layout">
|
320 |
<optgroup label="Select layout">
|
321 |
+
<option value="full_width" <?php selected( $ffp_timeline_layout, 'full_width' ); ?>>
|
322 |
+
<?php esc_html_e( 'Full-width', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
323 |
</option>
|
324 |
+
<option value="half_width" <?php selected( $ffp_timeline_layout, 'half_width' ); ?>>
|
325 |
+
<?php esc_html_e( 'Half-width', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
326 |
</option>
|
327 |
+
<option value="thumbnail" <?php selected( $ffp_timeline_layout, 'thumbnail' ); ?>>
|
328 |
+
<?php esc_html_e( 'Thumbnail', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
329 |
</option>
|
330 |
</optgroup>
|
331 |
</select>
|
332 |
+
<p class="description"><?php esc_html_e( 'Select time-line(Posts) layout.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
333 |
</p>
|
334 |
</div>
|
335 |
</div>
|
337 |
<div class="col-md-12 no-pad">
|
338 |
<div class="row">
|
339 |
<div class="col-md-6">
|
340 |
+
<label class="ffp_font_bold"><?php esc_html_e( 'Light Box Styles', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
341 |
</div>
|
342 |
<div class="col-md-6">
|
343 |
<select name="ffp_light_Box" id="ffp_light_Box">
|
344 |
<optgroup label="Select Light Box">
|
345 |
+
<option value="custom_box"><?php esc_html_e( 'Custom Box', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
346 |
</option>
|
347 |
+
<option value="custom_box"><?php esc_html_e( ' 8+Light-Box Layouts available in Pro', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
348 |
</option>
|
349 |
</optgroup>
|
350 |
</select>
|
351 |
+
<p class="description"><?php esc_html_e( 'Select lightbox Styles.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>.
|
352 |
</p>
|
353 |
<input type="hidden" name="feed_security" id="feed_security"
|
354 |
+
value="<?php echo esc_attr( $feed_security_action_nonce ); ?>" />
|
355 |
</div>
|
356 |
</div>
|
357 |
</div>
|
362 |
<div class="col-md-12 col-sm-12 col-xs-12 plugin_desc form-group">
|
363 |
<div class="row">
|
364 |
<div class="col-md-1">
|
365 |
+
<label class="ffp_font_bold"><?php esc_html_e( 'Custom Css', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></label>
|
366 |
</div>
|
367 |
<div class="col-md-11">
|
368 |
<textarea class="form-control" name="feed_customs_css" id="feed_customs_css"
|
369 |
placeholder="Custom Css"
|
370 |
+
rows="8"><?php echo esc_html( $feed_customs_css ); ?></textarea>
|
371 |
</div>
|
372 |
</div>
|
373 |
</div>
|
376 |
</form>
|
377 |
<div class="col-md-12">
|
378 |
<button type="button" name="button" class="button-face-feed"
|
379 |
+
onclick="save_feed_general('<?php echo esc_attr( $feed_security_action_nonce ); ?>')">
|
380 |
+
<?php esc_html_e( 'Save', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></button>
|
381 |
<div style="text-align:center;">
|
382 |
<img id="loading-image"
|
383 |
+
src="<?php echo esc_url( WEBLIZAR_FACEBOOK_PLUGIN_URL . 'images/loader.gif' ); ?>"
|
384 |
+
alt="<?php esc_attr_e( 'Weblizar', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>"
|
385 |
height="200" style="margin-top:-10px; margin-right:10px;" alt="Loading..."
|
386 |
class="admin_loading_css" />
|
387 |
</div>
|
388 |
<div class="success-msg" style="display:none;">
|
389 |
<div class="alert alert-success">
|
390 |
+
<strong><?php esc_html_e( 'Success!', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?></strong>
|
391 |
+
<?php esc_html_e( 'Data Save Successfully.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
392 |
</div>
|
393 |
</div>
|
394 |
<div style="clear:both"></div>
|
395 |
</div>
|
396 |
<div class="col-md-12 col-sm-12 col-xs-12 form-group plugin_desc">
|
397 |
+
<h1 class="feed_plugin_details"><?php esc_html_e( 'Plugin Shortcode', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
398 |
</h1>
|
399 |
+
<p style="font-size: 15px;line-height: 1.5;"><?php esc_html_e( 'copy this shortcode', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
400 |
+
<strong><b>[facebook_feed]</b></strong> <?php esc_html_e( 'to any page, post or widget where you want to showcase your Facebook feed.', WEBLIZAR_FACEBOOK_TEXT_DOMAIN ); ?>
|
401 |
</p>
|
402 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
403 |
</div>
|
404 |
<div class="clearfix"></div>
|
405 |
</div>
|
407 |
jQuery(document).ready(function() {
|
408 |
jQuery('input.weblizar-feed-color-picker').wpColorPicker();
|
409 |
});
|
410 |
+
</script>
|
function/help-body.php
CHANGED
@@ -682,12 +682,3 @@
|
|
682 |
</div>
|
683 |
</div>
|
684 |
</div>
|
685 |
-
<div class="block ui-tabs-panel deactive" id="option-fbadmin">
|
686 |
-
<div class="row-fluid facebook-feed-pro-image">
|
687 |
-
<div class="col-md-12"> <a href="http://demo.weblizar.com/facebook-feed-pro/" target="_blank"><img
|
688 |
-
class="img-fluid"
|
689 |
-
src="<?php echo esc_url(WEBLIZAR_FACEBOOK_PLUGIN_URL.'images/feed-tab-img.jpg'); ?>"
|
690 |
-
class="img-responsive" /></a>
|
691 |
-
</div>
|
692 |
-
</div>
|
693 |
-
</div>
|
682 |
</div>
|
683 |
</div>
|
684 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
images/available-pro.jpg
DELETED
Binary file
|
images/available-pro.png
DELETED
Binary file
|
images/background.png
DELETED
Binary file
|
images/facebook-full-feature.jpg
DELETED
Binary file
|
images/fb_pro.jpg
DELETED
Binary file
|
images/feed-tab-img.jpg
DELETED
Binary file
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
|
|
3 |
Donate link: https://www.weblizar.com/
|
4 |
Tags: facebook, facebook feed, facebook like box, facebook posts, facebook page, FaceBook posts, facebook widget, FaceBook profile, FaceBook group, facebook page feed, facebook page like box, feed, likebox
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -216,6 +216,10 @@ For more information, see [Weblizar](https://weblizar.com/) .
|
|
216 |
|
217 |
== Changelog ==
|
218 |
|
|
|
|
|
|
|
|
|
219 |
= 2.9.9 = [23-07-2021]
|
220 |
* Tested upto WordPess 5.8.2
|
221 |
* CSS optimized
|
3 |
Donate link: https://www.weblizar.com/
|
4 |
Tags: facebook, facebook feed, facebook like box, facebook posts, facebook page, FaceBook posts, facebook widget, FaceBook profile, FaceBook group, facebook page feed, facebook page like box, feed, likebox
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 5.9.2
|
7 |
+
Stable tag: 3.0.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
216 |
|
217 |
== Changelog ==
|
218 |
|
219 |
+
= 3.0.0 = [01-04-2022]
|
220 |
+
* tested upto wordpress 5.9.2
|
221 |
+
* Minor changes in dashboard.
|
222 |
+
|
223 |
= 2.9.9 = [23-07-2021]
|
224 |
* Tested upto WordPess 5.8.2
|
225 |
* CSS optimized
|