Enjoy Instagram feed on website with WordPress Widget and Shortcode - Version 5.0.5

Version Description

  • Bug fixing and Improvments (Add a debug TAB)
Download this release

Release Info

Developer designemotions
Plugin Icon 128x128 Enjoy Instagram feed on website with WordPress Widget and Shortcode
Version 5.0.5
Comparing to
See all releases

Code changes from version 5.0.4 to 5.0.5

enjoyinstagram.php CHANGED
@@ -2,13 +2,13 @@
2
  /*
3
  Plugin Name: Enjoy Plugin for Instagram
4
  Description: Instagram Responsive Images Gallery and Carousel, works with Shortcodes and Widgets.
5
- Version: 5.0.4
6
  Author: Mediabeta Srl
7
  Text Domain: enjoy-instagram-instagram-responsive-images-gallery-and-carousel
8
  Author URI: http://www.mediabeta.com/team/
9
  */
10
 
11
- ! defined( 'ENJOYINSTAGRAM_VERSION' ) && define( 'ENJOYINSTAGRAM_VERSION', '5.0.4' );
12
  ! defined( 'ENJOYINSTAGRAM_FILE' ) && define( 'ENJOYINSTAGRAM_FILE', __FILE__ );
13
  ! defined( 'ENJOYINSTAGRAM_URL' ) && define( 'ENJOYINSTAGRAM_URL', plugin_dir_url( __FILE__ ) );
14
  ! defined( 'ENJOYINSTAGRAM_DIR' ) && define( 'ENJOYINSTAGRAM_DIR', plugin_dir_path( __FILE__ ) );
2
  /*
3
  Plugin Name: Enjoy Plugin for Instagram
4
  Description: Instagram Responsive Images Gallery and Carousel, works with Shortcodes and Widgets.
5
+ Version: 5.0.5
6
  Author: Mediabeta Srl
7
  Text Domain: enjoy-instagram-instagram-responsive-images-gallery-and-carousel
8
  Author URI: http://www.mediabeta.com/team/
9
  */
10
 
11
+ ! defined( 'ENJOYINSTAGRAM_VERSION' ) && define( 'ENJOYINSTAGRAM_VERSION', '5.0.5' );
12
  ! defined( 'ENJOYINSTAGRAM_FILE' ) && define( 'ENJOYINSTAGRAM_FILE', __FILE__ );
13
  ! defined( 'ENJOYINSTAGRAM_URL' ) && define( 'ENJOYINSTAGRAM_URL', plugin_dir_url( __FILE__ ) );
14
  ! defined( 'ENJOYINSTAGRAM_DIR' ) && define( 'ENJOYINSTAGRAM_DIR', plugin_dir_path( __FILE__ ) );
includes/class.enjoyinstagram-admin.php CHANGED
@@ -66,6 +66,7 @@ class EnjoyInstagram_Admin {
66
  // add/remove user
67
  add_action( 'admin_init', array( $this, 'add_user' ), 1 );
68
  add_action( 'admin_init', array( $this, 'remove_user' ), 1 );
 
69
  }
70
 
