Custom Facebook Feed - Version 1.7.2

Version Description

  • Tweak: Moved the 'Show post author' option from the General settings tab to the Post Layout tab
  • Tweak: Added the ability to show or hide the author to the 'include' shortcode option
  • Fix: Added CSS box-sizing property to feed header so that padding doesn't increase its width
  • Fix: Fixed showheader=false and headeroutside=false shortcode options
  • Fix: Now allows users to enter their Facebook page URL as their Page ID
Download this release

Release Info

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

Code changes from version 1.7.1 to 1.7.2

Files changed (2) hide show
  1. README.txt +2 -2
  2. custom-facebook-feed.php +2 -2
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: smashballoon
3
Tags: Facebook, Facebook feed, Facebook posts, Facebook wall, Facebook events, Facebook page, Facebook group, custom, customizable, seo, responsive, mobile, social
4
Requires at least: 3.0
5
Tested up to: 3.8.1
6
- Stable tag: 1.7.1
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H5XFD33R3FHMG
@@ -131,7 +131,7 @@ You can embed your Facebook feed directly into a template file by using the Word
131
132
== Changelog ==
133
134
- = 1.7.1 =
135
* Tweak: Moved the 'Show post author' option from the General settings tab to the Post Layout tab
136
* Tweak: Added the ability to show or hide the author to the 'include' shortcode option
137
* Fix: Added CSS box-sizing property to feed header so that padding doesn't increase its width
3
Tags: Facebook, Facebook feed, Facebook posts, Facebook wall, Facebook events, Facebook page, Facebook group, custom, customizable, seo, responsive, mobile, social
4
Requires at least: 3.0
5
Tested up to: 3.8.1
6
+ Stable tag: 1.7.2
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H5XFD33R3FHMG
131
132
== Changelog ==
133
134
+ = 1.7.2 =
135
* Tweak: Moved the 'Show post author' option from the General settings tab to the Post Layout tab
136
* Tweak: Added the ability to show or hide the author to the 'include' shortcode option
137
* Fix: Added CSS box-sizing property to feed header so that padding doesn't increase its width
custom-facebook-feed.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Custom Facebook Feed
4
Plugin URI: http://smashballoon.com/custom-facebook-feed
5
Description: Add a completely customizable Facebook feed to your WordPress site
6
- Version: 1.7.1
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
@@ -388,7 +388,7 @@ function display_cff($atts) {
388
$cff_facebook_string = 'facebook.com';
389
$cff_page_id_url_check = stripos($page_id, $cff_facebook_string);
390
391
- if ( $cff_facebook_string ) {
392
//Remove trailing slash if exists
393
$page_id = preg_replace('{/$}', '', $page_id);
394
//Get last part of url
3
Plugin Name: Custom Facebook Feed
4
Plugin URI: http://smashballoon.com/custom-facebook-feed
5
Description: Add a completely customizable Facebook feed to your WordPress site
6
+ Version: 1.7.2
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
388
$cff_facebook_string = 'facebook.com';
389
$cff_page_id_url_check = stripos($page_id, $cff_facebook_string);
390
391
+ if ( $cff_page_id_url_check ) {
392
//Remove trailing slash if exists
393
$page_id = preg_replace('{/$}', '', $page_id);
394
//Get last part of url