Version Description
[21-05-2018] 1. HashTag and custom tag with link show in custom box slider. 2. On custom box slider Likes count display in center.
Download this release
Release Info
Developer | weblizar |
Plugin | Feed & LikeBox For Facebook |
Version | 2.7.2 |
Comparing to | |
See all releases |
Code changes from version 2.7.1 to 2.7.2
- css/custom-box-slider.css +1 -1
- css/facebook-feed-shortcode.css +9 -7
- facebook-by-weblizar.php +1 -1
- function/facebook-feed-shortcode-data.php +34 -31
- function/facebook-feed-shortcode.php +1 -0
- readme.txt +5 -2
css/custom-box-slider.css
CHANGED
@@ -371,7 +371,7 @@
|
|
371 |
text-align: center;
|
372 |
position: absolute;
|
373 |
right: 10px;
|
374 |
-
left:
|
375 |
max-width: 70px;
|
376 |
min-width: 22px;
|
377 |
top: -30px;
|
371 |
text-align: center;
|
372 |
position: absolute;
|
373 |
right: 10px;
|
374 |
+
left: -5px;
|
375 |
max-width: 70px;
|
376 |
min-width: 22px;
|
377 |
top: -30px;
|
css/facebook-feed-shortcode.css
CHANGED
@@ -610,22 +610,18 @@ margin-top: 10px !important;
|
|
610 |
|
611 |
.wp-weblizar_fb-plugin .weblizar_fb-facebook-feed-top-info-inner .fb-top-info-inner_header .fb_top_info_inner_header_link {
|
612 |
text-decoration: none;
|
613 |
-
font-size: 20px;
|
614 |
font-weight: bold;
|
615 |
color: #fff !important;
|
616 |
line-height:26ppx;
|
617 |
text-shadow: 0 2px 4px rgba(0, 0, 0, .9);
|
|
|
|
|
618 |
}
|
619 |
|
620 |
.wp-weblizar_fb-plugin.feed_main_widget .weblizar_fb-facebook-feed-top-info-inner .fb_fan_count {
|
621 |
font-size: 14px;
|
622 |
margin: 0;
|
623 |
}
|
624 |
-
.wp-weblizar_fb-plugin.feed_main_widget .weblizar_fb-facebook-feed-top-info-inner .fb-top-info-inner_header .fb_top_info_inner_header_link {
|
625 |
-
text-decoration: none;
|
626 |
-
font-size: 16px;
|
627 |
-
|
628 |
-
}
|
629 |
|
630 |
.wp-weblizar_fb-plugin .weblizar_fb_btn_secondary.feed_header_link {
|
631 |
background-color: #4875ce!important;
|
@@ -996,7 +992,7 @@ margin-top: 10px !important;
|
|
996 |
color: #e34f0e !important;
|
997 |
font-size: 14px !important;
|
998 |
word-wrap: break-word;
|
999 |
-
display: block !important
|
1000 |
}
|
1001 |
.fb_date_size
|
1002 |
{
|
@@ -1020,3 +1016,9 @@ margin-top: 10px !important;
|
|
1020 |
.suffusion-custom #sidebar-shell-1 {
|
1021 |
width: 250px;
|
1022 |
}
|
|
|
|
|
|
|
|
|
|
|
|
610 |
|
611 |
.wp-weblizar_fb-plugin .weblizar_fb-facebook-feed-top-info-inner .fb-top-info-inner_header .fb_top_info_inner_header_link {
|
612 |
text-decoration: none;
|
|
|
613 |
font-weight: bold;
|
614 |
color: #fff !important;
|
615 |
line-height:26ppx;
|
616 |
text-shadow: 0 2px 4px rgba(0, 0, 0, .9);
|
617 |
+
text-decoration: none;
|
618 |
+
font-size: 16px;
|
619 |
}
|
620 |
|
621 |
.wp-weblizar_fb-plugin.feed_main_widget .weblizar_fb-facebook-feed-top-info-inner .fb_fan_count {
|
622 |
font-size: 14px;
|
623 |
margin: 0;
|
624 |
}
|
|
|
|
|
|
|
|
|
|
|
625 |
|
626 |
.wp-weblizar_fb-plugin .weblizar_fb_btn_secondary.feed_header_link {
|
627 |
background-color: #4875ce!important;
|
992 |
color: #e34f0e !important;
|
993 |
font-size: 14px !important;
|
994 |
word-wrap: break-word;
|
995 |
+
/*display: block !important;*/
|
996 |
}
|
997 |
.fb_date_size
|
998 |
{
|
1016 |
.suffusion-custom #sidebar-shell-1 {
|
1017 |
width: 250px;
|
1018 |
}
|
1019 |
+
.post_hastag_color {
|
1020 |
+
color: #e34f0e !important;
|
1021 |
+
font-size: 14px !important;
|
1022 |
+
word-wrap: break-word;
|
1023 |
+
/*display: block !important;*/
|
1024 |
+
}
|
facebook-by-weblizar.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Feed & LikeBox For Facebook
|
4 |
-
* Version: 2.7.
|
5 |
* Description: Display the Facebook Feed and Like box on your website. Its completely customizable, responsive and search engine optimization feeds contents.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: http://www.weblizar.com
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Feed & LikeBox For Facebook
|
4 |
+
* Version: 2.7.2
|
5 |
* Description: Display the Facebook Feed and Like box on your website. Its completely customizable, responsive and search engine optimization feeds contents.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: http://www.weblizar.com
|
function/facebook-feed-shortcode-data.php
CHANGED
@@ -91,41 +91,44 @@ $page_timeline_string="https://graph.facebook.com/v2.10/".$ffp_page_url."?access
|
|
91 |
if($feed_type =='post')
|
92 |
{ ?>
|
93 |
<div class="web_interes">
|
94 |
-
<?php if(isset($data_content['message']))
|
95 |
{
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
{
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
|
|
110 |
{
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
}
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
|
|
|
|
129 |
} ?>
|
130 |
<div class=" clearfix"> </div>
|
131 |
<!-- like button -->
|
91 |
if($feed_type =='post')
|
92 |
{ ?>
|
93 |
<div class="web_interes">
|
94 |
+
<?php if(isset($data_content['message'])) //post text message
|
95 |
{
|
96 |
+
$text=$data_content['message'];
|
97 |
+
$reg_exUrl = "/(((http|https|ftp|ftps)\:\/\/)|(www\.))[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\:[0-9]+)?(\/\S*)?/";
|
98 |
+
if(preg_match($reg_exUrl, $text, $url))
|
99 |
{
|
100 |
+
// make the urls hyper links
|
101 |
+
$text=preg_replace($reg_exUrl, "<a class='fb_messaage_tag' href='".$url[0]."' target='_blank'>".$url[0]."</a> ", $text);
|
102 |
+
}
|
103 |
+
$text=preg_replace('/#(\\w+)/','<a class=post_hastag_color href=https://www.facebook.com/hashtag/$1 target=_blank>$0</a>',$text);
|
104 |
+
// fetch url tag from post message
|
105 |
+
if(isset($data_content['message_tags']))
|
106 |
+
{
|
107 |
+
//count url tag from post message
|
108 |
+
$tag_size=sizeof($data_content['message_tags']);
|
109 |
+
//fetch tag from post message
|
110 |
+
for($t=0;$t<$tag_size;$t++)
|
111 |
{
|
112 |
+
$ar=$data_content['message_tags'][$t]["name"];
|
113 |
+
$br=$data_content['message_tags'][$t]["id"];
|
114 |
+
$text=str_replace($data_content['message_tags'][$t]["name"],"<a class='fb_messaage_tag' href='http://facebook.com/".$br."' target='_blank' >".$ar."</a>",$text);
|
115 |
}
|
116 |
+
} ?>
|
117 |
+
|
118 |
+
<p class="text weblizar_fb-post_font_color">
|
119 |
+
<?php if (strlen(strip_tags($text)) >=250) // post message display
|
120 |
+
{ ?>
|
121 |
+
<span class="weblizar_fb_teaser weblizar_fb-post_font_color"><?php echo substr(strip_tags($text),0,250);?></span>
|
122 |
+
<span class="weblizar_fb_complete weblizar_fb-post_font_color" style="display:none"><?php echo $text;?></span>
|
123 |
+
<span data-text="...Show less" class="facebook_feed_more_page"><?php _e('...See more', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></span>
|
124 |
+
<?php }
|
125 |
+
else
|
126 |
+
{ ?>
|
127 |
+
<span class="weblizar_fb-post_font_color"> <?php echo $text;?></span>
|
128 |
+
<?php } ?>
|
129 |
+
</p>
|
130 |
+
|
131 |
+
<?php }
|
132 |
} ?>
|
133 |
<div class=" clearfix"> </div>
|
134 |
<!-- like button -->
|
function/facebook-feed-shortcode.php
CHANGED
@@ -93,6 +93,7 @@ set_error_handler(
|
|
93 |
// make the urls hyper links
|
94 |
$text=preg_replace($reg_exUrl, "<a class='fb_messaage_tag' href='".$url[0]."' target='_blank'>".$url[0]."</a> ", $text);
|
95 |
}
|
|
|
96 |
// fetch url tag from post message
|
97 |
if(isset($weblizar_data_post["posts"]['data'][$y]['message_tags']))
|
98 |
{
|
93 |
// make the urls hyper links
|
94 |
$text=preg_replace($reg_exUrl, "<a class='fb_messaage_tag' href='".$url[0]."' target='_blank'>".$url[0]."</a> ", $text);
|
95 |
}
|
96 |
+
$text=preg_replace('/#(\\w+)/','<a class=post_hastag_color href=https://www.facebook.com/hashtag/$1 target=_blank>$0</a>',$text);
|
97 |
// fetch url tag from post message
|
98 |
if(isset($weblizar_data_post["posts"]['data'][$y]['message_tags']))
|
99 |
{
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
|
|
3 |
Donate link: http://www.weblizar.com/
|
4 |
Tags: facebook, facebook feed, facebook like box, facebook posts, facebook page, Facebook posts, facebook widget, Facebook profile, Facebook group, facebook page feed, facebook page like box, feed, likebox
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 2.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -215,6 +215,9 @@ Go to admin dashboard => appearance => widgets => Here are available our two fac
|
|
215 |
== Changelog ==
|
216 |
|
217 |
For more information, see [Weblizar](https://weblizar.com/) .
|
|
|
|
|
|
|
218 |
|
219 |
= 2.7.1 [ 02/05/2018 ] =
|
220 |
1. tested with latest version of wp 4.9.5
|
3 |
Donate link: http://www.weblizar.com/
|
4 |
Tags: facebook, facebook feed, facebook like box, facebook posts, facebook page, Facebook posts, facebook widget, Facebook profile, Facebook group, facebook page feed, facebook page like box, feed, likebox
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.9.6
|
7 |
+
Stable tag: 2.7.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
215 |
== Changelog ==
|
216 |
|
217 |
For more information, see [Weblizar](https://weblizar.com/) .
|
218 |
+
= 2.7.2 = [21-05-2018]
|
219 |
+
1. HashTag and custom tag with link show in custom box slider.
|
220 |
+
2. On custom box slider Likes count display in center.
|
221 |
|
222 |
= 2.7.1 [ 02/05/2018 ] =
|
223 |
1. tested with latest version of wp 4.9.5
|