Version Description
- Fix: Fixed a positioning issue with the Facebook "Like Box / Page Plugin" widget caused by a recent Facebook update which was causing it to overlap on top of other content
- Fix: Hashtags containing Chinese characters are now linked
- Fix: Fixed a minor issue in shared link posts where the post text linked to the shared link URL instead of the post on Facebook
- Tweak: Added a timezone for Sydney, Australia
Download this release
Release Info
Developer | smashballoon |
Plugin | Custom Facebook Feed |
Version | 2.3.8 |
Comparing to | |
See all releases |
Code changes from version 2.3.7 to 2.3.8
- README.txt +8 -2
- css/cff-style.css +1 -2
- custom-facebook-feed-admin.php +1 -1
- custom-facebook-feed.php +8 -3
- js/cff-scripts.js +2 -1
README.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: smashballoon
|
3 |
Tags: Facebook, Facebook feed, Facebook posts, Facebook wall, Facebook events, Facebook page, Facebook group, Facebook groups, Facebook fans, Facebook likes, Facebook followers, Facebooks, Face book, posts, Facebook postings, Facebook feeds, Facebook pages, Facebook Like Box, Facebook plugin, Facebook plug-in, Facebook walls, Facebook hashtag, Facebook embed, Customizable Facebook Feed, custom, customizable, seo, responsive, mobile, social media
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 4.3
|
6 |
-
Stable tag: 2.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -361,6 +361,12 @@ Credit iMarketing Factory - "The Importance of Facebook for Small Businesses"
|
|
361 |
9. It's super easy to display your Facebook feed in any page or post
|
362 |
|
363 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
= 2.3.7 =
|
365 |
* Fix: Fixed an issue caused by the WordPress 4.3 update where feeds from very long page IDs wouldn't update correctly due to the cache not clearing when expired
|
366 |
* Fix: Removed specific encoding parameters from the cURL request method to prevent encoding issues on some servers
|
2 |
Contributors: smashballoon
|
3 |
Tags: Facebook, Facebook feed, Facebook posts, Facebook wall, Facebook events, Facebook page, Facebook group, Facebook groups, Facebook fans, Facebook likes, Facebook followers, Facebooks, Face book, posts, Facebook postings, Facebook feeds, Facebook pages, Facebook Like Box, Facebook plugin, Facebook plug-in, Facebook walls, Facebook hashtag, Facebook embed, Customizable Facebook Feed, custom, customizable, seo, responsive, mobile, social media
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 4.3.1
|
6 |
+
Stable tag: 2.3.8
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
361 |
9. It's super easy to display your Facebook feed in any page or post
|
362 |
|
363 |
== Changelog ==
|
364 |
+
= 2.3.8 =
|
365 |
+
* Fix: Fixed a positioning issue with the Facebook "Like Box / Page Plugin" widget caused by a recent Facebook update which was causing it to overlap on top of other content
|
366 |
+
* Fix: Hashtags containing Chinese characters are now linked
|
367 |
+
* Fix: Fixed a minor issue in shared link posts where the post text linked to the shared link URL instead of the post on Facebook
|
368 |
+
* Tweak: Added a timezone for Sydney, Australia
|
369 |
+
|
370 |
= 2.3.7 =
|
371 |
* Fix: Fixed an issue caused by the WordPress 4.3 update where feeds from very long page IDs wouldn't update correctly due to the cache not clearing when expired
|
372 |
* Fix: Removed specific encoding parameters from the cURL request method to prevent encoding issues on some servers
|
css/cff-style.css
CHANGED
@@ -356,8 +356,7 @@
|
|
356 |
}
|
357 |
.cff-likebox iframe{
|
358 |
margin: 0;
|
359 |
-
|
360 |
-
position: absolute;
|
361 |
top: 0;
|
362 |
left: 0;
|
363 |
width: 100% !important;
|
356 |
}
|
357 |
.cff-likebox iframe{
|
358 |
margin: 0;
|
359 |
+
position: relative;
|
|
|
360 |
top: 0;
|
361 |
left: 0;
|
362 |
width: 100% !important;
|
custom-facebook-feed-admin.php
CHANGED
@@ -404,7 +404,7 @@ function cff_settings_page() {
|
|
404 |
<option value="Australia/Adelaide" <?php if($cff_timezone == "Australia/Adelaide") echo 'selected="selected"' ?> ><?php _e('(GMT+09:30) Adelaide'); ?></option>
|
405 |
<option value="Australia/Darwin" <?php if($cff_timezone == "Australia/Darwin") echo 'selected="selected"' ?> ><?php _e('(GMT+09:30) Darwin'); ?></option>
|
406 |
<option value="Australia/Brisbane" <?php if($cff_timezone == "Australia/Brisbane") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00) Brisbane'); ?></option>
|
407 |
-
<option value="Australia/Hobart" <?php if($cff_timezone == "Australia/Hobart") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00)
|
408 |
<option value="Asia/Vladivostok" <?php if($cff_timezone == "Asia/Vladivostok") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00) Vladivostok'); ?></option>
|
409 |
<option value="Australia/Lord_Howe" <?php if($cff_timezone == "Australia/Lord_Howe") echo 'selected="selected"' ?> ><?php _e('(GMT+10:30) Lord Howe Island'); ?></option>
|
410 |
<option value="Etc/GMT-11" <?php if($cff_timezone == "Etc/GMT-11") echo 'selected="selected"' ?> ><?php _e('(GMT+11:00) Solomon Is., New Caledonia'); ?></option>
|
404 |
<option value="Australia/Adelaide" <?php if($cff_timezone == "Australia/Adelaide") echo 'selected="selected"' ?> ><?php _e('(GMT+09:30) Adelaide'); ?></option>
|
405 |
<option value="Australia/Darwin" <?php if($cff_timezone == "Australia/Darwin") echo 'selected="selected"' ?> ><?php _e('(GMT+09:30) Darwin'); ?></option>
|
406 |
<option value="Australia/Brisbane" <?php if($cff_timezone == "Australia/Brisbane") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00) Brisbane'); ?></option>
|
407 |
+
<option value="Australia/Hobart" <?php if($cff_timezone == "Australia/Hobart") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00) Sydney'); ?></option>
|
408 |
<option value="Asia/Vladivostok" <?php if($cff_timezone == "Asia/Vladivostok") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00) Vladivostok'); ?></option>
|
409 |
<option value="Australia/Lord_Howe" <?php if($cff_timezone == "Australia/Lord_Howe") echo 'selected="selected"' ?> ><?php _e('(GMT+10:30) Lord Howe Island'); ?></option>
|
410 |
<option value="Etc/GMT-11" <?php if($cff_timezone == "Etc/GMT-11") echo 'selected="selected"' ?> ><?php _e('(GMT+11:00) Solomon Is., New Caledonia'); ?></option>
|
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 completely customizable Facebook feeds to your WordPress site
|
6 |
-
Version: 2.3.
|
7 |
Author: Smash Balloon
|
8 |
Author URI: http://smashballoon.com/
|
9 |
License: GPLv2 or later
|
@@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
25 |
//Include admin
|
26 |
include dirname( __FILE__ ) .'/custom-facebook-feed-admin.php';
|
27 |
|
28 |
-
define('CFFVER', '2.3.
|
29 |
|
30 |
// Add shortcodes
|
31 |
add_shortcode('custom-facebook-feed', 'display_cff');
|
@@ -1059,7 +1059,12 @@ function display_cff($atts) {
|
|
1059 |
|
1060 |
//Start HTML for post text
|
1061 |
$cff_post_text .= '<span class="cff-text" data-color="'.$cff_posttext_link_color.'">';
|
1062 |
-
if ($cff_title_link)
|
|
|
|
|
|
|
|
|
|
|
1063 |
|
1064 |
//Which content should we use?
|
1065 |
$cff_post_text_type = '';
|
3 |
Plugin Name: Custom Facebook Feed
|
4 |
Plugin URI: http://smashballoon.com/custom-facebook-feed
|
5 |
Description: Add completely customizable Facebook feeds to your WordPress site
|
6 |
+
Version: 2.3.8
|
7 |
Author: Smash Balloon
|
8 |
Author URI: http://smashballoon.com/
|
9 |
License: GPLv2 or later
|
25 |
//Include admin
|
26 |
include dirname( __FILE__ ) .'/custom-facebook-feed-admin.php';
|
27 |
|
28 |
+
define('CFFVER', '2.3.8');
|
29 |
|
30 |
// Add shortcodes
|
31 |
add_shortcode('custom-facebook-feed', 'display_cff');
|
1059 |
|
1060 |
//Start HTML for post text
|
1061 |
$cff_post_text .= '<span class="cff-text" data-color="'.$cff_posttext_link_color.'">';
|
1062 |
+
if ($cff_title_link){
|
1063 |
+
//Link to the Facebook post if it's a link or a video
|
1064 |
+
($cff_post_type == 'link' || $cff_post_type == 'video') ? $text_link = "https://www.facebook.com/" . $page_id . "/posts/" . $PostID[1] : $text_link = $link;
|
1065 |
+
|
1066 |
+
$cff_post_text .= '<a class="cff-post-text-link" '.$cff_title_styles.' href="'.$text_link.'" '.$target.$cff_nofollow.'>';
|
1067 |
+
}
|
1068 |
|
1069 |
//Which content should we use?
|
1070 |
$cff_post_text_type = '';
|
js/cff-scripts.js
CHANGED
@@ -66,7 +66,8 @@ jQuery(document).ready(function() {
|
|
66 |
//Link hashtags
|
67 |
var cffTextStr = $self.find('.cff-text').html(),
|
68 |
cffDescStr = $self.find('.cff-post-desc').html(),
|
69 |
-
regex = /(^|\s)#(\w*[a-z\u00E0-\u00FC]+\w*)/gi,
|
|
|
70 |
linkcolor = $self.find('.cff-text').attr('data-color');
|
71 |
|
72 |
function replacer(hash){
|
66 |
//Link hashtags
|
67 |
var cffTextStr = $self.find('.cff-text').html(),
|
68 |
cffDescStr = $self.find('.cff-post-desc').html(),
|
69 |
+
regex = /(^|\s)#(\w*[a-z\u00E0-\u00FC一-龠ぁ-ゔァ-ヴー]+\w*)/gi,
|
70 |
+
// regex = /#(\w*[a-z\u00E0-\u00FC一-龠ぁ-ゔァ-ヴー]+\w*)/gi,
|
71 |
linkcolor = $self.find('.cff-text').attr('data-color');
|
72 |
|
73 |
function replacer(hash){
|