Feed & LikeBox For Facebook - Version 2.8.0

Version Description

[06-04-2019] 1. Version update and Compatible with wp 5.1.1 2. Pro setting banner updated 3. Some minor changes

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Feed & LikeBox For Facebook
Version 2.8.0
Comparing to
See all releases

Code changes from version 2.7.9 to 2.8.0

css/weblizar-option-style.css CHANGED
@@ -1407,4 +1407,7 @@ user-select: none;
1407
  .feed_setting_page .wp-color-result-text
1408
  {
1409
  font-size: 10px !important;
 
 
 
1410
  }
1407
  .feed_setting_page .wp-color-result-text
1408
  {
1409
  font-size: 10px !important;
1410
+ }
1411
+ select#ffp_light_Box {
1412
+ width: 220px;
1413
  }
facebook-by-weblizar.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Feed & LikeBox For Facebook
4
- * Version: 2.7.9
5
  * Description: Display the Facebook Feed and Like box on your website. Its completely customizable, responsive and search engine optimization feeds contents.
6
  * Author: Weblizar
7
  * Author URI: https://www.weblizar.com
1
  <?php
2
  /**
3
  * Plugin Name: Feed & LikeBox For Facebook
4
+ * Version: 2.8.0
5
  * Description: Display the Facebook Feed and Like box on your website. Its completely customizable, responsive and search engine optimization feeds contents.
6
  * Author: Weblizar
7
  * Author URI: https://www.weblizar.com
function/facebook-feed-shortcode-data.php CHANGED
@@ -19,7 +19,7 @@ if($ffp_timeline_layout=='full_width') { $layout1="col-md-12";$layout2="col-md-1
19
  if($ffp_timeline_layout=='half_width') { $layout1="col-md-6";$layout2="col-md-6"; }
20
  if($ffp_timeline_layout=='thumbnail') { $layout1="col-md-9";$layout2="col-md-3"; }
21
  //facebook page id
22
- if(isset($facebook_feed_fetch["ffp_page_id"])){ $ffp_page_id=$facebook_feed_fetch["ffp_page_id"]; } else { $ffp_page_id="EAAHeyZC0u3K4BALVHXtqhk29ce0jNrPWZBKWUHM2sJbnZClFQPhR2uPM9ZCVFaaOqTtp7GDECttbk7Y8LIC1DSadcamATwmNky4OMpDWU1LrckHo6KMmF5hnFBZB8tmRrShCaYVLIgiNPOhMI7uZAWR6vgZAsVYWZBmqOjiQm9peUp4TZCgxf1JxlZAuryKXIaT6qedZBcgAlm9TwZDZD"; }
23
 
24
  $ffp_page_url=str_replace(['https://www.facebook.com/','https://facebook.com/','facebook.com/'],'',$ffp_page_url);
25
  if (strpos($ffp_page_url, '/') !== true) {
@@ -34,7 +34,7 @@ if (strpos($ffp_page_url, '?') !== true) {
34
 
35
  $token=$ffp_page_id;
36
  if($ffp_page_id=="") {
37
- $token="EAAHeyZC0u3K4BALVHXtqhk29ce0jNrPWZBKWUHM2sJbnZClFQPhR2uPM9ZCVFaaOqTtp7GDECttbk7Y8LIC1DSadcamATwmNky4OMpDWU1LrckHo6KMmF5hnFBZB8tmRrShCaYVLIgiNPOhMI7uZAWR6vgZAsVYWZBmqOjiQm9peUp4TZCgxf1JxlZAuryKXIaT6qedZBcgAlm9TwZDZD";
38
  }
39
  //header curl url
40
  $header_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access_token=".$token."&fields=fan_count,cover,picture.width(300),name,link";
19
  if($ffp_timeline_layout=='half_width') { $layout1="col-md-6";$layout2="col-md-6"; }
20
  if($ffp_timeline_layout=='thumbnail') { $layout1="col-md-9";$layout2="col-md-3"; }
21
  //facebook page id
22
+ if(isset($facebook_feed_fetch["ffp_page_id"])){ $ffp_page_id=$facebook_feed_fetch["ffp_page_id"]; } else { $ffp_page_id="EAAETHMFXDyMBAJOSHSUgQrkC2y7aoTHKZCwr5hzZAUDjDWD36RqqdCg5sclue9SXIrh5HHkXuc5wV4MCSgcZBLMeWC5lZAQAqXZCFzxSZBSfDrAzFaAVCxgNPTQnA3QhrXbvJPednCma5IwcJPjlT1BacrQm1n0hgqkhylPwW4SgZDZD"; }
23
 
24
  $ffp_page_url=str_replace(['https://www.facebook.com/','https://facebook.com/','facebook.com/'],'',$ffp_page_url);
25
  if (strpos($ffp_page_url, '/') !== true) {
34
 
35
  $token=$ffp_page_id;
36
  if($ffp_page_id=="") {
37
+ $token="EAAETHMFXDyMBAJOSHSUgQrkC2y7aoTHKZCwr5hzZAUDjDWD36RqqdCg5sclue9SXIrh5HHkXuc5wV4MCSgcZBLMeWC5lZAQAqXZCFzxSZBSfDrAzFaAVCxgNPTQnA3QhrXbvJPednCma5IwcJPjlT1BacrQm1n0hgqkhylPwW4SgZDZD";
38
  }
39
  //header curl url
40
  $header_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access_token=".$token."&fields=fan_count,cover,picture.width(300),name,link";
function/facebook-feed.php CHANGED
@@ -46,7 +46,7 @@ if(isset($facebook_feed_fetch["ffp_page_id"])){ $ffp_page_id=$facebook_feed_fet
46
  </div>
47
  </div>
48
  <!-- facebook access token-->
49
- <div id="ffp_type_page" class="col-md-12 no-pad">
50
  <div>
51
  <div class="ffp_set_l col-md-6"><label> <?php _e('Facebook Access Token:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label></div>
52
  <div class="ffp_set_l col-md-6"><input type="text" id="ffp_page_id" name="ffp_page_id" value="<?php if(isset($ffp_page_id)) { echo $ffp_page_id;} else { } ?>" style="width:100%"></div>
@@ -55,10 +55,10 @@ if(isset($facebook_feed_fetch["ffp_page_id"])){ $ffp_page_id=$facebook_feed_fet
55
  </div>
56
  </div>
57
  <!-- fb type page -->
58
- <div id="ffp_type_page" class="col-md-12 no-pad">
59
  <div>
60
- <div class="ffp_set_l col-md-6"><label> <?php _e('Page url:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label></div>
61
- <div class="ffp_set_l col-md-6"><input type="text" id="ffp_page_url" name="ffp_page_url" value="<?php if(isset($ffp_page_url)) { echo $ffp_page_url;} else { echo "https:www.facebook.com/weblizarstyle/";} ?>" style="width:100%"></div>
62
  </div>
63
  </div>
64
  <!-- fb type group -->
@@ -106,8 +106,8 @@ if(isset($facebook_feed_fetch["ffp_page_id"])){ $ffp_page_id=$facebook_feed_fet
106
  <input type="checkbox" class="video_light_box" id="ffp_timeline_links" name="ffp_timeline_links" value="links" disabled >
107
  <label> <?php _e('Links', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label>
108
  <br>
109
- <input type="checkbox" class="video_light_box" id="ffp_timeline_events" name="ffp_timeline_events" value="events" disabled >
110
- <label style="display:inline-block;"> <?php _e('Events', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label>
111
  </div>
112
  </div>
113
  <div style="display:none;" class="col-md-12 no-pad specific_content">
46
  </div>
47
  </div>
48
  <!-- facebook access token-->
49
+ <div id="ffp_type_page" class="col-md-12 no-pad ffp_page_id" style="display: none;" >
50
  <div>
51
  <div class="ffp_set_l col-md-6"><label> <?php _e('Facebook Access Token:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label></div>
52
  <div class="ffp_set_l col-md-6"><input type="text" id="ffp_page_id" name="ffp_page_id" value="<?php if(isset($ffp_page_id)) { echo $ffp_page_id;} else { } ?>" style="width:100%"></div>
55
  </div>
56
  </div>
57
  <!-- fb type page -->
58
+ <div id="ffp_type_page" class="col-md-12 no-pad ffp_page_url" style="display:none;">
59
  <div>
60
+ <div class="ffp_set_l col-md-6"><label> <?php _e('Page ID:', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label></div>
61
+ <div class="ffp_set_l col-md-6"><input type="text" id="ffp_page_url" name="ffp_page_url" value="<?php if(isset($ffp_page_url)) { echo $ffp_page_url;} else { echo "574864029523311";} ?>" style="width:100%"></div>
62
  </div>
63
  </div>
64
  <!-- fb type group -->
106
  <input type="checkbox" class="video_light_box" id="ffp_timeline_links" name="ffp_timeline_links" value="links" disabled >
107
  <label> <?php _e('Links', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label>
108
  <br>
109
+ <input type="hidden" class="video_light_box" id="ffp_timeline_events" name="ffp_timeline_events" value="events" disabled >
110
+ <label style="display:none;"> <?php _e('Events', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></label>
111
  </div>
112
  </div>
113
  <div style="display:none;" class="col-md-12 no-pad specific_content">
function/help-body.php CHANGED
@@ -5,7 +5,7 @@
5
  <div class="col-md-6">
6
  <form name='fb-form' id='fb-form'>
7
  <p>
8
- <p><label><?php _e( 'Facebook Page URL', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?></label></p>
9
  <input class="widefat" id="facebook-page-url" name="facebook-page-url" type="text" value="<?php echo esc_attr( $FacebookPageUrl ); ?>">
10
  </p>
11
  <br>
5
  <div class="col-md-6">
6
  <form name='fb-form' id='fb-form'>
7
  <p>
8
+ <p><label><?php _e( 'Facebook Page URL or ID', WEBLIZAR_FACEBOOK_TEXT_DOMAIN); ?></label></p>
9
  <input class="widefat" id="facebook-page-url" name="facebook-page-url" type="text" value="<?php echo esc_attr( $FacebookPageUrl ); ?>">
10
  </p>
11
  <br>
images/available-pro.png CHANGED
Binary file
js/option-js.js CHANGED
@@ -149,20 +149,23 @@ jQuery(document).ready(function($) {
149
 
150
 
151
  if(jQuery( "select#feed_type option:checked" ).val()=='page')
152
- {
153
- jQuery("#ffp_type_page").show();
154
- jQuery("#ffp_type_group").hide();
 
155
  jQuery("#ffp_type_group_token").hide();
156
  }
157
  if(jQuery( "select#feed_type option:checked" ).val()=='group')
158
  {
159
- jQuery("#ffp_type_page").hide();
 
160
  jQuery("#ffp_type_group").show();
161
  jQuery("#ffp_type_group_token").show();
162
  }
163
  if(jQuery( "select#feed_type option:checked" ).val()=='profile')
164
  {
165
- jQuery("#ffp_type_page").hide();
 
166
  jQuery("#ffp_type_group").hide();
167
  jQuery("#ffp_type_group_token").show();
168
  }
@@ -242,19 +245,22 @@ jQuery(document).ready(function($) {
242
  console.log(jQuery("#ffp_type").val())
243
  if(jQuery("#feed_type").val()=='page')
244
  {
245
- jQuery("#ffp_type_page").show();
 
246
  jQuery("#ffp_type_group").hide();
247
  jQuery("#ffp_type_group_token").hide();
248
  }
249
  if(jQuery("#feed_type").val()=='group')
250
  {
251
- jQuery("#ffp_type_page").hide();
 
252
  jQuery("#ffp_type_group").show();
253
  jQuery("#ffp_type_group_token").show();
254
  }
255
  if(jQuery("#feed_type").val()=='profile')
256
  {
257
- jQuery("#ffp_type_page").hide();
 
258
  jQuery("#ffp_type_group").hide();
259
  jQuery("#ffp_type_group_token").show();
260
  }
149
 
150
 
151
  if(jQuery( "select#feed_type option:checked" ).val()=='page')
152
+ { ffp_page_id
153
+ jQuery(".ffp_page_url").show();
154
+ jQuery(".ffp_page_id").show();
155
+ jQuery("#ffp_type_group").hide();
156
  jQuery("#ffp_type_group_token").hide();
157
  }
158
  if(jQuery( "select#feed_type option:checked" ).val()=='group')
159
  {
160
+ jQuery(".ffp_page_url").hide();
161
+ jQuery(".ffp_page_id").hide();
162
  jQuery("#ffp_type_group").show();
163
  jQuery("#ffp_type_group_token").show();
164
  }
165
  if(jQuery( "select#feed_type option:checked" ).val()=='profile')
166
  {
167
+ jQuery(".ffp_page_url").hide();
168
+ jQuery(".ffp_page_id").hide();
169
  jQuery("#ffp_type_group").hide();
170
  jQuery("#ffp_type_group_token").show();
171
  }
245
  console.log(jQuery("#ffp_type").val())
246
  if(jQuery("#feed_type").val()=='page')
247
  {
248
+ jQuery(".ffp_page_url").show();
249
+ jQuery(".ffp_page_id").show();
250
  jQuery("#ffp_type_group").hide();
251
  jQuery("#ffp_type_group_token").hide();
252
  }
253
  if(jQuery("#feed_type").val()=='group')
254
  {
255
+ jQuery(".ffp_page_url").hide();
256
+ jQuery(".ffp_page_id").hide();
257
  jQuery("#ffp_type_group").show();
258
  jQuery("#ffp_type_group_token").show();
259
  }
260
  if(jQuery("#feed_type").val()=='profile')
261
  {
262
+ jQuery(".ffp_page_url").hide();
263
+ jQuery(".ffp_page_id").hide();
264
  jQuery("#ffp_type_group").hide();
265
  jQuery("#ffp_type_group_token").show();
266
  }
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.1
7
- Stable tag: 2.7.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -216,6 +216,11 @@ For more information, see [Weblizar](https://weblizar.com/) .
216
 
217
  == Changelog ==
218
 
 
 
 
 
 
219
  = 2.7.9 = [28-02-2019]
220
  1. Version update and Compatible with wp 5.1
221
 
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.1.1
7
+ Stable tag: 2.8.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
216
 
217
  == Changelog ==
218
 
219
+ = 2.8.0 = [06-04-2019]
220
+ 1. Version update and Compatible with wp 5.1.1
221
+ 2. Pro setting banner updated
222
+ 3. Some minor changes
223
+
224
  = 2.7.9 = [28-02-2019]
225
  1. Version update and Compatible with wp 5.1
226