WD Facebook Feed – Custom Facebook Feed Plugin - Version 1.0.34

Version Description

  • Fixed: Bug on video post
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Facebook Feed – Custom Facebook Feed Plugin
Version 1.0.34
Comparing to
See all releases

Code changes from version 1.0.33 to 1.0.34

facebook-feed-wd.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: WD Facebook Feed
5
  * Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
6
  * Description:WD Facebook Feed is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
7
- * Version: 1.0.33
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -1000,7 +1000,7 @@ if ( !function_exists('wd_bps_install_notice_status') ) {
1000
 
1001
  function ffwd_version() {
1002
 
1003
- $version = '1.0.33';
1004
 
1005
  if ( get_option( 'ffwd_version' ) === false ) {
1006
  add_option( 'ffwd_version', $version );
4
  * Plugin Name: WD Facebook Feed
5
  * Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
6
  * Description:WD Facebook Feed is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
7
+ * Version: 1.0.34
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
1000
 
1001
  function ffwd_version() {
1002
 
1003
+ $version = '1.0.34';
1004
 
1005
  if ( get_option( 'ffwd_version' ) === false ) {
1006
  add_option( 'ffwd_version', $version );
framework/WDFacebookFeed.php CHANGED
@@ -44,6 +44,7 @@ class WDFacebookFeed {
44
  '209804229584368|3a2d59f876e0df3d42d829f8a1569636',
45
  '522842584751334|de7e0895060a9e2bf6e972a17626ce1d',
46
  '623116398019349|4d4c0f3404ce3baa9d07d525be0f2d65',
 
47
  '462859190728873|55b52362578b8475e12486816fba3b08',
48
  '1907658946156725|772c0f8e45a3e7ce70e66a93763e3c1e',
49
  '1856176344702073|518810088891d8dd77f65519909e1552',
44
  '209804229584368|3a2d59f876e0df3d42d829f8a1569636',
45
  '522842584751334|de7e0895060a9e2bf6e972a17626ce1d',
46
  '623116398019349|4d4c0f3404ce3baa9d07d525be0f2d65',
47
+ '155873221861806|41c4c1b3df8ac8ed12dd5f7204abf1e6',
48
  '462859190728873|55b52362578b8475e12486816fba3b08',
49
  '1907658946156725|772c0f8e45a3e7ce70e66a93763e3c1e',
50
  '1856176344702073|518810088891d8dd77f65519909e1552',
frontend/views/FFWDViewBlog_style.php CHANGED
@@ -1183,7 +1183,7 @@ class FFWDViewBlog_style {
1183
  $href = ($ffwd_data_row->type == 'link') ? $ffwd_data_row->link : "";
1184
  $link_to_facebook = ($ffwd_data_row->link != "" && $ffwd_data_row->type != "link" && $ffwd_data_row->type != "video") ? $ffwd_data_row->link : "https://www.facebook.com/".$ffwd_data_row->object_id;
1185
 
1186
- if($ffwd_info['image_onclick_action']=='facebook')
1187
  {
1188
  $href=$link_to_facebook;
1189
 
@@ -1199,7 +1199,7 @@ class FFWDViewBlog_style {
1199
  <div class="blog_style_image_container_<?php echo $ffwd;?>">
1200
  <div class="ffwd_blog_style_object_ver_<?php echo $ffwd; ?>" >
1201
  <div class="ffwd_blog_style_object_ver_al_<?php echo $ffwd; ?>">
1202
- <a style="position:relative;" class="<?php echo $class_name; ?>" href="<?php echo $href; ?>" data-id="<?php echo $ffwd_data_row->id; ?>" >
1203
  <div class="bwg_blog_style_img_cont_<?php echo $ffwd; ?>">
1204
  <img id="ffwd_blog_style_img_<?php echo $ffwd_data_row->id; ?>_<?php echo $ffwd; ?>" class="ffwd_blog_style_img_<?php echo $ffwd; ?>" src="<?php echo $src; ?>" />
1205
  <?php if($ffwd_data_row->type == 'video'): ?>
@@ -1378,7 +1378,12 @@ class FFWDViewBlog_style {
1378
  function ffwd_document_ready_<?php echo $ffwd; ?>() {
1379
  <?php if($ffwd_info['image_onclick_action']=='lightbox') { ?>
1380
 
1381
- jQuery("body").on("click", ".ffwd_lightbox_<?php echo $ffwd; ?>, .ffwd_play_icon_<?php echo $ffwd; ?>", function () {
 
 
 
 
 
1382
  ffwd_gallery_box_<?php echo $ffwd; ?>(jQuery(this).attr("data-id"));
1383
  return false;
1384
  });
1183
  $href = ($ffwd_data_row->type == 'link') ? $ffwd_data_row->link : "";
1184
  $link_to_facebook = ($ffwd_data_row->link != "" && $ffwd_data_row->type != "link" && $ffwd_data_row->type != "video") ? $ffwd_data_row->link : "https://www.facebook.com/".$ffwd_data_row->object_id;
1185
 
1186
+ if($ffwd_info['image_onclick_action']=='facebook' || $ffwd_data_row->type=='video')
1187
  {
1188
  $href=$link_to_facebook;
1189
 
1199
  <div class="blog_style_image_container_<?php echo $ffwd;?>">
1200
  <div class="ffwd_blog_style_object_ver_<?php echo $ffwd; ?>" >
1201
  <div class="ffwd_blog_style_object_ver_al_<?php echo $ffwd; ?>">
1202
+ <a style="position:relative;" class="<?php echo $class_name; ?>" href="<?php echo $href; ?>" <?php echo $ffwd_data_row->type=='video' ? 'data-type="video"' : '' ?> target="_blank" data-id="<?php echo $ffwd_data_row->id; ?>" >
1203
  <div class="bwg_blog_style_img_cont_<?php echo $ffwd; ?>">
1204
  <img id="ffwd_blog_style_img_<?php echo $ffwd_data_row->id; ?>_<?php echo $ffwd; ?>" class="ffwd_blog_style_img_<?php echo $ffwd; ?>" src="<?php echo $src; ?>" />
1205
  <?php if($ffwd_data_row->type == 'video'): ?>
1378
  function ffwd_document_ready_<?php echo $ffwd; ?>() {
1379
  <?php if($ffwd_info['image_onclick_action']=='lightbox') { ?>
1380
 
1381
+ jQuery("body").on("click", ".ffwd_lightbox_<?php echo $ffwd; ?>", function () {
1382
+ if(jQuery(this).attr("data-type")=='video')
1383
+ {
1384
+ return true;
1385
+ }
1386
+
1387
  ffwd_gallery_box_<?php echo $ffwd; ?>(jQuery(this).attr("data-id"));
1388
  return false;
1389
  });
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: customizable facebook feed, facebook, facebook events, facebook feed, face
4
  Requires at least: 3.4
5
  Requires PHP: 5.2
6
  Tested up to: 4.9
7
- Stable tag: 1.0.33
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -99,6 +99,9 @@ If you think you found a bug in WD Facebook Feed or have any problem/question co
99
 
100
  == Changelog ==
101
 
 
 
 
102
  = 1.0.33 =
103
  * Fixed: Empty post bug
104
  * Changed: Default API keys
4
  Requires at least: 3.4
5
  Requires PHP: 5.2
6
  Tested up to: 4.9
7
+ Stable tag: 1.0.34
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
99
 
100
  == Changelog ==
101
 
102
+ = 1.0.34 =
103
+ * Fixed: Bug on video post
104
+
105
  = 1.0.33 =
106
  * Fixed: Empty post bug
107
  * Changed: Default API keys