Version Description
- Minor bug fixed
Download this release
Release Info
Developer | webdorado |
Plugin | WD Facebook Feed – Custom Facebook Feed Plugin |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- facebook-feed-wd.php +8 -37
- readme.txt +9 -4
facebook-feed-wd.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Facebook Feed WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
|
6 |
* Description:Facebook Feed WD is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
|
7 |
-
* Version: 1.0.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -175,48 +175,19 @@ function ffwd_ajax() {
|
|
175 |
}
|
176 |
}
|
177 |
|
178 |
-
function ffwd_shortcode($params)
|
|
|
179 |
require_once(WD_FFWD_DIR . '/framework/WDW_FFWD_Library.php');
|
180 |
|
181 |
|
182 |
-
///////////////Araqel
|
183 |
global $wpdb;
|
184 |
-
/*$params=$wpdb->get_row($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "wd_fb_info WHERE id='%d'", $params['id']),ARRAY_A );
|
185 |
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
/*if (isset($params['id'])) {
|
193 |
-
global $wpdb;
|
194 |
-
$shortcode = $wpdb->get_var($wpdb->prepare("SELECT id FROM " . $wpdb->prefix . "wd_fb_shortcode WHERE id='%d'", $params['id']));
|
195 |
-
if ($shortcode) {
|
196 |
-
$shortcode_params = explode('" ', $shortcode);
|
197 |
-
foreach ($shortcode_params as $shortcode_param) {
|
198 |
-
$shortcode_param = str_replace('"', '', $shortcode_param);
|
199 |
-
$shortcode_elem = explode('=', $shortcode_param);
|
200 |
-
$params[str_replace(' ', '', $shortcode_elem[0])] = $shortcode_elem[1];
|
201 |
-
}
|
202 |
-
}
|
203 |
-
else {
|
204 |
-
echo WDW_FFWD_Library::message(__('Please update your shortcode.', 'bwg'), 'error');
|
205 |
return;
|
206 |
}
|
207 |
-
|
208 |
-
// We need this check if user edit fb feed
|
209 |
-
|
210 |
-
//$params = WDW_FFWD_Library::filter_params($params);
|
211 |
-
|
212 |
-
if(!$params) return;
|
213 |
-
foreach ($params as $key => $param) {
|
214 |
-
if (empty($param[$key]) == FALSE) {
|
215 |
-
$param[$key] = esc_html(addslashes($param[$key]));
|
216 |
-
}
|
217 |
-
}
|
218 |
-
*/
|
219 |
-
$params['fb_id']=$params['id'];
|
220 |
ob_start();
|
221 |
ffwd_front_end($params);
|
222 |
return str_replace(array("\r\n", "\n", "\r"), '', ob_get_clean());
|
@@ -635,7 +606,7 @@ add_action('init', 'ffwd_language_load');
|
|
635 |
|
636 |
function ffwd_version(){
|
637 |
|
638 |
-
$version = '1.0.
|
639 |
|
640 |
if(get_option('ffwd_version')===false)
|
641 |
{
|
4 |
* Plugin Name: Facebook Feed WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
|
6 |
* Description:Facebook Feed WD is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
|
7 |
+
* Version: 1.0.1
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
175 |
}
|
176 |
}
|
177 |
|
178 |
+
function ffwd_shortcode($params)
|
179 |
+
{
|
180 |
require_once(WD_FFWD_DIR . '/framework/WDW_FFWD_Library.php');
|
181 |
|
182 |
|
|
|
183 |
global $wpdb;
|
|
|
184 |
|
185 |
+
$check_fb_feed = $wpdb->get_var($wpdb->prepare("SELECT id FROM " . $wpdb->prefix . "wd_fb_info WHERE id='%d'", $params['id']));
|
186 |
+
if (!$check_fb_feed) {
|
187 |
+
echo WDW_FFWD_Library::message(__('Feed Doesn\'t exists', 'bwg'), 'error');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
return;
|
189 |
}
|
190 |
+
$params['fb_id'] = $params['id'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
ob_start();
|
192 |
ffwd_front_end($params);
|
193 |
return str_replace(array("\r\n", "\n", "\r"), '', ob_get_clean());
|
606 |
|
607 |
function ffwd_version(){
|
608 |
|
609 |
+
$version = '1.0.1';
|
610 |
|
611 |
if(get_option('ffwd_version')===false)
|
612 |
{
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
|
|
4 |
Tags: custom facebook feed,custom, customizable, customizable facebook feed, face book, facebook, facebook embed, facebook events, facebook fans, facebook feed, facebook feeds, facebook followers, facebook group, facebook groups, facebook hashtag, facebook like box, facebook likes, facebook Page, facebook pages, facebook plug-in, facebook plugin, facebook postings, facebook posts, facebook wall, facebook walls, facebooks, mobile, posts, responsive, seo, social media, events, facebook photo, facebook photos, responsive facebook feed,, widget, facebook profile, likebox, popup
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.5
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -18,12 +18,14 @@ Facebook Feed WD is a comprehensive tool for displaying Facebook feed, events an
|
|
18 |
[User Guide](https://web-dorado.com/wordpress-facebook-feed/installing.html)
|
19 |
[Support Forum](https://web-dorado.com/forum/facebook-feed-wd.html)
|
20 |
|
21 |
-
Do you plan to make your website more social? Do you want to include Facebook feeds based on a page/public group/your profile within a few steps? Do you want to control the content length, type and styling? Facebook
|
22 |
|
23 |
Facebook Feed WD is a comprehensive tool for displaying Facebook feeds, events and photos in your website. With this plugin you will be able to display content from any page, public group and your profile (Pro version).
|
24 |
|
25 |
-
|
26 |
-
You can set the number of posts to be displayed.
|
|
|
|
|
27 |
|
28 |
The number of displayed Facebook feeds per each post/page is unlimited. You can add Facebook feeds based on different pages, groups and profile (Pro) within the same page. For Facebook pages and groups you can choose the user roles whose posts will be shared- page owner/ group admin, group member/page fans or both.Hashtags and mentions included in posts will be preserved.
|
29 |
|
@@ -64,6 +66,9 @@ Upgrade to [Facebook Feed Pro](https://web-dorado.com/products/wordpress-faceboo
|
|
64 |
|
65 |
== Changelog ==
|
66 |
|
|
|
|
|
|
|
67 |
= 1.0.0 =
|
68 |
* Initial version
|
69 |
|
4 |
Tags: custom facebook feed,custom, customizable, customizable facebook feed, face book, facebook, facebook embed, facebook events, facebook fans, facebook feed, facebook feeds, facebook followers, facebook group, facebook groups, facebook hashtag, facebook like box, facebook likes, facebook Page, facebook pages, facebook plug-in, facebook plugin, facebook postings, facebook posts, facebook wall, facebook walls, facebooks, mobile, posts, responsive, seo, social media, events, facebook photo, facebook photos, responsive facebook feed,, widget, facebook profile, likebox, popup
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.5
|
7 |
+
Stable tag: 1.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
18 |
[User Guide](https://web-dorado.com/wordpress-facebook-feed/installing.html)
|
19 |
[Support Forum](https://web-dorado.com/forum/facebook-feed-wd.html)
|
20 |
|
21 |
+
Do you plan to make your website more social? Do you want to include Facebook feeds based on a page/public group/your profile within a few steps? Do you want to control the content length, type and styling? WordPress Facebook feed plugin will offer these and hundreds of more options.
|
22 |
|
23 |
Facebook Feed WD is a comprehensive tool for displaying Facebook feeds, events and photos in your website. With this plugin you will be able to display content from any page, public group and your profile (Pro version).
|
24 |
|
25 |
+
Using this WordPress Facebook feed plugin you can contantly refresh your feed: either removing old content and replacing it with fresh posts or adding-up to the existing list of posts.
|
26 |
+
You can set the number of posts to be displayed.
|
27 |
+
|
28 |
+
You can display feeds in posts/pages using WordPress Facebook feed plugin shortcode or display them in widget area using the widget.
|
29 |
|
30 |
The number of displayed Facebook feeds per each post/page is unlimited. You can add Facebook feeds based on different pages, groups and profile (Pro) within the same page. For Facebook pages and groups you can choose the user roles whose posts will be shared- page owner/ group admin, group member/page fans or both.Hashtags and mentions included in posts will be preserved.
|
31 |
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 1.0.1 =
|
70 |
+
* Minor bug fixed
|
71 |
+
|
72 |
= 1.0.0 =
|
73 |
* Initial version
|
74 |
|