Feed & LikeBox For Facebook - Version 2.7.2

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 Icon 128x128 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 CHANGED
@@ -371,7 +371,7 @@
371
  text-align: center;
372
  position: absolute;
373
  right: 10px;
374
- left: 10px;
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.1
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'])) //post text message
95
  {
96
- $message_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, $message_text, $url))
99
  {
100
- // make the urls hyper links
101
- $message_text=preg_replace($reg_exUrl, "<a class='fb_messaage_tag' href='".$url[0]."' target='_blank'>".$url[0]."</a> ", $message_text);
102
- }
103
- // fetch url tag from post message
104
- if(isset($data_content['message_tags']))
105
- {
106
- //count url tag from post message
107
- $tag_size=sizeof($data_content['message_tags']);
108
- //fetch tag from post message
109
- for($t=0;$t<$tag_size;$t++)
 
110
  {
111
- if(isset($data_content[$t]["name"])) { $ar=$data_content[$t]["name"]; } else { $ar=""; }
112
- if(isset($data_content[$t]["id"])) { $br=$data_content[$t]["id"]; } else { $br=""; }
113
- $message_text=str_replace($ar,"<a class='fb_messaage_tag' href='http://facebook.com/".$br."' target='_blank' >".$ar."</a>",$message_text);
114
  }
115
- }
116
- // post message display
117
- if(strlen(strip_tags($message_text)) >=50)
118
- { ?>
119
- <span class="weblizar_fb_teaser message"> <?php echo substr(strip_tags($message_text),0,50); ?></span>
120
- <span class="weblizar_fb_complete"><?php echo $message_text; ?></span>
121
- <span class="feed_more" data-text="...Show less"><?php _e('...See more', WEBLIZAR_FACEBOOK_TEXT_DOMAIN);?></span>
122
- <?php }
123
- else
124
- { ?>
125
- <span><?php echo $message_text; ?></span>
126
- <?php } ?>
127
- </div>
128
- <?php }
 
 
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.5
7
- Stable tag: 2.7.1
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