Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp - Version 4.2.6

Version Description

  • Added: Open links in new tab option.
  • Added: Polish translation files (thanks to a user)
  • Stability: Tested up to WordPress version 4.5.3
  • Other optimzation of code to reduce the size.
Download this release

Release Info

Developer sjaved
Plugin Icon 128x128 Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp
Version 4.2.6
Comparing to
See all releases

Code changes from version 4.2.5 to 4.2.6

README.txt CHANGED
@@ -1,14 +1,14 @@
1
  === Easy Facebook Like Box - Custom Facebook Feed - Auto PopUp ===
2
- Contributors: sjaved, DaNish Ali
3
  Tags: easy custom facebook feed, facebook feed, facebook page plugin, page plugin, adoptive, facebook, facebook like box,, like box, facebook like box, facebook like box widget, facebook like box shortcodes, shortcodes, facebook like box plugin, facebook like box wordpress plugin, plugin, responsive facebook like box, responsive, facebook like box in 75 locales, facebook like box in 75 languages, custom facebook feed, facebook like box in PopUp, PopUp, Auto PopUp, like box in PopUp, fancybox, lightbox, seo, social media, facebook badge, facebook button, facebook connect, facebook facepile, Facebook fan page, wordpress facebook like box, facebook share, facebook integration, shortcode generator, advanced responsive facebook likebox, facebook wall, facebook sidebar, facebook recommend, like box facebook, open graph, facebook page, facebook group, rt facebook like box, sharebar
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sjaved786%40gmail%2ecom&lc=US&item_name=Easy%20Facebook%20Like%20Box%20WordPress%20Plugin&item_number=efbl&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 3.3
6
- Tested up to: 4.5.2
7
- Stable tag: 4.2.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Easy facebook like box WordPress plugin allows to display custom facebook feed, page plugin (like box), like button, using widget, shortcode, PopUp.
12
 
13
  == Description ==
14
 
@@ -50,7 +50,7 @@ You can use easy facebook like box in number of ways:
50
  * Display custom facebook feed in sidebar using widget.
51
 
52
  * Display custom facebook feed in posts or pages using shortcode. Genraete shortcode using widget or add this shortcode and modify the values manually.
53
- `[efb_feed fanpage_url="YOUR_FB_FANPAGE_NAME_OR_URL" layout="CHOSE_LAYOUT(thumbnail/half/full)" image_size="CHOSE_IMAGE_SIZE(thumbnail/album/normal)" type="CHOSE_TYPE(page/group)" post_by="DISPLAY_POSTS_FROM(me/others/onlyothers)" show_logo="SHOW_HIDE_PAGE_LOGO(1/0)" show_image="SHOW_HIDE_IMAGES(1/0)" show_like_box="SHOW_HIDE_LIKEBOX(1/0)" post_number="NUMBER_OF_POST_DISPALAY(10)" post_limit="NUMBER_OF_POST_RETRIEVE(10)" cache_unit="NUMMBER_OF_MINUTES_HOURS_DAYS(1)" cache_duration="SELECT_CACHE_DURATION(minutes/hours/days)" ]`
54
 
55
 
56
  * Want to display in a template paste below code along with your optional settings.
@@ -72,6 +72,7 @@ You can use easy facebook like box in number of ways:
72
  * Want to display in a template paste below code along with your optional settings.
73
  `<?php echo do_shortcode( '[efb_likebox fanpage_url="YOUR_FB_FANPAGE_NAME_OR_URL" fb_appid="OPTIONAL_SEE_FAQ" box_width="WIDTH_OF_BOX_IN_PIXELS" box_height=HEIGHT_OF_BOX_IN_PIXELS"" responsive="1" show_faces="SHOW_CONNECTIONS(1/0)" show_stream="SHOW_STREAM_POSTS(1/0)" hide_cover="HIDE_COVER_PHOTO(1/0)" small_header="USE_SMALL_HEADER(1/0)" hide_cta="OPTONAL_HIDE_CUSTOM_CTA_BUTTON(1/0)" locale="NAME_OF_YOUR_LANGUAGE_LOCAE(default en_US)"]' ); ?>`
74
 
 
75
 
76
  **Need support** feel free to open support ticket:
77
  [Support](https://wordpress.org/support/plugin/easy-facebook-likebox "Support")
@@ -82,6 +83,9 @@ You can use easy facebook like box in number of ways:
82
  3. Navigate to "Appearance > Widgets" and drag and drop "Easy Facebook Likebox" in desired widget area or use the shortcode in page/post generated by widget.
83
 
84
  == Upgrade Notice ==
 
 
 
85
  = 4.2.5 =
86
  Upadte to ensuer the maximum compatiblity with other themes and plugins.
87
 
@@ -142,6 +146,12 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
142
 
143
 
144
  == Changelog ==
 
 
 
 
 
 
145
  = 4.2.5 =
146
  * Mobile_Detect redclare class error.
147
  * Other optimzation of code to reduce the size.
1
  === Easy Facebook Like Box - Custom Facebook Feed - Auto PopUp ===
2
+ Contributors: sjaved, DaNish Ali, jwebsol
3
  Tags: easy custom facebook feed, facebook feed, facebook page plugin, page plugin, adoptive, facebook, facebook like box,, like box, facebook like box, facebook like box widget, facebook like box shortcodes, shortcodes, facebook like box plugin, facebook like box wordpress plugin, plugin, responsive facebook like box, responsive, facebook like box in 75 locales, facebook like box in 75 languages, custom facebook feed, facebook like box in PopUp, PopUp, Auto PopUp, like box in PopUp, fancybox, lightbox, seo, social media, facebook badge, facebook button, facebook connect, facebook facepile, Facebook fan page, wordpress facebook like box, facebook share, facebook integration, shortcode generator, advanced responsive facebook likebox, facebook wall, facebook sidebar, facebook recommend, like box facebook, open graph, facebook page, facebook group, rt facebook like box, sharebar
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sjaved786%40gmail%2ecom&lc=US&item_name=Easy%20Facebook%20Like%20Box%20WordPress%20Plugin&item_number=efbl&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 3.3
6
+ Tested up to: 4.6
7
+ Stable tag: 4.2.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Easy facebook like box WordPress plugin allows to display custom facebook feed, page plugin (like box), like button, using widget, shortcode, PopUp.
12
 
13
  == Description ==
14
 
50
  * Display custom facebook feed in sidebar using widget.
51
 
52
  * Display custom facebook feed in posts or pages using shortcode. Genraete shortcode using widget or add this shortcode and modify the values manually.
53
+ `[efb_feed fanpage_url="YOUR_FB_FANPAGE_NAME_OR_URL" layout="CHOSE_LAYOUT(thumbnail/half/full)" image_size="CHOSE_IMAGE_SIZE(thumbnail/album/normal)" type="CHOSE_TYPE(page/group)" post_by="DISPLAY_POSTS_FROM(me/others/onlyothers)" show_logo="SHOW_HIDE_PAGE_LOGO(1/0)" show_image="SHOW_HIDE_IMAGES(1/0)" show_like_box="SHOW_HIDE_LIKEBOX(1/0)" links_new_tab="OPEN_LINKS_IN_EXTERNAL_TAB(1/0)" post_number="NUMBER_OF_POST_DISPALAY(10)" post_limit="NUMBER_OF_POST_RETRIEVE(10)" cache_unit="NUMMBER_OF_MINUTES_HOURS_DAYS(1)" cache_duration="SELECT_CACHE_DURATION(minutes/hours/days)" ]`
54
 
55
 
56
  * Want to display in a template paste below code along with your optional settings.
72
  * Want to display in a template paste below code along with your optional settings.
73
  `<?php echo do_shortcode( '[efb_likebox fanpage_url="YOUR_FB_FANPAGE_NAME_OR_URL" fb_appid="OPTIONAL_SEE_FAQ" box_width="WIDTH_OF_BOX_IN_PIXELS" box_height=HEIGHT_OF_BOX_IN_PIXELS"" responsive="1" show_faces="SHOW_CONNECTIONS(1/0)" show_stream="SHOW_STREAM_POSTS(1/0)" hide_cover="HIDE_COVER_PHOTO(1/0)" small_header="USE_SMALL_HEADER(1/0)" hide_cta="OPTONAL_HIDE_CUSTOM_CTA_BUTTON(1/0)" locale="NAME_OF_YOUR_LANGUAGE_LOCAE(default en_US)"]' ); ?>`
74
 
75
+ Thanks to *Marek Sierociński* for translating this plugin into polish language
76
 
77
  **Need support** feel free to open support ticket:
78
  [Support](https://wordpress.org/support/plugin/easy-facebook-likebox "Support")
83
  3. Navigate to "Appearance > Widgets" and drag and drop "Easy Facebook Likebox" in desired widget area or use the shortcode in page/post generated by widget.
84
 
85
  == Upgrade Notice ==
86
+ = 4.2.5 =
87
+ Recent update with open external links in new tab option and little improvements here and there.
88
+
89
  = 4.2.5 =
90
  Upadte to ensuer the maximum compatiblity with other themes and plugins.
91
 
146
 
147
 
148
  == Changelog ==
149
+ = 4.2.6 =
150
+ * Added: Open links in new tab option.
151
+ * Added: Polish translation files (thanks to a user)
152
+ * Stability: Tested up to WordPress version 4.5.3
153
+ * Other optimzation of code to reduce the size.
154
+
155
  = 4.2.5 =
156
  * Mobile_Detect redclare class error.
157
  * Other optimzation of code to reduce the size.
admin/assets/css/admin.css CHANGED
@@ -60,4 +60,8 @@ div#easy-facebook-likebox_popup_advanced{
60
  }
61
  .efbl_donation a:hover{
62
  background: #67BD7B;
63
- }
 
 
 
 
60
  }
