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

Version Description

  • Fixed: Conflict with Events plugin
  • Removed: Deprecated jQuery resize function
  • Tested: Upto WP v5.6
  • Fixed: Minor issues
Download this release

Release Info

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

Code changes from version 6.0.2 to 6.1.0

README.txt CHANGED
@@ -2,15 +2,15 @@
2
  Contributors: maltathemes, sjaved
3
  Tags: instagram feed, instagram, facebook feed, Facebook, page plugin
4
  Requires at least: 3.3
5
- Tested up to: 5.5.3
6
- Stable tag: 6.0.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Custom Instagram Feed. Custom Facebook Feed. Display custom Facebook feed (posts, photos, videos, events), custom Instagram Feed (photos, gallery, and videos) and page plugin (like box).
11
 
12
  == Description ==
13
- The easiest and beginner-friendly plugin for **Custom Instagram Feed** (Diplay photos, gallery, and videos), **Custom Facebook Feed** (posts, links, status, photos, videos, events), **Facebook and Page Plugin** (previously Facebook Like Box).
14
 
15
  DEMOS:
16
  - [Facebook page plugin (like box)](https://easysocialfeed.com/freedemo/faceook-page-plugin/)
@@ -172,6 +172,12 @@ http://wordpress.org/support/topic/need-feed-back-on-plugin-feature/
172
  18. Instagram skins panel.
173
 
174
  == Changelog ==
 
 
 
 
 
 
175
  = 6.0.2 =
176
  * Fixed: Freemius outdated library
177
  * Fixed: Popup url's issue
2
  Contributors: maltathemes, sjaved
3
  Tags: instagram feed, instagram, facebook feed, Facebook, page plugin
4
  Requires at least: 3.3
5
+ Tested up to: 5.6
6
+ Stable tag: 6.1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Custom Instagram Feed. Custom Facebook Feed. It's the easiest plugin to display custom Facebook feed (posts, photos, videos, events), custom Instagram Feed (photos, gallery, and videos) and page plugin (like box).
11
 
12
  == Description ==
13
+ The easiest and beginner-friendly plugin for **Custom Instagram Feed** (Display photos, gallery, and videos), **Custom Facebook Feed** (posts, links, status, photos, videos, events), **Facebook and Page Plugin** (previously Facebook Like Box).
14
 
15
  DEMOS:
16
  - [Facebook page plugin (like box)](https://easysocialfeed.com/freedemo/faceook-page-plugin/)
172
  18. Instagram skins panel.
173
 
174
  == Changelog ==
175
+ = 6.1.0 =
176
+ * Fixed: Conflict with Events plugin
177
+ * Removed: Deprecated jQuery resize function
178
+ * Tested: Upto WP v5.6
179
+ * Fixed: Minor issues
180
+
181
  = 6.0.2 =
182
  * Fixed: Freemius outdated library
183
  * Fixed: Popup url's issue
easy-facebook-likebox.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Easy Social Feed
5
  * Plugin URI: htttps://wordpress.org/plugins/easy-facebook-likebox
6
  * Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display custom facebook feed, custom Instagram photos and videos feed, page plugin (like box) on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generator. Additionally it also now allows you to dipslay the customized 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.
7
- * Version: 6.0.2
8
  * Author: Danish Ali Malik
9
  * Author URI: https://maltathemes.com/danish-ali-malik
10
  * Text Domain: easy-facebook-likebox,
4
  * Plugin Name: Easy Social Feed
5
  * Plugin URI: htttps://wordpress.org/plugins/easy-facebook-likebox
6
  * Description: Formerly "Easy Facebook Like Box and Custom Facebook Feed" plugin allows you to easily display custom facebook feed, custom Instagram photos and videos feed, page plugin (like box) on your website using either widget or shortcode to increase facbook fan page likes. You can use the shortcode generator. Additionally it also now allows you to dipslay the customized 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.
7
+ * Version: 6.1.0
8
  * Author: Danish Ali Malik
9
  * Author URI: https://maltathemes.com/danish-ali-malik
10
  * Text Domain: easy-facebook-likebox,
facebook/admin/includes/efbl-skins.php CHANGED
@@ -111,13 +111,12 @@ if ( !class_exists( 'EFBL_SKINS' ) ) {
111
  'post_type' => 'efbl_skins',
112
  'post_status' => [ 'publish', 'draft', 'pending' ],
113
  ];
114
- $efbl_skins = new WP_Query( $efbl_skins );
115
 
116
- if ( $efbl_skins->have_posts() ) {
117
  $efbl_skins_holder = [];
118
- while ( $efbl_skins->have_posts() ) {
119
- $efbl_skins->the_post();
120
- $id = get_the_ID();
121
  $design_arr = [];
122
  $design_arr = get_option( 'efbl_skin_' . $id, false );
123
  $layout = get_post_meta( $id, 'layout', true );
@@ -132,14 +131,14 @@ if ( !class_exists( 'EFBL_SKINS' ) ) {
132
  }
133
  }
134
 
135
- $title = get_the_title();
136
  if ( empty($title) ) {
137
  $title = __( 'Skin', 'easy-facebook-likebox' );
138
  }
139
  $efbl_skins_holder[$id] = [
140
  'ID' => $id,
141
  'title' => $title,
142
- 'description' => get_the_content(),
143
  'layout' => $layout,
144
  ];
145
  $efbl_skins_holder[$id]['design'] = wp_parse_args( $design_arr, $this->efbl_default_skin_settings() );
111
  'post_type' => 'efbl_skins',
112
  'post_status' => [ 'publish', 'draft', 'pending' ],
113
  ];
114
+ $efbl_skins = get_posts( $efbl_skins );
115
 
116
+ if ( isset( $efbl_skins ) && !empty($efbl_skins) ) {
117
  $efbl_skins_holder = [];
118
+ foreach ( $efbl_skins as $skin ) {
119
+ $id = $skin->ID;
 
120
  $design_arr = [];
121
  $design_arr = get_option( 'efbl_skin_' . $id, false );
122
  $layout = get_post_meta( $id, 'layout', true );
131
  }
132
  }
133
 
134
+ $title = $skin->post_title;
135
  if ( empty($title) ) {
136
  $title = __( 'Skin', 'easy-facebook-likebox' );
137
  }
138
  $efbl_skins_holder[$id] = [
139
  'ID' => $id,
140
  'title' => $title,
141
+ 'description' => $skin->post_content,
142
  'layout' => $layout,
143
  ];
144
  $efbl_skins_holder[$id]['design'] = wp_parse_args( $design_arr, $this->efbl_default_skin_settings() );
facebook/frontend/easy-facebook-likebox.php CHANGED
@@ -30,7 +30,7 @@ class Easy_Facebook_Likebox
30
  *
31
  * @var string
32
  */
33
- const VERSION = '6.0.2' ;
34
  /**
35
  *
36
  * Unique identifier for your plugin.
30
  *
31
  * @var string
32
  */
33
+ const VERSION = '6.1.0' ;
34
  /**
35
  *
36
  * Unique identifier for your plugin.
facebook/frontend/views/feed.php CHANGED
@@ -180,7 +180,7 @@ if ( isset( $accesstoken ) && !empty($accesstoken) ) {
180
  if ( !$posts_json || '' == $posts_json || $test_mode ) {
181
  $efbl_api_url = add_query_arg( apply_filters( 'efbl_api_url_params', [
182
  'fields' => 'posts.limit(' . $post_limit . '){place,status_type,full_picture,permalink_url,likes{pic_crop,id,name},comments.limit(30){id,like_count,permalink_url,comments,reactions,comment_count,created_time,message,message_tags,attachment},reactions{id,name,pic_crop,type,link},created_time,story,message,reactions.type(LIKE).limit(0).summary(1).as(like),reactions.type(LOVE).limit(0).summary(1).as(love),reactions.type(HAHA).limit(0).summary(1).as(haha),reactions.type(WOW).limit(0).summary(1).as(wow),reactions.type(SAD).limit(0).summary(1).as(sad),reactions.type(ANGRY).limit(0).summary(1).as(angry),from,message_tags,shares,story_tags,picture,attachments},about,picture{url}',
183
- 'access_token' => $access_token,
184
  'locale' => 'en_us',
185
  ], $instance ), apply_filters( 'efbl_api_url_base', 'https://graph.facebook.com/v4.0/' . $page_id . '', $instance ) );
186
  $posts_json = jws_fetchUrl( $efbl_api_url );
180
  if ( !$posts_json || '' == $posts_json || $test_mode ) {
181
  $efbl_api_url = add_query_arg( apply_filters( 'efbl_api_url_params', [
182
  'fields' => 'posts.limit(' . $post_limit . '){place,status_type,full_picture,permalink_url,likes{pic_crop,id,name},comments.limit(30){id,like_count,permalink_url,comments,reactions,comment_count,created_time,message,message_tags,attachment},reactions{id,name,pic_crop,type,link},created_time,story,message,reactions.type(LIKE).limit(0).summary(1).as(like),reactions.type(LOVE).limit(0).summary(1).as(love),reactions.type(HAHA).limit(0).summary(1).as(haha),reactions.type(WOW).limit(0).summary(1).as(wow),reactions.type(SAD).limit(0).summary(1).as(sad),reactions.type(ANGRY).limit(0).summary(1).as(angry),from,message_tags,shares,story_tags,picture,attachments},about,picture{url}',
183
+ 'access_token' => $own_access_token,
184
  'locale' => 'en_us',
185
  ], $instance ), apply_filters( 'efbl_api_url_base', 'https://graph.facebook.com/v4.0/' . $page_id . '', $instance ) );
186
  $posts_json = jws_fetchUrl( $efbl_api_url );
instagram/admin/includes/class-esf-insta-skins.php CHANGED
@@ -97,15 +97,14 @@ if ( !class_exists( 'ESF_Insta_Skins' ) ) {
97
  'post_type' => 'mif_skins',
98
  'post_status' => [ 'publish', 'draft', 'pending' ],
99
  ];
100
- $fta_skins = new WP_Query( $fta_skins );
101
  /* If any fta_skins are in database. */
102
 
103
- if ( $fta_skins->have_posts() ) {
104
  $fta_skins_holder = [];
105
- while ( $fta_skins->have_posts() ) {
106
- $fta_skins->the_post();
107
- $id = get_the_ID();
108
- $design_arr = null;
109
  $design_arr = get_option( 'mif_skin_' . $id, false );
110
  $layout = get_post_meta( $id, 'layout', true );
111
 
@@ -119,14 +118,14 @@ if ( !class_exists( 'ESF_Insta_Skins' ) ) {
119
  }
120
  }
121
 
122
- $title = get_the_title();
123
  if ( empty($title) ) {
124
  $title = __( 'Skin', $FTA->plug_slug );
125
  }
126
  $fta_skins_holder[$id] = [
127
  'ID' => $id,
128
  'title' => $title,
129
- 'description' => get_the_content(),
130
  'layout' => $layout,
131
  ];
132
  $fta_skins_holder[$id]['design'] = wp_parse_args( $design_arr, $this->esf_insta_default_skin_settings() );
97
  'post_type' => 'mif_skins',
98
  'post_status' => [ 'publish', 'draft', 'pending' ],
99
  ];
100
+ $fta_skins = get_posts( $fta_skins );
101
  /* If any fta_skins are in database. */
102
 
103
+ if ( isset( $fta_skins ) && !empty($fta_skins) ) {
104
  $fta_skins_holder = [];
105
+ foreach ( $fta_skins as $skin ) {
106
+ $id = $skin->ID;
107
+ $design_arr = [];
 
108
  $design_arr = get_option( 'mif_skin_' . $id, false );
109
  $layout = get_post_meta( $id, 'layout', true );
110
 
118
  }
119
  }
120
 
121
+ $title = $skin->post_title;
122
  if ( empty($title) ) {
123
  $title = __( 'Skin', $FTA->plug_slug );
124
  }
125
  $fta_skins_holder[$id] = [
126
  'ID' => $id,
127
  'title' => $title,
128
+ 'description' => $skin->post_content,
129
  'layout' => $layout,
130
  ];
131
  $fta_skins_holder[$id]['design'] = wp_parse_args( $design_arr, $this->esf_insta_default_skin_settings() );