Version Description
- WP 4.2.3 Compatibility
- Upgrading to Graph API 2.4
Download this release
Release Info
Developer | cameronjonesweb |
Plugin | Responsive Facebook Page Plugin |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- facebook-page-feed-graph-api.php +4 -4
- readme.txt +5 -2
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 136 different languages
|
6 |
-
* Version: 1.3.
|
7 |
* Author: Cameron Jones
|
8 |
* Author URI: http://cameronjones.x10.mx
|
9 |
* License: GPLv2
|
@@ -47,8 +47,8 @@ function facebook_page_plugin( $filter ) {
|
|
47 |
), $filter );
|
48 |
if(isset($a['href']) && !empty($a['href'])){
|
49 |
$a['language'] = str_replace("-", "_", $a['language']);
|
50 |
-
$return .= '<div id="fb-root" data-version="1.3.
|
51 |
-
$return .= '<div class="fb-page" data-version="1.3.
|
52 |
if(isset($a['width']) && !empty($a['width'])){
|
53 |
$return .= ' data-width="' . $a['width'] . '"';
|
54 |
}
|
@@ -79,7 +79,7 @@ function facebook_page_plugin( $filter ) {
|
|
79 |
} else {
|
80 |
$return .= ' data-adapt-container-width="false"';
|
81 |
}
|
82 |
-
$return .= '></div>';
|
83 |
}
|
84 |
return $return;
|
85 |
}
|
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 136 different languages
|
6 |
+
* Version: 1.3.2
|
7 |
* Author: Cameron Jones
|
8 |
* Author URI: http://cameronjones.x10.mx
|
9 |
* License: GPLv2
|
47 |
), $filter );
|
48 |
if(isset($a['href']) && !empty($a['href'])){
|
49 |
$a['language'] = str_replace("-", "_", $a['language']);
|
50 |
+
$return .= '<div id="fb-root" data-version="1.3.2"></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&appId=191521884244670";fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script>';
|
51 |
+
$return .= '<div class="fb-page" data-version="1.3.2" data-href="https://facebook.com/' . $a["href"] . '" ';
|
52 |
if(isset($a['width']) && !empty($a['width'])){
|
53 |
$return .= ' data-width="' . $a['width'] . '"';
|
54 |
}
|
79 |
} else {
|
80 |
$return .= ' data-adapt-container-width="false"';
|
81 |
}
|
82 |
+
$return .= '><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/' . $a['href'] . '"><a href="https://www.facebook.com/' . $a['href'] . '">' . $a['href'] . '</a></blockquote></div></div>';
|
83 |
}
|
84 |
return $return;
|
85 |
}
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ 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.2.
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
10 |
|
@@ -92,6 +92,9 @@ Shortcodes were introduced in WordPress 2.5, so theorectially it should work on
|
|
92 |
3. The new shortcode generator dashboard widget
|
93 |
|
94 |
== Changelog ==
|
|
|
|
|
|
|
95 |
= 1.3.0 =
|
96 |
* Added hide-cta, small-header and adapt-container-width settings
|
97 |
* Adjusted min height and width
|
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.2.3
|
7 |
+
Stable tag: 1.3.2
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
10 |
|
92 |
3. The new shortcode generator dashboard widget
|
93 |
|
94 |
== Changelog ==
|
95 |
+
= 1.3.2 =
|
96 |
+
* WP 4.2.3 Compatibility
|
97 |
+
* Upgrading to Graph API 2.4
|
98 |
= 1.3.0 =
|
99 |
* Added hide-cta, small-header and adapt-container-width settings
|
100 |
* Adjusted min height and width
|