61
  .efbl_donation a:hover{
62
  background: #67BD7B;
63
+ }
64
+ #easy-facebook-how_to code{
65
+
66
+ display: block;
67
+ }
admin/easy-facebook-likebox-admin.php CHANGED
@@ -273,9 +273,6 @@ class Easy_Facebook_Likebox_Admin {
273
  if ( get_site_option( $version_key ) == $plugin_verstion && get_site_option( $notice_key ) == 1 ) return;
274
 
275
  $msg = sprintf(__('Thanks for installting/upgrading the Easy Facebook Likebox Plugin! If you like this plugin, please consider some <a href="%s" target="_blank">donation</a> and/or <a href="%s" target="_blank">rating it</a>!
276
-
277
- I would really appreciate if you could spare 30 to <a href="https://apps.facebook.com/my-polls/form/what-feature-you-use-mostly-in-plugin?from=admin_wall" target="_blank">answer a simple question</a>.
278
-
279
  Support us by liking our facebook fan page and/or become follower at twitter!
280
 
281
  <div id="fb-root"></div>
273
  if ( get_site_option( $version_key ) == $plugin_verstion && get_site_option( $notice_key ) == 1 ) return;
274
 
275
  $msg = sprintf(__('Thanks for installting/upgrading the Easy Facebook Likebox Plugin! If you like this plugin, please consider some <a href="%s" target="_blank">donation</a> and/or <a href="%s" target="_blank">rating it</a>!
 
 
 
276
  Support us by liking our facebook fan page and/or become follower at twitter!
277
 
278
  <div id="fb-root"></div>
admin/views/instructinos.php CHANGED
@@ -19,7 +19,7 @@
19
  <ol>
20
  <li> <?php _e('Add the "Easy Facebook Feed" widget in sidebar to show the feed into your website sidebar', 'easy-facebook-likebox');?></li>
21
  <li> <?php _e('Add "Easy Facebook Feed" widget in sidebar and generate shortcode by saving the widgets option to show custom facebook feed in posts, pages or custom posts.', 'easy-facebook-likebox');?> </li>
22
- <li> <?php _e('You can also directly add below shortcode (without quotes) in post/page editor and change default values with your custom one according to your needs and requirments. "[efb_feed fanpage_url="YOUR_FB_FANPAGE_NAME_OR_URL" layout="CHOSE_LAYOUT(thumbnail/half/full)" image_size="CHOSE_IMAGE_SIZE(thumbnail/album/normal)" type="CHOSE_TYPE(page/group)" post_by="DISPLAY_POSTS_FROM(me/others/onlyothers)" show_logo="SHOW_HIDE_PAGE_LOGO(1/0)" show_image="SHOW_HIDE_IMAGES(1/0)" show_like_box="SHOW_HIDE_LIKEBOX(1/0)" post_number="NUMBER_OF_POST_DISPALAY(10)" post_limit="NUMBER_OF_POST_RETRIEVE(10)" cache_unit="NUMMBER_OF_MINUTES_HOURS_DAYS(1)" cache_duration="SELECT_CACHE_DURATION(minutes/hours/days)"] ', 'easy-facebook-likebox');?>
23
  </li>
24
  </ol>
25
  </p>
@@ -31,7 +31,7 @@
31
  <ol>
32
  <li> <?php _e('Add the "Easy Facebook Likebox" widget in sidebar to show the like box in your website sidebar', 'easy-facebook-likebox');?></li>
33
  <li> <?php _e('Add widget in sidebar and generate shortcode by saving the widgets option to show likebox somewhere else on your website.', 'easy-facebook-likebox');?> </li>
34
- <li> <?php _e('You can also directly add below shortcode (without quotes) in post/page editor and change default values with your custom one according to your needs and requirments. "[efb_likebox fanpage_url="YOUR_FB_FANPAGE_NAME_OR_URL" fb_appid="OPTIONAL_SEE_FAQ" box_width="WIDTH_OF_BOX_IN_PIXELS" box_height=HEIGHT_OF_BOX_IN_PIXELS"" responsive="1" show_faces="SHOW_CONNECTIONS(1/0)" show_stream="SHOW_STREAM_POSTS(1/0)" hide_cover="HIDE_COVER_PHOTO(1/0)" small_header="USE_SMALL_HEADER(1/0)" hide_cta="OPTONAL_HIDE_CUSTOM_CTA_BUTTON(1/0)" locale="NAME_OF_YOUR_LANGUAGE_LOCAE(default en_US)"]', 'easy-facebook-likebox');?>
35
  </li>
36
  </ol>
37
  </p>
19
  <ol>
20
  <li> <?php _e('Add the "Easy Facebook Feed" widget in sidebar to show the feed into your website sidebar', 'easy-facebook-likebox');?></li>
21
  <li> <?php _e('Add "Easy Facebook Feed" widget in sidebar and generate shortcode by saving the widgets option to show custom facebook feed in posts, pages or custom posts.', 'easy-facebook-likebox');?> </li>
22
+ <li> <?php _e('You can also directly add below shortcode (without quotes) in post/page editor and change default values with your custom one according to your needs and requirments. <code>[efb_feed fanpage_url="YOUR_FB_FANPAGE_NAME_OR_URL" layout="CHOSE_LAYOUT(thumbnail/half/full)" image_size="CHOSE_IMAGE_SIZE(thumbnail/album/normal)" type="CHOSE_TYPE(page/group)" post_by="DISPLAY_POSTS_FROM(me/others/onlyothers)" show_logo="SHOW_HIDE_PAGE_LOGO(1/0)" show_image="SHOW_HIDE_IMAGES(1/0)" show_like_box="SHOW_HIDE_LIKEBOX(1/0)" links_new_tab="OPEN_LINKS_IN_EXTERNAL_TAB(1/0)" post_number="NUMBER_OF_POST_DISPALAY(10)" post_limit="NUMBER_OF_POST_RETRIEVE(10)" cache_unit="NUMMBER_OF_MINUTES_HOURS_DAYS(1)" cache_duration="SELECT_CACHE_DURATION(minutes/hours/days)"] </code>', 'easy-facebook-likebox');?>
23
  </li>
24
  </ol>
25
  </p>
31
  <ol>
32
  <li> <?php _e('Add the "Easy Facebook Likebox" widget in sidebar to show the like box in your website sidebar', 'easy-facebook-likebox');?></li>
33
  <li> <?php _e('Add widget in sidebar and generate shortcode by saving the widgets option to show likebox somewhere else on your website.', 'easy-facebook-likebox');?> </li>
34
+ <li> <?php _e('You can also directly add below shortcode (without quotes) in post/page editor and change default values with your custom one according to your needs and requirments. <code>[efb_likebox fanpage_url="YOUR_FB_FANPAGE_NAME_OR_URL" fb_appid="OPTIONAL_SEE_FAQ" box_width="WIDTH_OF_BOX_IN_PIXELS" box_height=HEIGHT_OF_BOX_IN_PIXELS"" responsive="1" show_faces="SHOW_CONNECTIONS(1/0)" show_stream="SHOW_STREAM_POSTS(1/0)" hide_cover="HIDE_COVER_PHOTO(1/0)" small_header="USE_SMALL_HEADER(1/0)" hide_cta="OPTONAL_HIDE_CUSTOM_CTA_BUTTON(1/0)" locale="NAME_OF_YOUR_LANGUAGE_LOCAE(default en_US)"]</code>', 'easy-facebook-likebox');?>
35
  </li>
36
  </ol>
37
  </p>
admin/views/support-us.php CHANGED
@@ -29,5 +29,3 @@
29
  <h1> Follow me at twitter</h1>
30
  <a href="https://twitter.com/SajidJavaid" class="twitter-follow-button" data-show-count="false">Follow @SajidJavaid</a>
31
  <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");</script>
32
-
33
- I would really appreciate if you could spare 30 to <a href="https://apps.facebook.com/my-polls/form/what-feature-you-use-mostly-in-plugin?from=admin_wall" target="_blank">answer a simple question</a>.
29
  <h1> Follow me at twitter</h1>
30
  <a href="https://twitter.com/SajidJavaid" class="twitter-follow-button" data-show-count="false">Follow @SajidJavaid</a>
31
  <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");</script>
 
 
easy-facebook-likebox.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Easy Facebook Likebox
4
  * Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
5
  * Description: Easy Facebook like box WordPress plugin allows you to easly display facebook like box fan page on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generated after saving the facebook like box widget. Additionally it also now allows you to dipslay the cusetomized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
6
- * Version: 4.2.5
7
  * Author: Sajid Javed
8
  * Author URI: http://jwebsol.com
9
  * Text Domain: easy-facebook-likebox
3
  * Plugin Name: Easy Facebook Likebox
4
  * Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
5
  * Description: Easy Facebook like box WordPress plugin allows you to easly display facebook like box fan page on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generated after saving the facebook like box widget. Additionally it also now allows you to dipslay the cusetomized facebook feed on your website using the same color scheme of your website. Its completely customizable with lots of optional settings. Its also responsive facebook like box at the same time.
6
+ * Version: 4.2.6
7
  * Author: Sajid Javed
8
  * Author URI: http://jwebsol.com
9
  * Text Domain: easy-facebook-likebox
includes/easy-custom-facebook-feed-widget.php CHANGED
@@ -134,9 +134,9 @@ class Easy_Custom_Facebook_Feed_Widget extends WP_Widget {
134
  'show_logo' => 1,
135
  'show_image' => 1,
136
  'show_like_box' => 1,
 
137
  'cache_unit' => 1,
138
  'cache_duration' => 'hours',
139
- 'show_like_box' => 1,
140
  'locale' => 'en_US',
141
  'locale_other'=> ''
142
  );
@@ -229,6 +229,12 @@ class Easy_Custom_Facebook_Feed_Widget extends WP_Widget {
229
  <label for="<?php echo $this->get_field_id( 'show_like_box' ); ?>"><?php _e( 'Show like box', 'easy-facebook-likebox' ); ?></label>
230
 
231
  </p>
 
 
 
 
 
 
232
 
233
  <div class="clearfix"></div>
234
  <p>
@@ -255,9 +261,11 @@ class Easy_Custom_Facebook_Feed_Widget extends WP_Widget {
255
  $show_logo = ( isset( $show_logo ) ) ? $show_logo : 0;
256
  $show_image = ( isset( $show_image ) ) ? $show_image : 0;
257
  $show_like_box = ( isset( $show_like_box ) ) ? $show_like_box : 0;
 
 
258
  ?>
259
 
260
- <p style="background:#ddd; padding:5px; "><?php echo '[efb_feed fanpage_url="'.$fanpage_url.'" layout="'.$layout.'" image_size="'.$image_size.'" type="'.$type.'" post_by="'.$post_by.'" show_logo="'.$show_logo.'" show_image="'.$show_image.'" show_like_box="'.$show_like_box.'" post_number="'.$post_number.'" post_limit="'.$post_limit.'" cache_unit="'.$cache_unit.'" cache_duration="'.$cache_duration.'" ]'?></p>
261
  </div>
262
  <?php
263
  }
@@ -296,6 +304,8 @@ class Easy_Custom_Facebook_Feed_Widget extends WP_Widget {
296
 
297
  $instance['show_like_box'] = ( ! empty( $new_instance['show_like_box'] ) ) ? strip_tags( $new_instance['show_like_box'] ) : '';
298
 
 
 
299
  $instance['cache_unit'] = ( ! empty( $new_instance['cache_unit'] ) ) ? strip_tags( $new_instance['cache_unit'] ) : '';
300
 
301
  $instance['cache_duration'] = ( ! empty( $new_instance['cache_duration'] ) ) ? strip_tags( $new_instance['cache_duration'] ) : '';
134
  'show_logo' => 1,
135
  'show_image' => 1,
136
  'show_like_box' => 1,
137
+ 'links_new_tab' => '1',
138
  'cache_unit' => 1,
139
  'cache_duration' => 'hours',
 
140
  'locale' => 'en_US',
141
  'locale_other'=> ''
142
  );
229
  <label for="<?php echo $this->get_field_id( 'show_like_box' ); ?>"><?php _e( 'Show like box', 'easy-facebook-likebox' ); ?></label>
230
 
231
  </p>
232
+
233
+ <p class="widget-half">
234
+ <input type="checkbox" class="widefat" id="<?php echo $this->get_field_id( 'links_new_tab' ); ?>" name="<?php echo $this->get_field_name( 'links_new_tab' ); ?>" value="1" <?php checked( $links_new_tab, 1 ); ?>>
235
+ <label for="<?php echo $this->get_field_id( 'links_new_tab' ); ?>"><?php _e( 'Open links in New tab', 'easy-facebook-likebox' ); ?></label>
236
+
237
+ </p>
238
 
239
  <div class="clearfix"></div>
240
  <p>
261
  $show_logo = ( isset( $show_logo ) ) ? $show_logo : 0;
262
  $show_image = ( isset( $show_image ) ) ? $show_image : 0;
263
  $show_like_box = ( isset( $show_like_box ) ) ? $show_like_box : 0;
264
+ $links_new_tab = ( isset( $links_new_tab ) ) ? $links_new_tab : '1';
265
+
266
  ?>
267
 
268
+ <p style="background:#ddd; padding:5px; "><?php echo '[efb_feed fanpage_url="'.$fanpage_url.'" layout="'.$layout.'" image_size="'.$image_size.'" type="'.$type.'" post_by="'.$post_by.'" show_logo="'.$show_logo.'" show_image="'.$show_image.'" show_like_box="'.$show_like_box.'" links_new_tab="'.$links_new_tab.'" post_number="'.$post_number.'" post_limit="'.$post_limit.'" cache_unit="'.$cache_unit.'" cache_duration="'.$cache_duration.'" ]'?></p>
269
  </div>
270
  <?php
271
  }
304
 
305
  $instance['show_like_box'] = ( ! empty( $new_instance['show_like_box'] ) ) ? strip_tags( $new_instance['show_like_box'] ) : '';
306
 
307
+ $instance['links_new_tab'] = ( ! empty( $new_instance['links_new_tab'] ) ) ? strip_tags( $new_instance['links_new_tab'] ) : '';
308
+
309
  $instance['cache_unit'] = ( ! empty( $new_instance['cache_unit'] ) ) ? strip_tags( $new_instance['cache_unit'] ) : '';
310
 
311
  $instance['cache_duration'] = ( ! empty( $new_instance['cache_duration'] ) ) ? strip_tags( $new_instance['cache_duration'] ) : '';
languages/easy-facebook-likebox-pl_PL.mo ADDED
Binary file
languages/easy-facebook-likebox-pl_PL.po ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Easy facebook likebox\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/plugins/easy-facebook-likebox\n"
5
+ "POT-Creation-Date: 2014-05-10 11:23:19+00:00\n"
6
+ "PO-Revision-Date: Thu Jun 23 2016 12:08:08 GMT+0200 (CEST)\n"
7
+ "Last-Translator: admin <mareksierocinski@gmail.com>\n"
8
+ "Language-Team: JWS <info@jwebsol.com >\n"
9
+ "Language: Polish\n"
10
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10 >= 2 && n%10<=4 "
11
+ "&&(n%100<10||n%100 >= 20)? 1 : 2)\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Generator: Loco - https://localise.biz/\n"
17
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
18
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
19
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
+ "X-Poedit-Basepath: ../\n"
23
+ "X-Poedit-SearchPath-0: .\n"
24
+ "X-Loco-Target-Locale: pl_PL"
25
+
26
+ #: ../admin/easy-facebook-likebox-admin.php:174
27
+ #: ../admin/easy-facebook-likebox-admin.php:175
28
+ msgid "Easy Fcebook Likebox PRO"
29
+ msgstr "Easy Facebook Likebox PRO"
30
+
31
+ #: ../admin/easy-facebook-likebox-admin.php:189
32
+ msgid "How to use this plugin"
33
+ msgstr "Jak używać tej wtyczki"
34
+
35
+ #: ../admin/easy-facebook-likebox-admin.php:190
36
+ msgid "Like box pup up settings"
37
+ msgstr "Ustawienia Like box PopUp"
38
+
39
+ #: ../admin/easy-facebook-likebox-admin.php:191
40
+ msgid "Support us by liking our fan page and/or consider some dontaion!"
41
+ msgstr "Wesprzyj nas przez polajkowanie fanpage i/lub wesprzyj nas finansowo!"
42
+
43
+ #: ../admin/easy-facebook-likebox-admin.php:241
44
+ msgid "Settings"
45
+ msgstr "Ustawienia"
46
+
47
+ #: ../admin/easy-facebook-likebox-admin.php:262
48
+ #, c-format
49
+ msgid ""
50
+ "Thanks for installting/upgrading the Easy Facebook Likebox Plugin! If you "
51
+ "like this plugin, please consider some <a href=\"%s\" "
52
+ "target=\"_blank\">donation</a> and/or <a href=\"%s\" target=\"_blank\">rating "
53
+ "it</a>! \n"
54
+ msgstr ""
55
+ "Dzięki za instalację/upgrade wtyczki Easy Facebook Likebox! Jeżeli podoba Ci "
56
+ "się ta wtyczka, to może pomyśl o <a href=\"%s\" target=\"_blank\">wsparciu "
57
+ "finansowym</a> i/lub <a href=\"%s\" target=\"_blank\">wystawieniu oceny</a>! "
58
+
59
+ #: ../admin/easy-facebook-likebox-admin.php:275
60
+ msgid "I have supported already"
61
+ msgstr "Już wsparłem"
62
+
63
+ #: ../admin/easy-facebook-likebox-admin.php:263
64
+ msgid "Support us by liking our facebook fan page!"
65
+ msgstr "Wesprzyj nas przez polubienie naszego facebook'owego fanpage'a!"
66
+
67
+ #: ../admin/easy-facebook-likebox-admin.php:319
68
+ msgid "Like box pup up advanced settings"
69
+ msgstr "Zaawansowane ustawienia Like box PopUp"
70
+
71
+ #: ../admin/easy-facebook-likebox-admin.php:328
72
+ msgid "Enable PopUp"
73
+ msgstr "Włącz PopUp"
74
+
75
+ #: ../admin/easy-facebook-likebox-admin.php:333
76
+ msgid "Activate this setting to display the header."
77
+ msgstr "Aktywuj tą opcję aby wyświetlić nagłówek."
78
+
79
+ #: ../admin/easy-facebook-likebox-admin.php:340
80
+ msgid "PopUp Delay after page load"
81
+ msgstr "Opóźnienie PopUp'a po przeładowaniu strony"
82
+
83
+ #: ../admin/easy-facebook-likebox-admin.php:345
84
+ msgid "Delay in miliseconds. 1000 ms = 1 second."
85
+ msgstr "Opóźnienie w milisekundach. 1000 ms = 1 sekunda."
86
+
87
+ #: ../admin/easy-facebook-likebox-admin.php:353
88
+ msgid "PopUp Width."
89
+ msgstr "Szerokość PopUp'a."
90
+
91
+ #: ../admin/easy-facebook-likebox-admin.php:358
92
+ msgid "Width in pixels."
93
+ msgstr "Szerokość w pikselach."
94
+
95
+ #: ../admin/easy-facebook-likebox-admin.php:365
96
+ msgid "PopUp height"
97
+ msgstr "Wysokość PopUp'a."
98
+
99
+ #: ../admin/easy-facebook-likebox-admin.php:370
100
+ msgid "Height in pixels."
101
+ msgstr "Wysokość w pikselach."
102
+
103
+ #: ../admin/easy-facebook-likebox-admin.php:377
104
+ msgid "PopUp content"
105
+ msgstr "Zawartość PopUp'a."
106
+
107
+ #: ../admin/easy-facebook-likebox-admin.php:382
108
+ msgid ""
109
+ "You can generate easy facebook like box shortcode from Widgets > Easy "
110
+ "Facebook LikeBox."
111
+ msgstr ""
112
+ "Możesz łatwo wygenerować shortcode like box facebook'a w Widgety > Easy "
113
+ "Facebook Likebox."
114
+
115
+ #: ../admin/easy-facebook-likebox-admin.php:388
116
+ msgid "Show on home only"
117
+ msgstr "Pokaż tylko na głównej"
118
+
119
+ #: ../admin/easy-facebook-likebox-admin.php:393
120
+ msgid "Display PopUp on home page only."
121
+ msgstr "Pokaż PopUp tylko na mojej stronie głównej."
122
+
123
+ #: ../admin/easy-facebook-likebox-admin.php:399
124
+ msgid "Enable if visitor is logged in"
125
+ msgstr "Włącz jeżeli odwiedzający jest zalogowany"
126
+
127
+ #: ../admin/easy-facebook-likebox-admin.php:404
128
+ msgid "Shows the PopUp if the user is logged in to your site."
129
+ msgstr "Pokaż PopUp jeżeli użytkownik jest zalogowany na twojej stronie.\n"
130
+
131
+ #: ../admin/easy-facebook-likebox-admin.php:410
132
+ msgid "Enable if visitor is not logged in"
133
+ msgstr "Włącz jeżeli odwiedzający nie jest zalogowany"
134
+
135
+ #: ../admin/easy-facebook-likebox-admin.php:415
136
+ msgid ""
137
+ "Shows the PopUp if the user is not logged in to your site (Above option will "
138
+ "be ignored if checked)."
139
+ msgstr ""
140
+ "Pokaż PopUp jeżeli użytkownik nie jest zalogowany na twojej stronie "
141
+ "(Powyższa opcja zostanie zignorowana jeżeli zaznaczysz)."
142
+
143
+ #: ../admin/easy-facebook-likebox-admin.php:421
144
+ msgid "Close button act as never show again"
145
+ msgstr "Przycisk Zamknij działa jak nie pokazuj nigdy więcej"
146
+
147
+ #: ../admin/easy-facebook-likebox-admin.php:426
148
+ msgid "PopUp will not appear when visitor will close it once."
149
+ msgstr "PopUp nie zostanie już pokazany jeżeli odwiedzający raz go zamknie."
150
+
151
+ #: ../admin/easy-facebook-likebox-admin.php:432
152
+ msgid "Disable on mobile"
153
+ msgstr "Pokazuj na urządzeniach mobilnych"
154
+
155
+ #: ../admin/easy-facebook-likebox-admin.php:432
156
+ msgid "Do not display on mobile devices"
157
+ msgstr "Nie pokazuj na urządzeniach mobilnych"
158
+
159
+ #: ../admin/views/admin.php:19
160
+ msgid "General"
161
+ msgstr "Ogólne"
162
+
163
+ #: ../admin/views/admin.php:20
164
+ msgid "Auto PopUp"
165
+ msgstr "Auto PopUp"
166
+
167
+ #: ../admin/views/admin.php:21
168
+ msgid "Support and Updates"
169
+ msgstr "Wsparcie i Aktualizacje"
170
+
171
+ #: ../admin/views/instructinos.php:16
172
+ msgid "Custom facebook feed widget or shortcode usage instructions."
173
+ msgstr "Instrukcje użycia własnego facebook feed widget'a lub shortcode'a."
174
+
175
+ #: ../admin/views/instructinos.php:18
176
+ msgid "Here are easy steps to use this feature."
177
+ msgstr "Oto proste kroki, aby rozpocząć używanie tej funkcji."
178
+
179
+ #: ../admin/views/instructinos.php:20
180
+ msgid ""
181
+ "Add the \"Easy Facebook Feed\" widget in sidebar to show the feed into your "
182
+ "website sidebar"
183
+ msgstr ""
184
+ "Dodaj widget \"Easy Facebook Feed\" do paska bocznego, aby pokazać kanał na "
185
+ "pasku twojej strony"
186
+
187
+ #: ../admin/views/instructinos.php:21
188
+ msgid ""
189
+ "Add \"Easy Facebook Feed\" widget in sidebar and generate shortcode by saving "
190
+ "the widgets option to show custom facebook feed in posts, pages or custom "
191
+ "posts."
192
+ msgstr ""
193
+ "Dodaj widget \"Easy Facebook Feed\" do paska bocznego i wygeneruj shortcode "
194
+ "przez zapisanie opcji, aby pokazać własny kanał facebook'a we wpisach, "
195
+ "stronach i innych własnych postach."
196
+
197
+ #: ../admin/views/instructinos.php:22
198
+ msgid ""
199
+ "You can also directly add below shortcode (without quotes) in post/page "
200
+ "editor and change default values with your custom one according to your "
201
+ "needs and requirments. \"[efb_feed "
202
+ "fanpage_url=\"YOUR_FB_FANPAGE_NAME_OR_ID_OR_URL\" post_number=\"20\" "
203
+ "post_limit=\"20\" show_logo=\"DISPLAY_LOGO(1/0)\" "
204
+ "show_image=\"DISPLAY_IMAGE(1/0)\"]\" "
205
+ msgstr ""
206
+ "Możesz także bezpośrednio dodać poniższy shortcode (bez zewnętrznych "
207
+ "cudzysłowów) w trybie tekstu edytora wpisu/strony i zmienić tylko domyślne "
208
+ "wartości twoimi własnymi zgodnie z twoimi upodobaniami.\n"
209
+ "\"[efb_feed fanpage_url=\"YOUR_FB_FANPAGE_NAME_OR_ID_OR_URL\" post_number=\"20\" "
210
+ "post_limit=\"20\" show_logo=\"DISPLAY_LOGO(1/0)\" "
211
+ "show_image=\"DISPLAY_IMAGE(1/0)\"]\" "
212
+
213
+ #: ../admin/views/instructinos.php:29
214
+ msgid "Like box widget or shortcode usage instructions."
215
+ msgstr "Instrukcje użycia Like box widget'a lub shortcode'a."
216
+
217
+ #: ../admin/views/instructinos.php:31
218
+ msgid "Here are easy steps to use this fature."
219
+ msgstr "Oto proste kroki, aby rozpocząć używanie tej funkcji."
220
+
221
+ #: ../admin/views/instructinos.php:33
222
+ msgid ""
223
+ "Add the \"Easy Facebook Likebox\" widget in sidebar to show the like box in "
224
+ "your website sidebar"
225
+ msgstr ""
226
+ "Dodaj widget \"Easy Facebook Likebox\" do paska bocznego, aby pokazać kanał na "
227
+ "pasku twojej strony"
228
+
229
+ #: ../admin/views/instructinos.php:34
230
+ msgid ""
231
+ "Add widget in sidebar and generate shortcode by saving the widgets option to "
232
+ "show likebox somewhere else on your website."
233
+ msgstr ""
234
+ "Dodaj widget do paska bocznego i wygeneruj shortcode przez zapisanie "
235
+ "ustawień widget'a, aby wyświetlić likebox w innym miejscu twojej strony."
236
+
237
+ #: ../admin/views/instructinos.php:35
238
+ msgid ""
239
+ "You can also directly add below shortcode (without quotes) in post/page "
240
+ "editor and change default values with your custom one according to your "
241
+ "needs and requirments. \"[efb_likebox "
242
+ "fanpage_url=\"YOUR_FB_FANPAGE_NAME_OR_ID\" fb_appid=\"\" box_width=\"300\" "
243
+ "box_height=\"\" colorscheme=\"light\" show_faces=\"1\" show_header=\"1\" "
244
+ "show_stream=\"0\" show_border=\"1\" ]\""
245
+ msgstr ""
246
+ "Możesz także bezpośrednio dodać poniższy shortcode (bez zewnętrznych "
247
+ "cudzysłowów) w trybie tekstu edytora wpisu/strony i zmienić tylko domyślne "
248
+ "wartości twoimi własnymi zgodnie z twoimi upodobaniami.\n"
249
+ "\"[efb_likebox fanpage_url=\"YOUR_FB_FANPAGE_NAME_OR_ID\" fb_appid=\"\" "
250
+ "box_width=\"300\" box_height=\"\" colorscheme=\"light\" show_faces=\"1\" "
251
+ "show_header=\"1\" show_stream=\"0\" show_border=\"1\" ]\""
252
+
253
+ #: ../admin/views/instructinos.php:40
254
+ msgid "AutoPopUp usage instructions."
255
+ msgstr "Instrukcje użycia Auto PopUp."
256
+
257
+ #: ../admin/views/instructinos.php:42
258
+ msgid "Here are easy steps to use/configure AutoPopUp this plugin."
259
+ msgstr ""
260
+ "Oto proste kroki, aby rozpocząć używanie/skonfigurowanie funkcji AutoPopUp "
261
+ "tej wtyczki."
262
+
263
+ #: ../admin/views/instructinos.php:44
264
+ msgid "Enable or disable the AutoPopUp"
265
+ msgstr "Włącz lub wyłącz AutoPopUp."
266
+
267
+ #: ../admin/views/instructinos.php:45
268
+ msgid "Set width and height. Shoule be same as facebook like box."
269
+ msgstr ""
270
+ "Ustaw szerokość i wysokość. Powinna być taka sama jak wymiary facebook like "
271
+ "box'a."
272
+
273
+ #: ../admin/views/instructinos.php:46
274
+ msgid ""
275
+ "Generate shortcode from Appearance > Widgets > Easy Facebook Likebox and add "
276
+ "it in \"Enter shortcode of Eeasy facebook like box\" text box below."
277
+ msgstr ""
278
+ "Wygeneruj shortcode w Wygląd > Widgety > Easy Facebook Likebox i wklej go w "
279
+ "poniższe pole tekstowe \"Enter shortcode of Easy facebook like box\"."
280
+
281
+ #: ../admin/views/instructinos.php:52
282
+ msgid ""
283
+ "I am constantly working on the betterment and improvement of this plugin so "
284
+ "stay tuned."
285
+ msgstr ""
286
+ "Ciągle pracuję nad poprawkami i usprawnieniami tej wtyczki więc bądźcie na "
287
+ "bieżąco z aktualizacjami."
288
+
289
+ #: ../public/views/feed.php:346
290
+ msgid "Read full story"
291
+ msgstr "Zobacz cały wpis"
292
+
293
+ #: ../public/views/feed.php:347
294
+ msgid "Share"
295
+ msgstr "Udostępnij"
296
+
297
+ #: ../public/views/feed.php:377
298
+ msgid "like this."
299
+ msgstr "lubi to."
300
+
301
+ #: ../public/views/feed.php:378
302
+ msgid "and "
303
+ msgstr "i "
304
+
305
+ #: ../public/views/feed.php:379
306
+ msgid "other "
307
+ msgstr "inny "
308
+
309
+ #: ../public/views/feed.php:380
310
+ msgid "others "
311
+ msgstr "innych "
312
+
313
+ #: ../public/views/feed.php:453
314
+ msgid "comment on facebook"
315
+ msgstr "skomentuj na facebook'u"
316
+
317
+ #: ../public/views/feed.php:505
318
+ msgid "Error occured while retrieving the facebook feed "
319
+ msgstr "Wystąpił błąd podczas czytania kanału facebook'a "
320
+
321
+ #: ../public/includes/core-functions.php:5
322
+ msgid "second"
323
+ msgstr "sekunda"
324
+
325
+ #: ../public/includes/core-functions.php:6
326
+ msgid "seconds"
327
+ msgstr "sekundy"
328
+
329
+ #: ../public/includes/core-functions.php:7
330
+ msgid "minute"
331
+ msgstr "minuta"
332
+
333
+ #: ../public/includes/core-functions.php:8
334
+ msgid "minutes"
335
+ msgstr "minuty"
336
+
337
+ #: ../public/includes/core-functions.php:9
338
+ msgid "hour"
339
+ msgstr "godzina"
340
+
341
+ #: ../public/includes/core-functions.php:10
342
+ msgid "hours"
343
+ msgstr "godziny"
344
+
345
+ #: ../public/includes/core-functions.php:11
346
+ msgid "day"
347
+ msgstr "dzień"
348
+
349
+ #: ../public/includes/core-functions.php:12
350
+ msgid "days"
351
+ msgstr "dni"
352
+
353
+ #: ../public/includes/core-functions.php:13
354
+ msgid "week"
355
+ msgstr "tydzień"
356
+
357
+ #: ../public/includes/core-functions.php:14
358
+ msgid "weeks"
359
+ msgstr "tygodni"
360
+
361
+ #: ../public/includes/core-functions.php:15
362
+ msgid "month"
363
+ msgstr "miesiąc"
364
+
365
+ #: ../public/includes/core-functions.php:16
366
+ msgid "months"
367
+ msgstr "miesięcy"
368
+
369
+ #: ../public/includes/core-functions.php:17
370
+ msgid "year"
371
+ msgstr "rok"
372
+
373
+ #: ../public/includes/core-functions.php:18
374
+ msgid "years"
375
+ msgstr "lat"
376
+
377
+ #: ../public/includes/core-functions.php:19
378
+ msgid "decade"
379
+ msgstr "dekada"
380
+
381
+ #: ../public/includes/core-functions.php:22
382
+ msgid "ago"
383
+ msgstr "temu"
public/easy-facebook-likebox.php CHANGED
@@ -34,7 +34,7 @@ class Easy_Facebook_Likebox {
34
  *
35
  * @var string
36
  */
37
- const VERSION = '4.2.5';
38
 
39
  /**
40
  * @TODO - Rename "plugin-name" to the name your your plugin
34
  *
35
  * @var string
36
  */
37
+ const VERSION = '4.2.6';
38
 
39
  /**
40
  * @TODO - Rename "plugin-name" to the name your your plugin
public/views/feed.php CHANGED
@@ -28,6 +28,7 @@ $post_limit = ($post_limit) ? $post_limit : '10';
28
  $number_of_posts = ($post_number) ? $post_number : '10';
29
  if($layout == 'half'){ $layout = 'halfwidth'; }elseif($layout == 'full'){$layout = 'fullwidth';}else{$layout = 'thumbnail';}
30
  $image_size = ($image_size) ? $image_size : 'normal';
 
31
 
32
  if( empty($show_logo) || $show_logo == 0 ) $show_logo = 0; else $show_logo = 1;
33
  if( empty($show_image) || $show_image == 0 ) $show_image = 0; else $show_image = 1;
@@ -164,7 +165,7 @@ if( !empty($fbData->data) ) {
164
  //Loop through the tags
165
  if($text_tags) { foreach($text_tags as $message_tag ) {
166
  $tag_name = $message_tag[0]->name;
167
- $tag_link = '<a href="https://facebook.com/' . $message_tag[0]->id . '" target="_blank">' . $tag_name . '</a>';
168
  $post_text = str_replace($tag_name, $tag_link, $post_text);
169
  } }
170
 
@@ -178,7 +179,7 @@ if( !empty($fbData->data) ) {
178
  $j++;
179
 
180
  $tag_name = $message_tag[0]->name;
181
- $tag_link = '<a href="https://facebook.com/' . $message_tag[0]->id . '" target="_blank">' . $message_tag[0]->name . '</a>';
182
  $post_text = str_replace($tag_name, $tag_link, $post_text);
183
  }
184
  }
@@ -189,7 +190,7 @@ if( !empty($fbData->data) ) {
189
  $auth_img_src = 'https://graph.facebook.com/' . $page_id . '/picture?type=large';
190
 
191
  //get author image src
192
- $author_image ='<a href="https://facebook.com/'.$page_id.'" ><img src="'.$auth_img_src.'" title="'. $story->from->name .'" width="40" height="40" /></a>';
193
  if($story->object_id and $show_image){
194
  //Get story image
195
  $pic = 'https://graph.facebook.com/'.$story->object_id.'/picture?type='.$image_size.'&width=9999&height=9999&access_token=' . $access_token . '';
@@ -264,7 +265,7 @@ if( !empty($fbData->data) ) {
264
 
265
  echo '<div class="efbl_name_date">
266
 
267
- <p class="efbl_author_name"> <a href="https://facebook.com/'.$page_id.'" >'
268
  .$story->from->name.
269
  '</a></p>
270
 
@@ -297,10 +298,10 @@ if( !empty($fbData->data) ) {
297
  $story_content .= '<div class="efbl_shared_story '.$link_image.' ">';
298
 
299
  if($story->picture)
300
- $story_content .= '<a href="'.$story->link.'" class="efbl_link_image" re="nofollow" target="_blank"><img src="'.$story->picture.'" /></a>';
301
 
302
  $story_content .= '<div class="efbl_link_text">';
303
- $story_content .= '<p class="efbl_title_link"><a href="'.$story->link.'" targe="_blank">'.$story->name.'</a></p>';
304
 
305
  $story_content .= '<p class="efbl_link_caption">'.$story->caption.'</p>';
306
 
@@ -357,18 +358,18 @@ if( !empty($fbData->data) ) {
357
 
358
  echo '<!--Readmore div started-->
359
  <div class="efbl_read_more_link">
360
- <a href="'.$story_link.'" target="_blank" class="efbl_read_full_story">'.$read_more_text.'</a>
361
 
362
  <a href="javascript:void(0)" class="efbl_share_links">'.$share_this_text.'</a>
363
 
364
  <span class="efbl_links_container">
365
- <a class="efbl_facebook" href="https://www.facebook.com/sharer/sharer.php?u='.$story_link.'" target="_blank"><i class="fa fa-facebook"></i></a>
366
 
367
- <a class="efbl_twitter" href="https://twitter.com/intent/tweet?text='.$story_link.'" target="_blank"><i class="fa fa-twitter"></i></a>
368
 
369
- <a class="efbl_linked_in" href="https://www.linkedin.com/shareArticle?mini=true&url='.$story_link.'" target="_blank"><i class="fa fa-linkedin"></i></a>
370
 
371
- <a class="efbl_google_plus" href="https://plus.google.com/share?url='.$story_link.'" target="_blank"><i class="fa fa-google-plus"></i></a>
372
  </span>
373
 
374
  </div>
@@ -393,20 +394,20 @@ if( !empty($fbData->data) ) {
393
 
394
  if( $efbl_likes_count == 1 ){
395
 
396
- echo '<a href="https://facebook.com/'.$story->likes->data[0]->id.'" target="_blank" rel="nofollow">' . $story->likes->data[0]->name . '</a> '.$like_text;
397
  }elseif( $efbl_likes_count == 2 ){
398
- echo '<a href="https://facebook.com/'.$story->likes->data[0]->id.'" target="_blank" rel="nofollow">' . $story->likes->data[0]->name . '</a> '.$and_text.' <a href="https://facebook.com/'.$story->likes->data[1]->id.'" target="_blank" rel="nofollow">' . $story->likes->data[1]->name . '</a> '.$like_text;
399
  }elseif( $efbl_likes_count == 3 ){
400
 
401
- echo '<a href="https://facebook.com/'.$story->likes->data[0]->id.'" target="_blank" rel="nofollow">' . $story->likes->data[0]->name . '</a>,
402
- <a href="https://facebook.com/'.$story->likes->data[1]->id.'" target="_blank" rel="nofollow">' . $story->likes->data[1]->name . '</a>
403
  '.$and_text.' 1 '.$other_text.$like_text;
404
 
405
  }else{
406
 
407
  $efbl_others = $efbl_likes_count - 2;
408
- echo '<a href="https://facebook.com/'.$story->likes->data[0]->id.'" target="_blank" rel="nofollow">' . $story->likes->data[0]->name . '</a>,
409
- <a href="https://facebook.com/'.$story->likes->data[1]->id.'" target="_blank" rel="nofollow">' . $story->likes->data[1]->name . '</a>
410
  '.$and_text.' '.$efbl_others.' '.$others_text.$like_text;
411
 
412
  }
@@ -430,14 +431,14 @@ if( !empty($fbData->data) ) {
430
 
431
  echo '<div class="efbl_commenter_image">';
432
 
433
- echo '<a href="https://facebook.com/'. $comment->from->id .'" target="_blank" rel="nofollow">
434
  <img src="https://graph.facebook.com/'.$comment->from->id.'/picture" width=32 height=32>
435
  </a>';
436
  echo '</div>';
437
 
438
  echo '<div class="efbl_comment_text">';
439
 
440
- echo '<a class="efbl_comenter_name" href="https://facebook.com/'. $comment->from->id .'" target="_blank" rel="nofollow">
441
  '.$comment->from->name.'
442
  </a>';
443
 
@@ -461,7 +462,7 @@ if( !empty($fbData->data) ) {
461
 
462
  $comment_more_text = __(apply_filters('efbl_comment_on_text', 'comment on facebook'), 'easy-facebook-likebox');
463
  echo '<div class="efbl_comments_footer">
464
- <a href="'.$story_link.'" target="_blank" rel="nofollow"><i class="fa fa-comment-o"></i> '.$comment_more_text.' </a>
465
  </div>';
466
 
467
 
28
  $number_of_posts = ($post_number) ? $post_number : '10';
29
  if($layout == 'half'){ $layout = 'halfwidth'; }elseif($layout == 'full'){$layout = 'fullwidth';}else{$layout = 'thumbnail';}
30
  $image_size = ($image_size) ? $image_size : 'normal';
31
+ $link_target = ($links_new_tab) ? '_blank' : '_self';
32
 
33
  if( empty($show_logo) || $show_logo == 0 ) $show_logo = 0; else $show_logo = 1;
34
  if( empty($show_image) || $show_image == 0 ) $show_image = 0; else $show_image = 1;
165
  //Loop through the tags
166
  if($text_tags) { foreach($text_tags as $message_tag ) {
167
  $tag_name = $message_tag[0]->name;
168
+ $tag_link = '<a href="https://facebook.com/' . $message_tag[0]->id . '" target="'.$link_target.'">' . $tag_name . '</a>';
169
  $post_text = str_replace($tag_name, $tag_link, $post_text);
170
  } }
171
 
179
  $j++;
180
 
181
  $tag_name = $message_tag[0]->name;
182
+ $tag_link = '<a href="https://facebook.com/' . $message_tag[0]->id . '" target="'.$link_target.'">' . $message_tag[0]->name . '</a>';
183
  $post_text = str_replace($tag_name, $tag_link, $post_text);
184
  }
185
  }
190
  $auth_img_src = 'https://graph.facebook.com/' . $page_id . '/picture?type=large';
191
 
192
  //get author image src
193
+ $author_image ='<a href="https://facebook.com/'.$page_id.'" target="'.$link_target.'"><img src="'.$auth_img_src.'" title="'. $story->from->name .'" width="40" height="40" /></a>';
194
  if($story->object_id and $show_image){
195
  //Get story image
196
  $pic = 'https://graph.facebook.com/'.$story->object_id.'/picture?type='.$image_size.'&width=9999&height=9999&access_token=' . $access_token . '';
265
 
266
  echo '<div class="efbl_name_date">
267
 
268
+ <p class="efbl_author_name"> <a href="https://facebook.com/'.$page_id.'" target="'.$link_target.'">'
269
  .$story->from->name.
270
  '</a></p>
271
 
298
  $story_content .= '<div class="efbl_shared_story '.$link_image.' ">';
299
 
300
  if($story->picture)
301
+ $story_content .= '<a href="'.$story->link.'" class="efbl_link_image" re="nofollow" target="'.$link_target.'"><img src="'.$story->picture.'" /></a>';
302
 
303
  $story_content .= '<div class="efbl_link_text">';
304
+ $story_content .= '<p class="efbl_title_link"><a href="'.$story->link.'" target="'.$link_target.'">'.$story->name.'</a></p>';
305
 
306
  $story_content .= '<p class="efbl_link_caption">'.$story->caption.'</p>';
307
 
358
 
359
  echo '<!--Readmore div started-->
360
  <div class="efbl_read_more_link">
361
+ <a href="'.$story_link.'" target="'.$link_target.'" class="efbl_read_full_story">'.$read_more_text.'</a>
362
 
363
  <a href="javascript:void(0)" class="efbl_share_links">'.$share_this_text.'</a>
364
 
365
  <span class="efbl_links_container">
366
+ <a class="efbl_facebook" href="https://www.facebook.com/sharer/sharer.php?u='.$story_link.'" target="'.$link_target.'"><i class="fa fa-facebook"></i></a>
367
 
368
+ <a class="efbl_twitter" href="https://twitter.com/intent/tweet?text='.$story_link.'" target="'.$link_target.'"><i class="fa fa-twitter"></i></a>
369
 
370
+ <a class="efbl_linked_in" href="https://www.linkedin.com/shareArticle?mini=true&url='.$story_link.'" target="'.$link_target.'"><i class="fa fa-linkedin"></i></a>
371
 
372
+ <a class="efbl_google_plus" href="https://plus.google.com/share?url='.$story_link.'" target="'.$link_target.'"><i class="fa fa-google-plus"></i></a>
373
  </span>
374
 
375
  </div>
394
 
395
  if( $efbl_likes_count == 1 ){
396
 
397
+ echo '<a href="https://facebook.com/'.$story->likes->data[0]->id.'" target="'.$link_target.'" rel="nofollow">' . $story->likes->data[0]->name . '</a> '.$like_text;
398
  }elseif( $efbl_likes_count == 2 ){
399
+ echo '<a href="https://facebook.com/'.$story->likes->data[0]->id.'" target="'.$link_target.'" rel="nofollow">' . $story->likes->data[0]->name . '</a> '.$and_text.' <a href="https://facebook.com/'.$story->likes->data[1]->id.'" target="_blank" rel="nofollow">' . $story->likes->data[1]->name . '</a> '.$like_text;
400
  }elseif( $efbl_likes_count == 3 ){
401
 
402
+ echo '<a href="https://facebook.com/'.$story->likes->data[0]->id.'" target="'.$link_target.'" rel="nofollow">' . $story->likes->data[0]->name . '</a>,
403
+ <a href="https://facebook.com/'.$story->likes->data[1]->id.'" target="'.$link_target.'" rel="nofollow">' . $story->likes->data[1]->name . '</a>
404
  '.$and_text.' 1 '.$other_text.$like_text;
405
 
406
  }else{
407
 
408
  $efbl_others = $efbl_likes_count - 2;
409
+ echo '<a href="https://facebook.com/'.$story->likes->data[0]->id.'" target="'.$link_target.'" rel="nofollow">' . $story->likes->data[0]->name . '</a>,
410
+ <a href="https://facebook.com/'.$story->likes->data[1]->id.'" target="'.$link_target.'" rel="nofollow">' . $story->likes->data[1]->name . '</a>
411
  '.$and_text.' '.$efbl_others.' '.$others_text.$like_text;
412
 
413
  }
431
 
432
  echo '<div class="efbl_commenter_image">';
433
 
434
+ echo '<a href="https://facebook.com/'. $comment->from->id .'" target="'.$link_target.'" rel="nofollow">
435
  <img src="https://graph.facebook.com/'.$comment->from->id.'/picture" width=32 height=32>
436
  </a>';
437
  echo '</div>';
438
 
439
  echo '<div class="efbl_comment_text">';
440
 
441
+ echo '<a class="efbl_comenter_name" href="https://facebook.com/'. $comment->from->id .'" target="'.$link_target.'" rel="nofollow">
442
  '.$comment->from->name.'
443
  </a>';
444
 
462
 
463
  $comment_more_text = __(apply_filters('efbl_comment_on_text', 'comment on facebook'), 'easy-facebook-likebox');
464
  echo '<div class="efbl_comments_footer">
465
+ <a href="'.$story_link.'" target="'.$link_target.'" rel="nofollow"><i class="fa fa-comment-o"></i> '.$comment_more_text.' </a>
466
  </div>';
467
 
468