Responsive Facebook Page Plugin - Version 1.4.1

Version Description

  • Fixing shortcode generator using posts instead of tabs
Download this release

Release Info

Developer cameronjonesweb
Plugin Icon 128x128 Responsive Facebook Page Plugin
Version 1.4.1
Comparing to
See all releases

Code changes from version 1.4.0 to 1.4.1

facebook-page-feed-graph-api.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Facebook Page Plugin
4
  * Plugin URI: https://cameronjones.x10.mx/projects/facebook-page-plugin
5
  * Description: It's time to upgrade from your old like box! Display the Facebook Page Plugin from the Graph API using a shortcode or widget. Now available in 95 different languages
6
- * Version: 1.4.0
7
  * Author: Cameron Jones
8
  * Author URI: http://cameronjones.x10.mx
9
  * License: GPLv2
@@ -51,8 +51,8 @@ function facebook_page_plugin( $filter ) {
51
  ), $filter );
52
  if(isset($a['href']) && !empty($a['href'])){
53
  $a['language'] = str_replace("-", "_", $a['language']);
54
- $return .= '<div id="fb-root" data-version="1.4.0"></div><script async>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/' . $a['language'] . '/sdk.js#xfbml=1&version=v2.4";fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script>';
55
- $return .= '<div class="fb-page" data-version="1.4.0" data-href="https://facebook.com/' . $a["href"] . '" ';
56
  if(isset($a['width']) && !empty($a['width'])){
57
  $return .= ' data-width="' . $a['width'] . '"';
58
  }
3
  * Plugin Name: Facebook Page Plugin
4
  * Plugin URI: https://cameronjones.x10.mx/projects/facebook-page-plugin
5
  * Description: It's time to upgrade from your old like box! Display the Facebook Page Plugin from the Graph API using a shortcode or widget. Now available in 95 different languages
6
+ * Version: 1.4.1
7
  * Author: Cameron Jones
8
  * Author URI: http://cameronjones.x10.mx
9
  * License: GPLv2
51
  ), $filter );
52
  if(isset($a['href']) && !empty($a['href'])){
53
  $a['language'] = str_replace("-", "_", $a['language']);
54
+ $return .= '<div id="fb-root" data-version="1.4.1"></div><script async>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/' . $a['language'] . '/sdk.js#xfbml=1&version=v2.4";fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script>';
55
+ $return .= '<div class="fb-page" data-version="1.4.1" data-href="https://facebook.com/' . $a["href"] . '" ';
56
  if(isset($a['width']) && !empty($a['width'])){
57
  $return .= ' data-width="' . $a['width'] . '"';
58
  }
js/facebook-page-plugin-admin.js CHANGED
@@ -25,8 +25,8 @@
25
  $shortcode += 'cover="' + $cover + '" ';
26
  var $facepile = $('#fbpp-facepile').prop("checked");
27
  $shortcode += 'facepile="' + $facepile + '" ';
28
- var $posts = $('#fbpp-posts').prop("checked");
29
- $shortcode += 'posts="' + $posts + '" ';
30
  var $cta = $('#fbpp-cta').prop("checked");
31
  $shortcode += 'cta="' + $cta + '" ';
32
  var $small = $('#fbpp-small').prop("checked");
25
  $shortcode += 'cover="' + $cover + '" ';
26
  var $facepile = $('#fbpp-facepile').prop("checked");
27
  $shortcode += 'facepile="' + $facepile + '" ';
28
+ var $tabs = $('#fbpp-tabs').val();
29
+ $shortcode += 'tabs="' + $tabs + '" ';
30
  var $cta = $('#fbpp-cta').prop("checked");
31
  $shortcode += 'cta="' + $cta + '" ';
32
  var $small = $('#fbpp-small').prop("checked");
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Facebook Page Plugin ===
2
  Contributors: cameronjonesweb
3
- Tags: facebook,social,like,facepile,activity feed,recommendations,shortcode,widget,shortcode generator,plugin,admin,sidebar,facebook page,multilingual,like box,facebook like box
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WLV5HPHSPM2BG&lc=AU&item_name=Cameron%20Jones%20Web%20Development�cy_code=AUD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 4.0
6
- Tested up to: 4.3
7
- Stable tag: 1.4.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10
 
@@ -106,6 +106,9 @@ Chances are your plugin isn't tall enough to display the facepile properly. The
106
 
107
  == Changelog ==
108
 
 
 
 
109
  = 1.4.0 =
110
  * Options to remove and customise the page link that displays while the plugin loads
111
  * Fixed `undefined index` error when adding a new instance of the plugin in the customizer
1
  === Facebook Page Plugin ===
2
  Contributors: cameronjonesweb
3
+ Tags: facebook,social,like,facepile,activity feed,recommendations,shortcode,widget,shortcode generator,plugin,admin,sidebar,facebook page,multilingual,like box,facebook like box,facebook page plugin, facebook feed, facebook plugin
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WLV5HPHSPM2BG&lc=AU&item_name=Cameron%20Jones%20Web%20Development�cy_code=AUD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 4.0
6
+ Tested up to: 4.3.1
7
+ Stable tag: 1.4.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10
 
106
 
107
  == Changelog ==
108
 
109
+ = 1.4.1 =
110
+ * Fixing shortcode generator using posts instead of tabs
111
+
112
  = 1.4.0 =
113
  * Options to remove and customise the page link that displays while the plugin loads
114
  * Fixed `undefined index` error when adding a new instance of the plugin in the customizer