Version Description
- Fixed posts option for widget
Download this release
Release Info
Developer | cameronjonesweb |
Plugin | Responsive Facebook Page Plugin |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.2
- facebook-page-feed-graph-api.php +5 -5
- readme.txt +7 -3
facebook-page-feed-graph-api.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Facebook Page Feed (Graph API)
|
4 |
* Plugin URI: https://cameronjones.x10.mx/projects/facebook-page-plugin
|
5 |
-
* Description: Display the Facebook Page Plugin from the Graph API.
|
6 |
-
* Version: 1.2.
|
7 |
* Author: Cameron Jones
|
8 |
* Author URI: http://cameronjones.x10.mx
|
9 |
* License: GPLv2
|
@@ -42,8 +42,8 @@ function facebook_page_plugin( $filter ) {
|
|
42 |
), $filter );
|
43 |
if(isset($a['href']) && !empty($a['href'])){
|
44 |
$a['language'] = str_replace("-", "_", $a['language']);
|
45 |
-
$return .= '<div id="fb-root" data-version="1.2.
|
46 |
-
$return .= '<div class="fb-page" data-version="1.2.
|
47 |
if(isset($a['width']) && !empty($a['width'])){
|
48 |
$return .= ' data-width="' . $a['width'] . '"';
|
49 |
}
|
@@ -259,7 +259,7 @@ class facebook_page_plugin_widget extends WP_Widget {
|
|
259 |
echo '<label for="<?php' . $this->get_field_id( 'posts' ) . '">';
|
260 |
echo _e( 'Show Posts:' );
|
261 |
echo '</label>';
|
262 |
-
echo ' <input class="widefat" id="' . $this->get_field_id( 'posts' ) . '" name="' . $this->get_field_name( '
|
263 |
echo '</p>';
|
264 |
echo '<p>';
|
265 |
echo '<label for="<?php' . $this->get_field_id( 'language' ) . '">';
|
2 |
/**
|
3 |
* Plugin Name: Facebook Page Feed (Graph API)
|
4 |
* Plugin URI: https://cameronjones.x10.mx/projects/facebook-page-plugin
|
5 |
+
* Description: Display the Facebook Page Plugin from the Graph API using a shortcode or widget. Now available in 136 different languages
|
6 |
+
* Version: 1.2.2
|
7 |
* Author: Cameron Jones
|
8 |
* Author URI: http://cameronjones.x10.mx
|
9 |
* License: GPLv2
|
42 |
), $filter );
|
43 |
if(isset($a['href']) && !empty($a['href'])){
|
44 |
$a['language'] = str_replace("-", "_", $a['language']);
|
45 |
+
$return .= '<div id="fb-root" data-version="1.2.2"></div><script>(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&appId=191521884244670&version=v2.3";fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script>';
|
46 |
+
$return .= '<div class="fb-page" data-version="1.2.2" data-href="https://facebook.com/' . $a["href"] . '" ';
|
47 |
if(isset($a['width']) && !empty($a['width'])){
|
48 |
$return .= ' data-width="' . $a['width'] . '"';
|
49 |
}
|
259 |
echo '<label for="<?php' . $this->get_field_id( 'posts' ) . '">';
|
260 |
echo _e( 'Show Posts:' );
|
261 |
echo '</label>';
|
262 |
+
echo ' <input class="widefat" id="' . $this->get_field_id( 'posts' ) . '" name="' . $this->get_field_name( 'posts' ) . '" type="checkbox" value="true" ' . checked( esc_attr( $posts ), 'true', false ) . ' />';
|
263 |
echo '</p>';
|
264 |
echo '<p>';
|
265 |
echo '<label for="<?php' . $this->get_field_id( 'language' ) . '">';
|
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
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
|
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.2
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
10 |
|
11 |
-
Display the Facebook Page Plugin from the Graph API.
|
12 |
|
13 |
== Description ==
|
14 |
Facebook are depreciating many of their old social plugins on June 23rd 2015, including Activity Feed, Facepile, Like Box and Recommendations. As such, many WordPress plugins that utilise these social plugins will soon stop working. This plugin instead uses the Graph API v2.3 to guarantee your WordPress site continues to have full Facebook support.
|
@@ -76,6 +76,8 @@ Shortcodes were introduced in WordPress 2.5, so theorectially it should work on
|
|
76 |
3. The new shortcode generator dashboard widget
|
77 |
|
78 |
== Changelog ==
|
|
|
|
|
79 |
= 1.2.1 =
|
80 |
* Fixed readme bug
|
81 |
= 1.2.0 =
|
@@ -94,6 +96,8 @@ Shortcodes were introduced in WordPress 2.5, so theorectially it should work on
|
|
94 |
* Initial release
|
95 |
|
96 |
== Upgrade Notice ==
|
|
|
|
|
97 |
= 1.2.0 =
|
98 |
This version includes multilingual support, a custom widget and a shortcode generator on the admin dashboard. It is highly recommeded that you update.
|
99 |
= 1.1.1 =
|
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
|
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.2
|
7 |
+
Stable tag: 1.2.2
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
10 |
|
11 |
+
Display the Facebook Page Plugin from the Graph API using a shortcode or widget. Now available in 136 different languages
|
12 |
|
13 |
== Description ==
|
14 |
Facebook are depreciating many of their old social plugins on June 23rd 2015, including Activity Feed, Facepile, Like Box and Recommendations. As such, many WordPress plugins that utilise these social plugins will soon stop working. This plugin instead uses the Graph API v2.3 to guarantee your WordPress site continues to have full Facebook support.
|
76 |
3. The new shortcode generator dashboard widget
|
77 |
|
78 |
== Changelog ==
|
79 |
+
= 1.2.2 =
|
80 |
+
* Fixed posts option for widget
|
81 |
= 1.2.1 =
|
82 |
* Fixed readme bug
|
83 |
= 1.2.0 =
|
96 |
* Initial release
|
97 |
|
98 |
== Upgrade Notice ==
|
99 |
+
= 1.2.2 =
|
100 |
+
This version addresses a fix for the posts option not working in the widget. Please update immediately.
|
101 |
= 1.2.0 =
|
102 |
This version includes multilingual support, a custom widget and a shortcode generator on the admin dashboard. It is highly recommeded that you update.
|
103 |
= 1.1.1 =
|