Custom Facebook Feed - Version 1.6.5.1

Version Description

  • New: Now works with groups.
  • Fix: Fixed an issue with the 'Show posts by others' option not working correctly in the previous version.
Download this release

Release Info

Developer smashballoon
Plugin Icon 128x128 Custom Facebook Feed
Version 1.6.5.1
Comparing to
See all releases

Code changes from version 1.6.5 to 1.6.5.1

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smashballoon
3
Tags: facebook, custom, customizable, feed, events, seo, search engine, responsive, mobile, shortcode, groups, status, posts
4
Requires at least: 3.0
5
Tested up to: 3.7.1
6
- Stable tag: 1.6.5
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
@@ -109,7 +109,7 @@ You can embed your Facebook feed directly into a template file by using the Word
109
110
== Changelog ==
111
112
- = 1.6.5 =
113
* New: Now works with groups.
114
* Fix: Fixed an issue with the 'Show posts by others' option not working correctly in the previous version.
115
3
Tags: facebook, custom, customizable, feed, events, seo, search engine, responsive, mobile, shortcode, groups, status, posts
4
Requires at least: 3.0
5
Tested up to: 3.7.1
6
+ Stable tag: 1.6.5.1
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
109
110
== Changelog ==
111
112
+ = 1.6.5.1 =
113
* New: Now works with groups.
114
* Fix: Fixed an issue with the 'Show posts by others' option not working correctly in the previous version.
115
custom-facebook-feed-admin.php CHANGED
@@ -143,7 +143,7 @@ function cff_settings_page() {
143
</td>
144
</tr>
145
<tr valign="top">
146
- <th scope="row"><?php _e('Show posts by others on my page'); ?></th>
147
<td>
148
<input name="cff_show_others" type="checkbox" id="cff_show_others" <?php if($cff_show_others_val == true) echo "checked"; ?> />
149
<i style="color: #666; font-size: 11px;"><?php _e('By default only posts by the page owner will be shown. Check this box to also show posts by others.'); ?></i>
143
</td>
144
</tr>
145
<tr valign="top">
146
+ <th scope="row"><?php _e('Show posts by others on my page'); ?><br /><i style="color: #666; font-size: 11px;"><?php _e('(Check this if using a group)'); ?></i></th>
147
<td>
148
<input name="cff_show_others" type="checkbox" id="cff_show_others" <?php if($cff_show_others_val == true) echo "checked"; ?> />
149
<i style="color: #666; font-size: 11px;"><?php _e('By default only posts by the page owner will be shown. Check this box to also show posts by others.'); ?></i>
custom-facebook-feed.php CHANGED
@@ -326,7 +326,7 @@ function display_cff($atts) {
326
//Use posts? or feed?
327
$show_others = $atts['others'];
328
$graph_query = 'posts';
329
- if ($show_others == true || $show_others == 'true') $graph_query = 'feed';
330
$cff_post_limit = $atts['limit'];
331
//Calculate the cache time in seconds
332
if($cff_cache_time_unit == 'minutes') $cff_cache_time_unit = 60;
326
//Use posts? or feed?
327
$show_others = $atts['others'];
328
$graph_query = 'posts';
329
+ if ($show_others == 'on' || $show_others == 'true' || $show_others == true) $graph_query = 'feed';
330
$cff_post_limit = $atts['limit'];
331
//Calculate the cache time in seconds
332
if($cff_cache_time_unit == 'minutes') $cff_cache_time_unit = 60;