Version Description
Download this release
Release Info
Developer | slickremix |
Plugin | Feed Them Social – Facebook, Instagram, Twitter, YouTube, Pinterest |
Version | 2.9.6.3 |
Comparing to | |
See all releases |
Code changes from version 2.9.6.2 to 2.9.6.3
- admin/class-fts-facebook-options-page.php +2 -1
- admin/css/admin.css +1 -1
- feed-them.php +50 -9
- feeds/facebook/class-fts-facebook-feed.php +6 -6
- feeds/twitter/class-fts-twitter-feed.php +1 -1
- readme.txt +7 -3
admin/class-fts-facebook-options-page.php
CHANGED
@@ -220,9 +220,10 @@ class FTS_Facebook_Options_Page {
|
|
220 |
<?php esc_html_e( 'This Facebook Access Token works for the Reviews feed only and is simply used to display the feed. You must be an admin of the page to get your token.', 'feed-them-social' ); ?>
|
221 |
<p>
|
222 |
<?php
|
|
|
223 |
echo sprintf(
|
224 |
esc_html__( '%1$sLogin and get my Reviews Access Token%2$s', 'feed-them-social' ),
|
225 |
-
'<a href="' . esc_url( 'https://www.facebook.com/dialog/oauth?client_id=1123168491105924&redirect_uri=https://www.slickremix.com/facebook-token/&state=' . admin_url( 'admin.php?page=fts-facebook-feed-styles-submenu-page' ) . '%26reviews_token=yes&scope=pages_show_list,pages_read_engagement' ) . '" class="fts-facebook-get-access-token">',
|
226 |
'</a>'
|
227 |
);
|
228 |
?>
|
220 |
<?php esc_html_e( 'This Facebook Access Token works for the Reviews feed only and is simply used to display the feed. You must be an admin of the page to get your token.', 'feed-them-social' ); ?>
|
221 |
<p>
|
222 |
<?php
|
223 |
+
// https://developers.facebook.com/docs/graph-api/reference/page/ratings/
|
224 |
echo sprintf(
|
225 |
esc_html__( '%1$sLogin and get my Reviews Access Token%2$s', 'feed-them-social' ),
|
226 |
+
'<a href="' . esc_url( 'https://www.facebook.com/dialog/oauth?client_id=1123168491105924&redirect_uri=https://www.slickremix.com/facebook-token/&state=' . admin_url( 'admin.php?page=fts-facebook-feed-styles-submenu-page' ) . '%26reviews_token=yes&scope=pages_show_list,pages_read_engagement,pages_read_user_content' ) . '" class="fts-facebook-get-access-token">',
|
227 |
'</a>'
|
228 |
);
|
229 |
?>
|
admin/css/admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@font-face{font-family:SlickRemix;src:url(fonts/SlickRemix.eot?p9iqv);src:url(fonts/SlickRemix.eot?#iefixp9iqv) format("embedded-opentype"),url(fonts/SlickRemix.woff?p9iqv) format("woff"),url(fonts/SlickRemix.ttf?p9iqv) format("truetype"),url(fonts/SlickRemix.svg?p9iqv#SlickRemix) format("svg");font-weight:400;font-style:normal}#adminmenu #toplevel_page_feed-them-settings-page div.wp-menu-image:before{font-family:SlickRemix!important;content:"\e600";line-height:1.2em;font-size:1.2em!important}@media only screen and (max-width:782px){#adminmenu #toplevel_page_feed-them-settings-page div.wp-menu-image:before{line-height:normal!important}}.fts-activation-msg{margin:14px 0 25px;font-size:13px}.fts-activation-msg ol{margin:10px 0 0 20px}.fts-update-message:before{color:#FFF;content:'\e600';display:inline-block;font:400 16px/1 SlickRemix;speak:none;margin:0 8px 0 -1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.fts-update-message{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.fts_old_plugins_message{margin:15px 15px 0 0}.fts-update-message a{color:#fff;text-decoration:underline}.feed-them_page_fts-license-page .edd-upgrade-license-btn{display:inline-block!important;margin-left:5px!important}.fts-no-license-overlay{position:absolute;height:100%;width:100%;top:0;left:0;z-index:100;background:rgba(255,255,255,.64);text-align:center;vertical-align:middle}.fts-no-license-button-wrap{position:absolute;top:50%;left:50%;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);min-width:200px}.fts-no-license-overlay a{padding:9px 15px;background:#0073aa;color:#FFF;text-decoration:none;border-radius:3px;font-size:14px;display:inline-block}.fts-no-license-overlay a:hover{background:rgba(0,115,170,.88)}.fts-license-master-form .form-table tr{min-width:250px}.fts-license-wrap th{position:relative;z-index:200;padding:14px!important}.fts-clear{clear:both}.fts-license-wrap .regular-text{width:100%!important}#wp-admin-bar-feed_them_social_admin_bar_set_cache{padding-bottom:17px!important;line-height:0!important}#wp-admin-bar-feed_them_social_admin_bar_set_cache span{line-height:10px;display:block;color:rgba(221,221,221,.57)}#wp-admin-bar-feed_them_social_admin_bar_set_cache:hover span{line-height:10px;display:block;color:#fff}.fts_review_notice{background:#FFF;padding: 20px 25px 8px;}.fts_review_notice img{max-width:100%}.fts-notice-text p{line-height:19px}.fts_notice_dismiss{padding:5px 10px;background:#f1f1f1;color:#0081c1;border-radius:2px;text-decoration:none;margin-right:5px;margin-bottom: 5px;display: inline-block;}.fts-links{margin-top:20px;}.fts-notice-text{max-width:1015px;}.plugins-php .fts_review_notice{display:none;}
|
1 |
+
@font-face{font-family:SlickRemix;src:url(fonts/SlickRemix.eot?p9iqv);src:url(fonts/SlickRemix.eot?#iefixp9iqv) format("embedded-opentype"),url(fonts/SlickRemix.woff?p9iqv) format("woff"),url(fonts/SlickRemix.ttf?p9iqv) format("truetype"),url(fonts/SlickRemix.svg?p9iqv#SlickRemix) format("svg");font-weight:400;font-style:normal}#adminmenu #toplevel_page_feed-them-settings-page div.wp-menu-image:before{font-family:SlickRemix!important;content:"\e600";line-height:1.2em;font-size:1.2em!important}@media only screen and (max-width:782px){#adminmenu #toplevel_page_feed-them-settings-page div.wp-menu-image:before{line-height:normal!important}}.fts-activation-msg{margin:14px 0 25px;font-size:13px}.fts-activation-msg ol{margin:10px 0 0 20px}.fts-update-message:before{color:#FFF;content:'\e600';display:inline-block;font:400 16px/1 SlickRemix;speak:none;margin:0 8px 0 -1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.fts-update-message{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.fts_old_plugins_message{margin:15px 15px 0 0}.fts-update-message a{color:#fff;text-decoration:underline}.feed-them_page_fts-license-page .edd-upgrade-license-btn{display:inline-block!important;margin-left:5px!important}.fts-no-license-overlay{position:absolute;height:100%;width:100%;top:0;left:0;z-index:100;background:rgba(255,255,255,.64);text-align:center;vertical-align:middle}.fts-no-license-button-wrap{position:absolute;top:50%;left:50%;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);min-width:200px}.fts-no-license-overlay a{padding:9px 15px;background:#0073aa;color:#FFF;text-decoration:none;border-radius:3px;font-size:14px;display:inline-block}.fts-no-license-overlay a:hover{background:rgba(0,115,170,.88)}.fts-license-master-form .form-table tr{min-width:250px}.fts-license-wrap th{position:relative;z-index:200;padding:14px!important}.fts-clear{clear:both}.fts-license-wrap .regular-text{width:100%!important}#wp-admin-bar-feed_them_social_admin_bar_set_cache{padding-bottom:17px!important;line-height:0!important}#wp-admin-bar-feed_them_social_admin_bar_set_cache span{line-height:10px;display:block;color:rgba(221,221,221,.57)}#wp-admin-bar-feed_them_social_admin_bar_set_cache:hover span{line-height:10px;display:block;color:#fff}.fts_review_notice{background:#FFF;padding: 20px 25px 8px;}.fts_review_notice img{max-width:100%}.fts-notice-text p{line-height:19px}.fts_notice_dismiss{padding:5px 10px;background:#f1f1f1;color:#0081c1;border-radius:2px;text-decoration:none;margin-right:5px;margin-bottom: 5px;display: inline-block;}.fts-links{margin-top:20px;}.fts-notice-text{max-width:1015px;}.plugins-php .fts_review_notice{display:none;}.plugins-php #feed-them-social-update p:nth-child(3){display:none;}
|
feed-them.php
CHANGED
@@ -7,18 +7,18 @@
|
|
7 |
* Plugin Name: Feed Them Social - for Twitter feed, Youtube, and more
|
8 |
* Plugin URI: https://feedthemsocial.com/
|
9 |
* Description: Display a Custom Facebook feed, Instagram feed, Twitter feed and YouTube feed on pages, posts or widgets.
|
10 |
-
* Version: 2.9.6.
|
11 |
* Author: SlickRemix
|
12 |
* Author URI: https://www.slickremix.com/
|
13 |
* Text Domain: feed-them-social
|
14 |
* Domain Path: /languages
|
15 |
* Requires at least: WordPress 4.0.0
|
16 |
* Tested up to: WordPress 5.7.2
|
17 |
-
* Stable tag: 2.9.6.
|
18 |
* License: GPLv2 or later
|
19 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
20 |
*
|
21 |
-
* @version 2.9.6.
|
22 |
* @package FeedThemSocial/Core
|
23 |
* @copyright Copyright (c) 2012-2021 SlickRemix
|
24 |
*
|
@@ -31,7 +31,7 @@
|
|
31 |
*
|
32 |
* Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout!
|
33 |
*/
|
34 |
-
define( 'FTS_CURRENT_VERSION', '2.9.6.
|
35 |
|
36 |
define( 'FEED_THEM_SOCIAL_NOTICE_STATUS', get_option( 'rating_fts_slick_notice', false ) );
|
37 |
|
@@ -84,6 +84,8 @@ final class Feed_Them_Social {
|
|
84 |
add_action( 'admin_notices', array( self::$instance, 'fts_install_notice' ) );
|
85 |
add_action( 'admin_notices', array( self::$instance, 'fts_update_notice' ) );
|
86 |
add_action( 'upgrader_process_complete', array( self::$instance, 'fts_upgrade_completed' ), 10, 2 );
|
|
|
|
|
87 |
|
88 |
// Include our own Settings link to plugin activation and update page.
|
89 |
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( self::$instance, 'fts_free_plugin_actions' ), 10, 4 );
|
@@ -169,7 +171,22 @@ final class Feed_Them_Social {
|
|
169 |
public function fts_update_notice() {
|
170 |
// Check the transient to see if we've just updated the plugin!
|
171 |
if ( get_transient( 'fts_updated' ) ) {
|
172 |
-
echo '<div class="notice notice-success updated is-dismissible"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
delete_transient( 'fts_updated' );
|
174 |
}
|
175 |
}
|
@@ -183,19 +200,43 @@ final class Feed_Them_Social {
|
|
183 |
public function fts_install_notice() {
|
184 |
// Check the transient to see if we've just activated the plugin!
|
185 |
if ( get_transient( 'fts_activated' ) ) {
|
186 |
-
echo '<div class="notice notice-success updated is-dismissible"
|
187 |
echo sprintf(
|
188 |
-
esc_html__( '
|
189 |
'<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
|
190 |
-
'</a>'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
);
|
192 |
-
echo '</
|
193 |
// Delete the transient so we don't keep displaying the activation message!
|
194 |
delete_transient( 'fts_activated' );
|
195 |
}
|
196 |
|
197 |
}
|
198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
/**
|
200 |
* Run this on activation
|
201 |
* Set a transient so that we know we've just activated the plugin
|
7 |
* Plugin Name: Feed Them Social - for Twitter feed, Youtube, and more
|
8 |
* Plugin URI: https://feedthemsocial.com/
|
9 |
* Description: Display a Custom Facebook feed, Instagram feed, Twitter feed and YouTube feed on pages, posts or widgets.
|
10 |
+
* Version: 2.9.6.3
|
11 |
* Author: SlickRemix
|
12 |
* Author URI: https://www.slickremix.com/
|
13 |
* Text Domain: feed-them-social
|
14 |
* Domain Path: /languages
|
15 |
* Requires at least: WordPress 4.0.0
|
16 |
* Tested up to: WordPress 5.7.2
|
17 |
+
* Stable tag: 2.9.6.3
|
18 |
* License: GPLv2 or later
|
19 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
20 |
*
|
21 |
+
* @version 2.9.6.3
|
22 |
* @package FeedThemSocial/Core
|
23 |
* @copyright Copyright (c) 2012-2021 SlickRemix
|
24 |
*
|
31 |
*
|
32 |
* Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout!
|
33 |
*/
|
34 |
+
define( 'FTS_CURRENT_VERSION', '2.9.6.3' );
|
35 |
|
36 |
define( 'FEED_THEM_SOCIAL_NOTICE_STATUS', get_option( 'rating_fts_slick_notice', false ) );
|
37 |
|
84 |
add_action( 'admin_notices', array( self::$instance, 'fts_install_notice' ) );
|
85 |
add_action( 'admin_notices', array( self::$instance, 'fts_update_notice' ) );
|
86 |
add_action( 'upgrader_process_complete', array( self::$instance, 'fts_upgrade_completed' ), 10, 2 );
|
87 |
+
// Inlcude our custom message letting users know of Major Changes to Feed Them Social 3.0
|
88 |
+
add_action( 'in_plugin_update_message-feed-them-social/feed-them.php', array( self::$instance, 'prefix_plugin_update_message' ), 10, 2 );
|
89 |
|
90 |
// Include our own Settings link to plugin activation and update page.
|
91 |
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( self::$instance, 'fts_free_plugin_actions' ), 10, 4 );
|
171 |
public function fts_update_notice() {
|
172 |
// Check the transient to see if we've just updated the plugin!
|
173 |
if ( get_transient( 'fts_updated' ) ) {
|
174 |
+
echo '<div class="notice notice-success updated is-dismissible">';
|
175 |
+
echo sprintf(
|
176 |
+
esc_html__( '%10$sThanks for updating Feed Them Social. We have deleted the cache in our plugin so you can view any changes we have made.%11$s %8$s%6$sNOTE%7$s: Feed Them Social 3.0 will have some amazing changes in the coming months. Please take a moment and %4$s read them here%5$s.%9$s', 'feed-them-social' ),
|
177 |
+
'<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
|
178 |
+
'</a>',
|
179 |
+
'<br/><br/>',
|
180 |
+
'<a href="' . esc_url( 'https://www.slickremix.com/feed-them-social-3-0-major-changes/' ) . '" target="_blank">',
|
181 |
+
'</a>',
|
182 |
+
'<strong>',
|
183 |
+
'</strong>',
|
184 |
+
'<div class="fts-update-message">',
|
185 |
+
'</div>',
|
186 |
+
'<p>',
|
187 |
+
'</p>'
|
188 |
+
);
|
189 |
+
echo '</div>';
|
190 |
delete_transient( 'fts_updated' );
|
191 |
}
|
192 |
}
|
200 |
public function fts_install_notice() {
|
201 |
// Check the transient to see if we've just activated the plugin!
|
202 |
if ( get_transient( 'fts_activated' ) ) {
|
203 |
+
echo '<div class="notice notice-success updated is-dismissible">';
|
204 |
echo sprintf(
|
205 |
+
esc_html__( '%10$sThanks for installing Feed Them Social. To get started please view our %1$sSettings%2$s page.%11$s %8$s%6$sNOTE%7$s: Feed Them Social 3.0 will have some amazing changes in the coming months. Please take a moment and %4$s read them here%5$s.%9$s', 'feed-them-social' ),
|
206 |
'<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
|
207 |
+
'</a>',
|
208 |
+
'<br/><br/>',
|
209 |
+
'<a href="' . esc_url( 'https://www.slickremix.com/feed-them-social-3-0-major-changes/' ) . '" target="_blank">',
|
210 |
+
'</a>',
|
211 |
+
'<strong>',
|
212 |
+
'</strong>',
|
213 |
+
'<div class="fts-update-message">',
|
214 |
+
'</div>',
|
215 |
+
'<p>',
|
216 |
+
'</p>'
|
217 |
);
|
218 |
+
echo '</div>';
|
219 |
// Delete the transient so we don't keep displaying the activation message!
|
220 |
delete_transient( 'fts_activated' );
|
221 |
}
|
222 |
|
223 |
}
|
224 |
|
225 |
+
function prefix_plugin_update_message( $plugin_data, $new_data ) {
|
226 |
+
echo '<div class="fts-update-message">';
|
227 |
+
echo sprintf(
|
228 |
+
esc_html__( 'Feed Them Social 3.0 will have some amazing changes in the coming months. Please take a moment and %4$s read them here%5$s.', 'feed-them-social' ),
|
229 |
+
'<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
|
230 |
+
'</a>',
|
231 |
+
'<br/><br/>',
|
232 |
+
'<a href="' . esc_url( 'https://www.slickremix.com/feed-them-social-3-0-major-changes/' ) . '" target="_blank">',
|
233 |
+
'</a>',
|
234 |
+
'<strong>',
|
235 |
+
'</strong>'
|
236 |
+
);
|
237 |
+
echo '</div>';
|
238 |
+
}
|
239 |
+
|
240 |
/**
|
241 |
* Run this on activation
|
242 |
* Set a transient so that we know we've just activated the plugin
|
feeds/facebook/class-fts-facebook-feed.php
CHANGED
@@ -202,7 +202,7 @@ class FTS_Facebook_Feed extends feed_them_social_functions {
|
|
202 |
// SHOW THE REGULAR FEEDS PRINT_R
|
203 |
// echo '<pre>';
|
204 |
// print_r($feed_data_check);
|
205 |
-
//
|
206 |
// $idNew = array();
|
207 |
// $idNew = explode(',', $fb_shortcode['id']);
|
208 |
// Testing options before foreach loop
|
@@ -243,7 +243,7 @@ class FTS_Facebook_Feed extends feed_them_social_functions {
|
|
243 |
|
244 |
// This is the method to skip empty posts or posts that are simply about changing settings or other non important post types
|
245 |
// We will count all the ones that are like this and add that number to the output of posts to offset the posts we are filtering out. Line 278 needs the same treatment of if options.
|
246 |
-
if ( 'status' === $fb_type && empty( $fb_message ) && empty( $fb_story ) || 'event' === $fb_type || 'event' === $fb_type && false !== strpos( $fb_story, 'shared their event' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'changed the name of the event to' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'changed the privacy setting' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'an admin of the group' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'created the group' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'added an event' ) || 'event' === $fb_type && false !== strpos( $fb_story, 'added an event' ) ) {
|
247 |
$set_zero++;
|
248 |
} elseif ( '0' === $feed_data_check->data ) {
|
249 |
// If more than the 5 posts(default in free) or the post= from shortcode is set to the amount of posts that are being filtered above we will add 7 to the post count to try and get at some posts.
|
@@ -264,9 +264,9 @@ class FTS_Facebook_Feed extends feed_them_social_functions {
|
|
264 |
}
|
265 |
|
266 |
// SHOW THE $feed_data_check PRINT_R
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
}
|
271 |
// END.
|
272 |
}
|
@@ -682,7 +682,7 @@ style="margin:' . ( isset( $fb_shortcode['slider_margin'] ) && '' !== $fb_shortc
|
|
682 |
}
|
683 |
|
684 |
// This is the method to skip empty posts or posts that are simply about changing settings or other non important post types.
|
685 |
-
if ( 'status' === $fb_type && empty( $fb_message ) && empty( $fb_story ) || 'event' === $fb_type || 'event' === $fb_type && false !== strpos( $fb_story, 'shared their event' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'changed the name of the event to' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'changed the privacy setting' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'an admin of the group' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'created the group' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'added an event' ) || 'event' === $fb_type && false !== strpos( $fb_story, 'added an event' ) ) {
|
686 |
} else {
|
687 |
// define type note also affects load more fucntion call.
|
688 |
if ( ! $fb_type && 'album_photos' === $fb_shortcode['type'] ) {
|
202 |
// SHOW THE REGULAR FEEDS PRINT_R
|
203 |
// echo '<pre>';
|
204 |
// print_r($feed_data_check);
|
205 |
+
// echo '</pre>';
|
206 |
// $idNew = array();
|
207 |
// $idNew = explode(',', $fb_shortcode['id']);
|
208 |
// Testing options before foreach loop
|
243 |
|
244 |
// This is the method to skip empty posts or posts that are simply about changing settings or other non important post types
|
245 |
// We will count all the ones that are like this and add that number to the output of posts to offset the posts we are filtering out. Line 278 needs the same treatment of if options.
|
246 |
+
if ( false !== strpos( $fb_story, 'updated their website address' ) || 'profile_media' === $fb_type && false !== strpos( $fb_story, 'updated their profile picture' ) || 'cover_photo' === $fb_type && false !== strpos( $fb_story, 'updated their cover photo' ) || 'status' === $fb_type && empty( $fb_message ) && empty( $fb_story ) || 'event' === $fb_type || 'event' === $fb_type && false !== strpos( $fb_story, 'shared their event' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'changed the name of the event to' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'changed the privacy setting' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'an admin of the group' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'created the group' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'added an event' ) || 'event' === $fb_type && false !== strpos( $fb_story, 'added an event' ) ) {
|
247 |
$set_zero++;
|
248 |
} elseif ( '0' === $feed_data_check->data ) {
|
249 |
// If more than the 5 posts(default in free) or the post= from shortcode is set to the amount of posts that are being filtered above we will add 7 to the post count to try and get at some posts.
|
264 |
}
|
265 |
|
266 |
// SHOW THE $feed_data_check PRINT_R
|
267 |
+
/* echo '<pre>';
|
268 |
+
print_r($feed_data_check);
|
269 |
+
echo '</pre>, ';*/
|
270 |
}
|
271 |
// END.
|
272 |
}
|
682 |
}
|
683 |
|
684 |
// This is the method to skip empty posts or posts that are simply about changing settings or other non important post types.
|
685 |
+
if ( false !== strpos( $fb_story, 'updated their website address' ) || 'profile_media' === $fb_type && false !== strpos( $fb_story, 'updated their profile picture' ) || 'cover_photo' === $fb_type && false !== strpos( $fb_story, 'updated their cover photo' ) || 'status' === $fb_type && empty( $fb_message ) && empty( $fb_story ) || 'event' === $fb_type || 'event' === $fb_type && false !== strpos( $fb_story, 'shared their event' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'changed the name of the event to' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'changed the privacy setting' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'an admin of the group' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'created the group' ) || 'status' === $fb_type && false !== strpos( $fb_story, 'added an event' ) || 'event' === $fb_type && false !== strpos( $fb_story, 'added an event' ) ) {
|
686 |
} else {
|
687 |
// define type note also affects load more fucntion call.
|
688 |
if ( ! $fb_type && 'album_photos' === $fb_shortcode['type'] ) {
|
feeds/twitter/class-fts-twitter-feed.php
CHANGED
@@ -246,7 +246,7 @@ class FTS_Twitter_Feed extends feed_them_social_functions {
|
|
246 |
|
247 |
if ( ! empty( $media_url ) && isset( $fts_twitter_hide_images_in_posts ) && 'yes' !== $fts_twitter_hide_images_in_posts ) {
|
248 |
if ( isset( $popup ) && 'yes' === $popup ) {
|
249 |
-
return '<a href="' . esc_url( $media_url ) . '" class="fts-twitter-link-image"
|
250 |
} else {
|
251 |
return '<a href="' . esc_url( $permalink ) . '" class="" target="_blank"><img class="fts-twitter-description-image" src="' . esc_url( $media_url ) . '" alt="' . esc_attr( $post_data->user->screen_name ) . ' photo"/></a>';
|
252 |
}
|
246 |
|
247 |
if ( ! empty( $media_url ) && isset( $fts_twitter_hide_images_in_posts ) && 'yes' !== $fts_twitter_hide_images_in_posts ) {
|
248 |
if ( isset( $popup ) && 'yes' === $popup ) {
|
249 |
+
return '<a href="' . esc_url( $media_url ) . '" class="fts-twitter-link-image"><img class="fts-twitter-description-image" src="' . esc_url( $media_url ) . '" alt="' . esc_attr( $post_data->user->screen_name ) . ' photo"/></a>';
|
250 |
} else {
|
251 |
return '<a href="' . esc_url( $permalink ) . '" class="" target="_blank"><img class="fts-twitter-description-image" src="' . esc_url( $media_url ) . '" alt="' . esc_attr( $post_data->user->screen_name ) . ' photo"/></a>';
|
252 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: slickremix, slickchris
|
|
3 |
Tags: Facebook, Instagram, Twitter, YouTube, Feed
|
4 |
Requires at least: 3.6.0
|
5 |
Tested up to: 5.7.2
|
6 |
-
Stable tag: 2.9.6.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Display a Custom Facebook feed, Instagram feed, Twitter feed, and YouTube feed on pages, posts or widgets.
|
@@ -72,6 +72,12 @@ Feed Them Social was Developed By SlickRemix --> [https://www.slickremix.com/](h
|
|
72 |
* Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
|
73 |
|
74 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
= Version 2.9.6.2 Wednesday, June 9th, 2021 =
|
76 |
* FIX: INSTAGRAM FEED: Remove blank spaces on hrefs causing issues with URLs
|
77 |
* PREMIUM FIX: FACEBOOK VIDEOS FEED: Some videos when clicked on were loading an image in the popup instead of the video and some video thumbnails were blurry.
|
@@ -1104,11 +1110,9 @@ Feed Them Social was Developed By SlickRemix --> [https://www.slickremix.com/](h
|
|
1104 |
== Frequently Asked Questions ==
|
1105 |
|
1106 |
= Are there Extensions for this plugin? =
|
1107 |
-
|
1108 |
Yes. We have the Premium Extension which also includes Youtube. Then we also have Facebook Reviews, Facebook Carousel and the Combined Stream extension. [Premium Extensions and Bundles](https://www.slickremix.com/downloads/category/feed-them-social/)
|
1109 |
|
1110 |
== Screenshots ==
|
1111 |
-
|
1112 |
1. Facebook Feed. All Feeds Work on Pages, posts or Text Widgets. Adjust the height to make it a scrolling feed too. [Demo](https://feedthemsocial.com/facebook-page-feed-demo/)
|
1113 |
2. Facebook Popup with comments. All popups for feeds except Vine are available in the [Premium Extension](https://www.slickremix.com/downloads/feed-them-social-premium-extension/). [Demo](https://feedthemsocial.com/facebook-page-feed-demo/)
|
1114 |
3. Facebook Popup example showing a video. [Demo](https://feedthemsocial.com/facebook-page-feed-demo/)
|
3 |
Tags: Facebook, Instagram, Twitter, YouTube, Feed
|
4 |
Requires at least: 3.6.0
|
5 |
Tested up to: 5.7.2
|
6 |
+
Stable tag: 2.9.6.3
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Display a Custom Facebook feed, Instagram feed, Twitter feed, and YouTube feed on pages, posts or widgets.
|
72 |
* Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
|
73 |
|
74 |
== Changelog ==
|
75 |
+
= Version 2.9.6.3 Tuesday, July 20th, 2021 =
|
76 |
+
* FIX: FACEBOOK FEED: Profile, Cover photo and Address change posts have been removed from displaying in the feed.
|
77 |
+
* PREMIUM FIX: TWITTER FEED: remove _blank target when using the popup option.
|
78 |
+
* FB REVIEWS FIX: Admins added to Facebook Pages can now retrieve a working access token.
|
79 |
+
* NOTE: Added notation about upcoming update to 3.0
|
80 |
+
|
81 |
= Version 2.9.6.2 Wednesday, June 9th, 2021 =
|
82 |
* FIX: INSTAGRAM FEED: Remove blank spaces on hrefs causing issues with URLs
|
83 |
* PREMIUM FIX: FACEBOOK VIDEOS FEED: Some videos when clicked on were loading an image in the popup instead of the video and some video thumbnails were blurry.
|
1110 |
== Frequently Asked Questions ==
|
1111 |
|
1112 |
= Are there Extensions for this plugin? =
|
|
|
1113 |
Yes. We have the Premium Extension which also includes Youtube. Then we also have Facebook Reviews, Facebook Carousel and the Combined Stream extension. [Premium Extensions and Bundles](https://www.slickremix.com/downloads/category/feed-them-social/)
|
1114 |
|
1115 |
== Screenshots ==
|
|
|
1116 |
1. Facebook Feed. All Feeds Work on Pages, posts or Text Widgets. Adjust the height to make it a scrolling feed too. [Demo](https://feedthemsocial.com/facebook-page-feed-demo/)
|
1117 |
2. Facebook Popup with comments. All popups for feeds except Vine are available in the [Premium Extension](https://www.slickremix.com/downloads/feed-them-social-premium-extension/). [Demo](https://feedthemsocial.com/facebook-page-feed-demo/)
|
1118 |
3. Facebook Popup example showing a video. [Demo](https://feedthemsocial.com/facebook-page-feed-demo/)
|