Feed & LikeBox For Facebook - Version 2.7.8

Version Description

[15-12-2018] * Fix see more button issue on custom box * Version update and Compatible upto wp 5.0.1

Download this release

Release Info

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

Code changes from version 2.7.7 to 2.7.8

facebook-by-weblizar.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Feed & LikeBox For Facebook
4
- * Version: 2.7.7
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.7.8
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 { }
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) {
@@ -31,7 +31,11 @@ if (strpos($ffp_page_url, '?') !== true) {
31
  }
32
 
33
  //deafult token for page
 
34
  $token=$ffp_page_id;
 
 
 
35
  //header curl url
36
  $header_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access_token=".$token."&fields=fan_count,cover,picture.width(300),name,link";
37
  //page curl url
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) {
31
  }
32
 
33
  //deafult token for page
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";
41
  //page curl url
function/facebook-feed-shortcode.php CHANGED
@@ -268,7 +268,8 @@ require("facebook-feed-shortcode-data.php");
268
  <script>
269
  jQuery(document).ready(function()
270
  {
271
- jQuery(".facebook_feed_more_page").click(function()
 
272
  {
273
  jQuery(this).siblings('.weblizar_fb_complete').toggle();
274
  jQuery(this).siblings('.weblizar_fb_teaser').toggle();
268
  <script>
269
  jQuery(document).ready(function()
270
  {
271
+ //jQuery(".facebook_feed_more_page").click(function()
272
+ jQuery(document).on('click', '.facebook_feed_more_page', function()
273
  {
274
  jQuery(this).siblings('.weblizar_fb_complete').toggle();
275
  jQuery(this).siblings('.weblizar_fb_teaser').toggle();
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: 4.9.8
7
- Stable tag: 2.7.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -212,10 +212,13 @@ Go to admin dashboard => appearance => widgets => Here are available our two fac
212
  6. Facebook Page Like Box and Feed preview on site
213
  7. Facebook Feeds preview on site sidebar.
214
 
215
- == Changelog ==
216
-
217
  For more information, see [Weblizar](https://weblizar.com/) .
218
 
 
 
 
 
 
219
  = 2.7.7 = [21-11-2018]
220
  1. Facebook Access Token field added.
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.0.1
7
+ Stable tag: 2.7.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
212
  6. Facebook Page Like Box and Feed preview on site
213
  7. Facebook Feeds preview on site sidebar.
214
 
 
 
215
  For more information, see [Weblizar](https://weblizar.com/) .
216
 
217
+ == Changelog ==
218
+ = 2.7.8 = [15-12-2018]
219
+ * Fix see more button issue on custom box
220
+ * Version update and Compatible upto wp 5.0.1
221
+
222
  = 2.7.7 = [21-11-2018]
223
  1. Facebook Access Token field added.
224