71
  /**
@@ -116,7 +117,8 @@ class EnjoyInstagram_Admin {
116
  'enjoyinstagram_general_settings' => __( 'Profile',
117
  'enjoy-instagram-instagram-responsive-images-gallery-and-carousel' ),
118
  'enjoyinstagram_advanced_settings' => __( 'Settings',
119
- 'enjoy-instagram-instagram-responsive-images-gallery-and-carousel' )
 
120
  ) );
121
 
122
  if ( file_exists( ENJOYINSTAGRAM_DIR . 'plugin-options/options.php' ) ) {
@@ -314,7 +316,7 @@ class EnjoyInstagram_Admin {
314
  $message = __( 'No account found for this user', 'enjoyinstagram' );
315
  enjoyinstagram_add_notice( $message, 'error' );
316
  } else {
317
- $profile = $data[0]; // one account allowed for the free version
318
  $profile['access_token'] = $access_token;
319
  EnjoyInstagram()->add_user( $profile['username'], $profile );
320
  enjoyinstagram_add_notice(
@@ -349,6 +351,34 @@ class EnjoyInstagram_Admin {
349
  exit;
350
  }
351
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
352
  /**
353
  * Get Instagram login url
354
  *
66
  // add/remove user
67
  add_action( 'admin_init', array( $this, 'add_user' ), 1 );
68
  add_action( 'admin_init', array( $this, 'remove_user' ), 1 );
69
+ add_action( 'admin_init', array( $this, 'reset_database' ), - 1 );
70
  }
71
 
72
  /**
117
  'enjoyinstagram_general_settings' => __( 'Profile',
118
  'enjoy-instagram-instagram-responsive-images-gallery-and-carousel' ),
119
  'enjoyinstagram_advanced_settings' => __( 'Settings',
120
+ 'enjoy-instagram-instagram-responsive-images-gallery-and-carousel' ),
121
+ 'diagnostic' => __( 'Diagnostic', 'enjoyinstagram' ),
122
  ) );
123
 
124
  if ( file_exists( ENJOYINSTAGRAM_DIR . 'plugin-options/options.php' ) ) {
316
  $message = __( 'No account found for this user', 'enjoyinstagram' );
317
  enjoyinstagram_add_notice( $message, 'error' );
318
  } else {
319
+ $profile = $data[0]; // one account allowed for the free version
320
  $profile['access_token'] = $access_token;
321
  EnjoyInstagram()->add_user( $profile['username'], $profile );
322
  enjoyinstagram_add_notice(
351
  exit;
352
  }
353
 
354
+ /**
355
+ * Re-install plugin database
356
+ *
357
+ * @return void;
358
+ * @author Giulio Ganci
359
+ * @since 11.1.0
360
+ */
361
+ public function reset_database() {
362
+
363
+ $action = 'reset-db';
364
+
365
+ if ( ! $this->is_admin_page() || ! isset( $_GET['action'] ) || $_GET['action'] !== $action || ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'],
366
+ $action ) ) {
367
+ return;
368
+ }
369
+
370
+ try {
371
+ EnjoyInstagram_DB()->reset();
372
+ enjoyinstagram_add_notice( __( 'Database initialized', 'enjoyinstagram' ), 'success' );
373
+ } catch ( Exception $e ) {
374
+ enjoyinstagram_add_notice( sprintf( __( 'Database inizialization error: %s', 'enjoyinstagram' ),
375
+ $e->getMessage() ), 'error' );
376
+ }
377
+
378
+ wp_redirect( $this->build_admin_url( 'diagnostic' ) );
379
+ exit;
380
+ }
381
+
382
  /**
383
  * Get Instagram login url
384
  *
includes/class.enjoyinstagram-db.php CHANGED
@@ -97,22 +97,13 @@ class EnjoyInstagram_DB {
97
 
98
  global $wpdb;
99
 
100
- switch ( $installedDB ) {
101
- case '1.0.0':
102
- $wpdb->query( "ALTER TABLE {$this->main_table} ADD date bigint(20) DEFAULT 0 NOT NULL" );
103
- delete_option( 'enjoyinstagram_sync_times' );
104
- break;
105
- case '1.0.2':
106
- $wpdb->query( "ALTER TABLE {$this->main_table} ADD thumbnail_url text DEFAULT '' NOT NULL AFTER image_url" );
107
- delete_option( 'enjoyinstagram_sync_times' );
108
- break;
109
- default:
110
- $sqls = array();
111
- $charset_collate = $wpdb->get_charset_collate();
112
 
113
- $sqls['enjoy_instagram_media'] = "CREATE TABLE IF NOT EXISTS $this->main_table (
114
  id bigint(20) NOT NULL AUTO_INCREMENT,
115
  image_id varchar(255) DEFAULT '' NOT NULL,
 
116
  image_link varchar(255) DEFAULT '' NOT NULL,
117
  image_url text DEFAULT '' NOT NULL,
118
  thumbnail_url text DEFAULT '' NOT NULL,
@@ -124,7 +115,7 @@ class EnjoyInstagram_DB {
124
  UNIQUE KEY id (id)
125
  ) $charset_collate;";
126
 
127
- $sqls['enjoy_instagram_hashtags'] = "CREATE TABLE IF NOT EXISTS $this->hashtags_table (
128
  id bigint(20) NOT NULL AUTO_INCREMENT,
129
  image_id bigint(20) DEFAULT 0 NOT NULL,
130
  hashtag varchar(255) DEFAULT '' NOT NULL,
@@ -132,21 +123,38 @@ class EnjoyInstagram_DB {
132
  UNIQUE KEY id (id)
133
  ) $charset_collate;";
134
 
135
- if ( ! function_exists( 'dbDelta' ) ) {
136
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
137
- }
138
 
139
- foreach ( $sqls as $sql ) {
140
- dbDelta( $sql );
141
- }
142
 
143
- $this->do_action_for_update();
 
 
 
 
 
 
 
144
  break;
145
  }
146
 
147
  update_option( 'enjoy_instagram_installed_db_version', $this->db_version );
148
  }
149
 
 
 
 
 
 
 
 
 
 
 
150
  /**
151
  * Build where clause for queries
152
  *
@@ -592,6 +600,21 @@ class EnjoyInstagram_DB {
592
 
593
  wp_remote_post( $url );
594
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
595
  }
596
 
597
  /**
97
 
98
  global $wpdb;
99
 
100
+ $sqls = array();
101
+ $charset_collate = $wpdb->get_charset_collate();
 
 
 
 
 
 
 
 
 
 
102
 
103
+ $sqls['enjoy_instagram_media'] = "CREATE TABLE IF NOT EXISTS $this->main_table (
104
  id bigint(20) NOT NULL AUTO_INCREMENT,
105
  image_id varchar(255) DEFAULT '' NOT NULL,
106
+ image_ids varchar(255) DEFAULT '' NOT NULL,
107
  image_link varchar(255) DEFAULT '' NOT NULL,
108
  image_url text DEFAULT '' NOT NULL,
109
  thumbnail_url text DEFAULT '' NOT NULL,
115
  UNIQUE KEY id (id)
116
  ) $charset_collate;";
117
 
118
+ $sqls['enjoy_instagram_hashtags'] = "CREATE TABLE IF NOT EXISTS $this->hashtags_table (
119
  id bigint(20) NOT NULL AUTO_INCREMENT,
120
  image_id bigint(20) DEFAULT 0 NOT NULL,
121
  hashtag varchar(255) DEFAULT '' NOT NULL,
123
  UNIQUE KEY id (id)
124
  ) $charset_collate;";
125
 
126
+ if ( ! function_exists( 'dbDelta' ) ) {
127
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
128
+ }
129
 
130
+ foreach ( $sqls as $sql ) {
131
+ dbDelta( $sql );
132
+ }
133
 
134
+ switch ( $installedDB ) {
135
+ case '1.0.0':
136
+ $wpdb->query( "ALTER TABLE {$this->main_table} ADD date bigint(20) DEFAULT 0 NOT NULL" );
137
+ delete_option( 'enjoyinstagram_sync_times' );
138
+ break;
139
+ case '1.0.2':
140
+ $wpdb->query( "ALTER TABLE {$this->main_table} ADD thumbnail_url text DEFAULT '' NOT NULL AFTER image_url" );
141
+ delete_option( 'enjoyinstagram_sync_times' );
142
  break;
143
  }
144
 
145
  update_option( 'enjoy_instagram_installed_db_version', $this->db_version );
146
  }
147
 
148
+ public function reset() {
149
+ global $wpdb;
150
+
151
+ update_option('enjoy_instagram_installed_db_version', '0');
152
+ $wpdb->query( "DROP TABLE {$this->main_table}" );
153
+ $wpdb->query( "DROP TABLE {$this->hashtags_table}" );
154
+ update_option( 'enjoyinstagram_sync_times', array() );
155
+ }
156
+
157
+
158
  /**
159
  * Build where clause for queries
160
  *
600
 
601
  wp_remote_post( $url );
602
  }
603
+
604
+ public function stats() {
605
+ global $wpdb;
606
+
607
+ return array(
608
+ 'media' => array(
609
+ 'count' => $wpdb->get_var( "SELECT COUNT(*) FROM {$this->main_table}" ),
610
+ 'structure' => $wpdb->get_var( "SHOW CREATE TABLE {$this->main_table}", 1 )
611
+ ),
612
+ 'hashtag' => array(
613
+ 'count' => $wpdb->get_var( "SELECT COUNT(*) FROM {$this->hashtags_table}" ),
614
+ 'structure' => $wpdb->get_var( "SHOW CREATE TABLE {$this->hashtags_table}", 1 )
615
+ )
616
+ );
617
+ }
618
  }
619
 
620
  /**
readme.txt CHANGED
@@ -1,42 +1,41 @@
1
- === Enjoy Social media feed pictures with Widget and Shortcode on Wordpress website ===
2
  Contributors: mediabeta
3
  Donate link: https://www.google.com/url?q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_s-xclick%26hosted_button_id%3D8MXZ37DWHAX46&sa=D&sntz=1&usg=AFQjCNFHixLdowdc2AAEXDYmM9tQBl-TXQ
4
- Tags: Instagram, Instagram feed, Instagram Widget, Instagram grid, Instagram carousel, Embed Instagram, Embed Instagram feed, Instagram feed on website, responsive carousel, WordPress carousel, Instagram gallery, Instagram WordPress, Instagram pictures
5
  Requires at least: 4.0
6
  Tested up to: 5.4
7
- Version: 5.0.4
8
- Stable tag: 5.0.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- Formerly “Enjoy Instagram Feed”. Social media feed pictures for your website by hashtag and Instagram account. Widget and shortcodes on posts, pages, sidebar.
13
 
14
  == Description ==
15
 
16
- = Add Instagram feed on website by hashtag and public Instagram account with carousel and grid view using simple shortcodes. =
17
 
18
  == Important ==
19
- Instagram is changing its API. Our plugin has already moved to the new stable Instagram API: Basic Display API for Personal account and Graph API for Business account.
 
 
20
 
21
- = To allow your Instagram feeds to work best, we suggest you to install the latest version of our plugin. =
22
 
23
- To make your shortcodes work again, download the last version, disconnect and then reconnect your Instagram account (from the "settings" page) in order to keep your Enjoy Plugin Instagram functioning.
24
-
25
- == ENJOY PLUGIN FOR SOCIAL MEDIA FEED PICTURES FEATURES ==
26
 
27
  Only one plugin to publish Instagram feed on your pages, posts and sidebars with widgets and shortcodes.
28
- Each Instagram photo can be shown in Carousel and Grid mode with Lightbox effect.
29
- Enjoy plugin for social media feed pictures is responsive and optimized for mobile devices.
30
 
31
- Once you have installed our plugin Enjoy plugin for social media feed pictures, thanks to the presence of the icon on the editor, you are able to use shortcodes to embed feed in just one single line.
32
 
33
- = Here is Live Demo for Enjoy plugin for social media feed pictures: = [http://www.mediabetaprojects.com/enjoy-instagram-premium/instagram-feeds-in-your-website-enjoy-instagram-free/](http://www.mediabetaprojects.com/enjoy-instagram-premium/instagram-feeds-in-your-website-enjoy-instagram-free/)
34
 
35
- = Enjoy Plugin for social media feed pictures basic allows Instagram video visualization for browser supporting HTML5 =
36
 
37
  == BASIC FEATURES ==
38
 
39
- * NEW —> Display Instagram feeds for Personal or Business Instagram account
40
  * NEW —> Hashtag-based Instagram feed to show photos by Instagram hashtag, also public hashtag
41
  * Profile-based Instagram feed to show photos by Instagram profiles
42
  * Instagram Widget for sidebars to publish Instagram feed with carousel and grid visualization
@@ -59,20 +58,20 @@ Once you have installed our plugin Enjoy plugin for social media feed pictures,
59
  * Completely responsive and Optimized for Mobile Devices
60
  * Instagram pictures with squared format supported
61
 
62
- * One click set up.
63
  * Php 7 compatible
64
 
65
- = Very Simple Installation and Configuration for Enjoy Plugin for social media feed pictures =
66
 
67
  [http://www.mediabetaprojects.com/enjoy-instagram-premium/install-enjoy-instagram-wordpress-plugin/](http://www.mediabetaprojects.com/enjoy-instagram-premium/install-enjoy-instagram-wordpress-plugin/)
68
 
69
- = Enjoy Plugin for social media feed pictures PREMIUM VERSION =
70
 
71
- Enjoy Plugin for social media feed pictures is the only Wordpress plugin with a MODERATION PANEL which allows you to display or not the images in the pages, posts and sidebars.
72
  The last plugin version now supports multi hashtags and profiles, pictures with square format, grid view with a border between pictures.
73
 
74
 
75
- == PREMIUM FEATURES in Enjoy Plugin for social media feed pictures ==
76
 
77
  * More shortcodes in the same page or post to display multiple instagram feeds
78
  * More shortcodes for different hashtags or profiles in the same page or post
@@ -101,13 +100,13 @@ For Lightbox you can set:
101
  * to Show author
102
 
103
  <strong>INSTAGRAM WIDGET FEATURE</strong>
104
- Instagram Widget is one feature of Enjoy plugin for social media feed pictures.
105
  Once you installed it, you will be able to use Carousel and Grid widget in the dedicated Section.
106
 
107
  You will have only to drag the widget in the sidebar you want to customize. To arrange the Widget within the Sidebar, click, drag and drop the widget in the order you want.
108
  [DEMO for Instagram Widget on website WordPress](https://www.mediabetaprojects.com/enjoy-instagram-premium/widget-instagram-on-your-website-how-to/)
109
 
110
- = FOR INSTAGRAM CAROUSEL SHORTCODE you can set: =
111
  * images displayed at a time
112
  * animation in / animation out
113
  * show different number of images for different screen resolution
@@ -116,7 +115,7 @@ You will have only to drag the widget in the sidebar you want to customize. To a
116
 
117
  [DEMO for Instagram Carousel feed on website WordPress](https://www.mediabetaprojects.com/enjoy-instagram-premium/carousel-view-instagram-wordpress-plugin/)
118
 
119
- = FOR INSTAGRAM GRID SHORTCODE you can set: =
120
  * the number of rows and columns for the different shortcodes
121
  * the number of images that are replaced at the same time
122
  * interval the images will be replaced
@@ -125,7 +124,7 @@ You will have only to drag the widget in the sidebar you want to customize. To a
125
 
126
  [DEMO for Instagram Grid feed on website WordPress](https://www.mediabetaprojects.com/enjoy-instagram-premium/grid-view-instagram-plugin/)
127
 
128
- = FOR INSTAGRAM POLAROID SHORTCODE you can set: =
129
  * to show info (caption) on back
130
  * color background, border width, border color
131
 
@@ -159,7 +158,7 @@ See Also demo for:
159
 
160
  and many others features..
161
 
162
- = LIVE PREMIUM VERSION DEMO for Enjoy Plugin for social media feed pictures: =
163
  [http://www.mediabetaprojects.com/enjoy-instagram-premium/](http://www.mediabetaprojects.com/enjoy-instagram-premium/)
164
 
165
 
@@ -171,7 +170,9 @@ Installation and Configuration are very simple :
171
  1. After you have installed and activated the plugin , go to Settings and follow the instructions on the screen.
172
  2. To add shortcode to editor click on the plugin icon and choose where include a Carousel View or a Grid View.
173
  3. Configure the display of your shortcodes from the plugin settings page
174
- 4. To add to the Sidebar Enjoy plugin for social media feed pictures go to Appearance - > Widgets and configure.
 
 
175
 
176
  == Frequently Asked Questions ==
177
 
@@ -179,7 +180,7 @@ Installation and Configuration are very simple :
179
 
180
  —————
181
 
182
- = How to Install Enjoy plugin for social media feed pictures on your WordPress Website =
183
  [https://www.mediabetaprojects.com/enjoy-instagram-premium/install-enjoy-instagram-wordpress-plugin/](https://www.mediabetaprojects.com/enjoy-instagram-premium/install-enjoy-instagram-wordpress-plugin/)
184
 
185
 
@@ -199,8 +200,8 @@ In the Setting section yon can customize grid and/or Carousel view
199
 
200
  == Screenshots ==
201
 
202
- 1. Enjoy Plugin for social media feed pictures settings page
203
- 2. Enjoy Plugin for social media feed pictures settings page2
204
  3. Your Instagram Profile
205
  4. Control Panel for Grid View and Carousel View Settings
206
  5. Front End View Example
@@ -210,6 +211,8 @@ In the Setting section yon can customize grid and/or Carousel view
210
 
211
  == Changelog ==
212
 
 
 
213
  = 5.0.4 =
214
  * Bug Fix
215
  = 5.0.3 =
@@ -248,19 +251,19 @@ In the Setting section yon can customize grid and/or Carousel view
248
  = 3.4.2 =
249
  * Bug Fix
250
  = 3.4.1 =
251
- * NB: Enjoy plugin for social media feed pictures feed on website Wordpress is Php 7 compatible
252
  = 3.4 =
253
  * Bux fixing: Instagram feed on website Wordpress full compatibility with DIVI theme
254
  = 3.3 =
255
  * New: Video Instagram feed visualization for browser supporting HTML5
256
  * Fixed: Minor issues
257
  = 3.2 =
258
- * New: Enjoy plugin for social media feed pictures with squared format supported
259
  * Fixed: Minor issues
260
  = 3.1 =
261
  * Fixed: Minor issues
262
  = 3.0 =
263
- * New: Enjoy plugin for social media feed pictures on website full compatible with New Instagram Api Implementation
264
  = 2.1.3 =
265
  * Add Shortcakes Info
266
  = 2.1.2 =
@@ -302,4 +305,4 @@ In the Setting section yon can customize grid and/or Carousel view
302
  = 1.01 =
303
  * Bux Fix
304
  = 1.0 =
305
- * Initial Version of Enjoy plugin for social media feed pictures feed on website
1
+ === Enjoy Social Feed plugin for WordPress website ===
2
  Contributors: mediabeta
3
  Donate link: https://www.google.com/url?q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_s-xclick%26hosted_button_id%3D8MXZ37DWHAX46&sa=D&sntz=1&usg=AFQjCNFHixLdowdc2AAEXDYmM9tQBl-TXQ
4
+ Tags: social feed, instagram carousel, social media feed, instagram widget, instagram feed
5
  Requires at least: 4.0
6
  Tested up to: 5.4
7
+ Version: 5.0.5
8
+ Stable tag: 5.0.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
+ Formerly “Enjoy Instagram Feed”. Embed social feed on your WordPress website by hashtag and Instagram account. Widget and shortcodes on posts, pages, sidebar.
13
 
14
  == Description ==
15
 
16
+ = Embed Instagram feed on website by hashtag and public Instagram account. Add Social feed with Carousel and Grid view using simple shortcodes and widget. =
17
 
18
  == Important ==
19
+ After June 29, 2020 Instagram will change its API.
20
+ Our plugin has already moved to the new stable Instagram API: Basic Display API for Personal account and Graph API for Business one.
21
+ DOWNLOAD AND INSTALL OUR LATEST VERSION.
22
 
 
23
 
24
+ == FEATURES - ENJOY SOCIAL FEED PLUGIN FOR WORDPRESS==
 
 
25
 
26
  Only one plugin to publish Instagram feed on your pages, posts and sidebars with widgets and shortcodes.
27
+ Each Instagram photo can be shown in Carousel and Grid VIEW with Lightbox effect.
28
+ Enjoy Social Feed Plugin for WordPress is responsive and optimized for mobile devices.
29
 
30
+ Once you have installed our plugin Enjoy Social Feed Plugin for WordPress, thanks to the presence of the icon on the editor, you are able to use shortcodes and to embed feed in just one single line.
31
 
32
+ = Here is Live Demo for Enjoy Social Feed Plugin for WordPress: = [http://www.mediabetaprojects.com/enjoy-instagram-premium/instagram-feeds-in-your-website-enjoy-instagram-free/](http://www.mediabetaprojects.com/enjoy-instagram-premium/instagram-feeds-in-your-website-enjoy-instagram-free/)
33
 
34
+ = Enjoy Social Feed Plugin for WordPress allows Instagram video visualization for browser supporting HTML5 =
35
 
36
  == BASIC FEATURES ==
37
 
38
+ * NEW —> Display Instagram feed for Personal or Business Instagram account
39
  * NEW —> Hashtag-based Instagram feed to show photos by Instagram hashtag, also public hashtag
40
  * Profile-based Instagram feed to show photos by Instagram profiles
41
  * Instagram Widget for sidebars to publish Instagram feed with carousel and grid visualization
58
  * Completely responsive and Optimized for Mobile Devices
59
  * Instagram pictures with squared format supported
60
 
61
+ * One click set up
62
  * Php 7 compatible
63
 
64
+ = Very Simple Installation and Configuration for Enjoy Social Feed Plugin for WordPress =
65
 
66
  [http://www.mediabetaprojects.com/enjoy-instagram-premium/install-enjoy-instagram-wordpress-plugin/](http://www.mediabetaprojects.com/enjoy-instagram-premium/install-enjoy-instagram-wordpress-plugin/)
67
 
68
+ = Enjoy Social Feed Plugin for WordPress PREMIUM VERSION =
69
 
70
+ Enjoy Social Feed Plugin for WordPress is the only Wordpress plugin with a MODERATION PANEL which allows you to display or not the images in the pages, posts and sidebars.
71
  The last plugin version now supports multi hashtags and profiles, pictures with square format, grid view with a border between pictures.
72
 
73
 
74
+ == PREMIUM FEATURES in Enjoy Social Feed Plugin for WordPress ==
75
 
76
  * More shortcodes in the same page or post to display multiple instagram feeds
77
  * More shortcodes for different hashtags or profiles in the same page or post
100
  * to Show author
101
 
102
  <strong>INSTAGRAM WIDGET FEATURE</strong>
103
+ Instagram Widget is one feature of Social Feed Plugin for WordPress.
104
  Once you installed it, you will be able to use Carousel and Grid widget in the dedicated Section.
105
 
106
  You will have only to drag the widget in the sidebar you want to customize. To arrange the Widget within the Sidebar, click, drag and drop the widget in the order you want.
107
  [DEMO for Instagram Widget on website WordPress](https://www.mediabetaprojects.com/enjoy-instagram-premium/widget-instagram-on-your-website-how-to/)
108
 
109
+ = FOR INSTAGRAM CAROUSEL FEED you can set: =
110
  * images displayed at a time
111
  * animation in / animation out
112
  * show different number of images for different screen resolution
115
 
116
  [DEMO for Instagram Carousel feed on website WordPress](https://www.mediabetaprojects.com/enjoy-instagram-premium/carousel-view-instagram-wordpress-plugin/)
117
 
118
+ = FOR INSTAGRAM GRID FEED you can set: =
119
  * the number of rows and columns for the different shortcodes
120
  * the number of images that are replaced at the same time
121
  * interval the images will be replaced
124
 
125
  [DEMO for Instagram Grid feed on website WordPress](https://www.mediabetaprojects.com/enjoy-instagram-premium/grid-view-instagram-plugin/)
126
 
127
+ = FOR INSTAGRAM POLAROID FEED you can set: =
128
  * to show info (caption) on back
129
  * color background, border width, border color
130
 
158
 
159
  and many others features..
160
 
161
+ = LIVE PREMIUM VERSION DEMO for Enjoy Social Feed Plugin for WordPress: =
162
  [http://www.mediabetaprojects.com/enjoy-instagram-premium/](http://www.mediabetaprojects.com/enjoy-instagram-premium/)
163
 
164
 
170
  1. After you have installed and activated the plugin , go to Settings and follow the instructions on the screen.
171
  2. To add shortcode to editor click on the plugin icon and choose where include a Carousel View or a Grid View.
172
  3. Configure the display of your shortcodes from the plugin settings page
173
+ 4. To add to the Sidebar Social Feed Plugin for WordPress go to Appearance - > Widgets and configure.
174
+
175
+
176
 
177
  == Frequently Asked Questions ==
178
 
180
 
181
  —————
182
 
183
+ = How to Install Enjoy Social Feed Plugin for WordPress on your WordPress Website =
184
  [https://www.mediabetaprojects.com/enjoy-instagram-premium/install-enjoy-instagram-wordpress-plugin/](https://www.mediabetaprojects.com/enjoy-instagram-premium/install-enjoy-instagram-wordpress-plugin/)
185
 
186
 
200
 
201
  == Screenshots ==
202
 
203
+ 1. Enjoy Social Feed Plugin for WordPress settings page
204
+ 2. Enjoy Social Feed Plugin for WordPress settings page2
205
  3. Your Instagram Profile
206
  4. Control Panel for Grid View and Carousel View Settings
207
  5. Front End View Example
211
 
212
  == Changelog ==
213
 
214
+ = 5.0.5 =
215
+ * Bug fixing and Improvments (Add a debug TAB)
216
  = 5.0.4 =
217
  * Bug Fix
218
  = 5.0.3 =
251
  = 3.4.2 =
252
  * Bug Fix
253
  = 3.4.1 =
254
+ * NB: Enjoy Social Feed Plugin for WordPress feed on website Wordpress is Php 7 compatible
255
  = 3.4 =
256
  * Bux fixing: Instagram feed on website Wordpress full compatibility with DIVI theme
257
  = 3.3 =
258
  * New: Video Instagram feed visualization for browser supporting HTML5
259
  * Fixed: Minor issues
260
  = 3.2 =
261
+ * New: Social Feed Plugin for WordPress with squared format supported
262
  * Fixed: Minor issues
263
  = 3.1 =
264
  * Fixed: Minor issues
265
  = 3.0 =
266
+ * New: Enjoy Social Feed Plugin for WordPress on website full compatible with New Instagram Api Implementation
267
  = 2.1.3 =
268
  * Add Shortcakes Info
269
  = 2.1.2 =
305
  = 1.01 =
306
  * Bux Fix
307
  = 1.0 =
308
+ * Initial Version of Enjoy Social Feed Plugin for WordPress feed on website
templates/admin/diagnostic.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $users = EnjoyInstagram()->get_users();
4
+
5
+ ?>
6
+
7
+ <h3><?php _e( 'System info', 'enjoyinstagram' ) ?></h3>
8
+
9
+ <textarea readonly="readonly" onclick="this.focus();this.select()"
10
+ title="To copy, click the field then press Ctrl + C (PC) or Cmd + C (Mac)."
11
+ style="width: 100%; max-width: 960px; height: 500px; white-space: pre; font-family: Menlo,Monaco,monospace;">
12
+ ## ENV INFO ##
13
+ Site URL: <?php echo site_url() . "\n" ?>
14
+ Home URL: <?php echo home_url() . "\n" ?>
15
+ Wordpress Version: <?php echo get_bloginfo( 'version' ) . "\n" ?>
16
+ PHP Version: <?php echo phpversion() . "\n" ?>
17
+ SAPI: <?php echo php_sapi_name() . "\n" ?>
18
+ WEB Server: <?php echo $_SERVER['SERVER_SOFTWARE'] . "\n" ?>
19
+
20
+ ## USERS: ##
21
+ <?php
22
+
23
+ foreach ( $users as $user ) {
24
+ var_export( array(
25
+ 'id' => $user['id'],
26
+ 'token' => $user['access_token'],
27
+ 'username' => $user['username'],
28
+ 'business' => $user['business']
29
+ ) );
30
+ }
31
+ ?>
32
+
33
+ ## API RESPONSE ##
34
+ <?php
35
+ foreach ( $users as $user ) {
36
+ $data = EnjoyInstagram_Api_Connection()->get_user_profile( $user['id'], $user['access_token'], $user['business'] );
37
+ $error = EnjoyInstagram_Api_Connection()->last_error;
38
+
39
+ echo $user['username'] . ": ";
40
+ if ( $data === false && ! empty( $error ) ) {
41
+ echo $error . "\n";
42
+ } else {
43
+ echo "Success!\n";
44
+ }
45
+
46
+ }
47
+
48
+ ?>
49
+
50
+ ## DATABASE ##
51
+ <?php $stats = EnjoyInstagram_DB()->stats(); ?>
52
+ Version: <?php echo get_option( 'enjoy_instagram_installed_db_version' ) . "\n" ?>
53
+
54
+ *Media*
55
+ Count: <?php echo $stats['media']['count'] . "\n" ?>
56
+ <?php echo $stats['media']['structure'] . "\n" ?>
57
+
58
+ *Hashtag*
59
+ Count: <?php echo $stats['hashtag']['count'] . "\n" ?>
60
+ <?php echo $stats['hashtag']['structure'] . "\n" ?>
61
+
62
+
63
+ ## ACTIVE PLUGINS: ##
64
+ <?php
65
+ $plugins = get_plugins();
66
+ $active_plugins = get_option( 'active_plugins', array() );
67
+
68
+ foreach ( $plugins as $plugin_path => $plugin ) {
69
+ if ( ! in_array( $plugin_path, $active_plugins ) ) {
70
+ continue;
71
+ }
72
+
73
+ echo $plugin['Name'] . ': ' . $plugin['Version'] . "\n";
74
+ }
75
+ ?>
76
+ </textarea>
77
+ <p>
78
+ <a id="ei_reset_db" class="button-secondary"
79
+ href="<?php echo wp_nonce_url( EnjoyInstagram_Admin()->build_admin_url( 'diagnostic',
80
+ array( 'action' => 'reset-db' ) ), 'reset-db' ) ?>"><?php _e( 'Re-install Database' ) ?></a>
81
+ </p>