Instagram Gallery - Version 2.4.4

Version Description

  • Improvement. Instagram Feed Gallery bad spelling
  • Improvement. Instagram Feed Gallery demo url
Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 Instagram Gallery
Version 2.4.4
Comparing to
See all releases

Code changes from version 2.4.3 to 2.4.4

assets/img/carousel.png CHANGED
Binary file
assets/img/gallery.jpg CHANGED
Binary file
assets/img/gallery.png CHANGED
Binary file
assets/img/grid.png CHANGED
Binary file
assets/img/highlight.png CHANGED
Binary file
assets/img/instagram-feed-accounts.png CHANGED
Binary file
assets/img/instagram-feed-load-more.png CHANGED
Binary file
assets/img/instagram-feed-masonry.png CHANGED
Binary file
assets/img/instagram-feed-popup-macbook.png CHANGED
Binary file
assets/img/instagram-feed-popup.png CHANGED
Binary file
assets/img/instagram-feed.png CHANGED
Binary file
assets/img/instagram.png CHANGED
Binary file
assets/img/logo.jpg ADDED
Binary file
assets/img/masonry.png CHANGED
Binary file
assets/img/quadlayers.jpg CHANGED
Binary file
includes/settings.php CHANGED
@@ -8,65 +8,6 @@ if (!class_exists('QLIGG_Settings')) {
8
9
protected static $instance;
10
11
- function ajax_dismiss_notice() {
12
-
13
- if ($notice_id = ( isset($_POST['notice_id']) ) ? sanitize_key($_POST['notice_id']) : '') {
14
-
15
- update_user_meta(get_current_user_id(), $notice_id, true);
16
-
17
- wp_send_json($notice_id);
18
- }
19
-
20
- wp_die();
21
- }
22
-
23
- function add_notices() {
24
-
25
- if (/* !get_transient('qligg-first-rating') && */!get_user_meta(get_current_user_id(), 'qligg-user-rating', true)) {
26
- ?>
27
- <div id="qligg-admin-rating" class="qligg-notice notice is-dismissible" data-notice_id="qligg-user-rating">
28
- <div class="notice-container" style="padding-top: 10px; padding-bottom: 10px; display: flex; justify-content: left; align-items: center;">
29
- <div class="notice-image">
30
- <img style="border-radius:50%;max-width: 90px;" src="<?php echo plugins_url('/assets/img/logo.png', QLIGG_PLUGIN_FILE); ?>" alt="<?php echo esc_html(QLIGG_PLUGIN_NAME); ?>>">
31
- </div>
32
- <div class="notice-content" style="margin-left: 15px;">
33
- <p>
34
- <?php printf(esc_html__('Hello! Thank you for choosing the %s plugin!', 'insta-gallery'), QLIGG_PLUGIN_NAME); ?>
35
- <br/>
36
- <?php esc_html_e('This is another big update and lot of things have been improved in the frontend. Please make sure you clear all your server and browser caches.', 'insta-gallery'); ?>
37
- </p>
38
- <a href="<?php echo admin_url('admin.php?page=qligg_feeds'); ?>" class="button-primary" target="_blank">
39
- <?php esc_html_e('Check Settings!', 'insta-gallery'); ?>
40
- </a>
41
- <a href="<?php echo esc_url(QLIGG_SUPPORT_URL); ?>" class="button-secondary" target="_blank">
42
- <?php esc_html_e('Report a bug', 'insta-gallery'); ?>
43
- </a>
44
- </div>
45
- </div>
46
- </div>
47
- <script>
48
- (function ($) {
49
- $('.qligg-notice').on('click', '.notice-dismiss', function (e) {
50
- e.preventDefault();
51
- var notice_id = $(e.delegateTarget).data('notice_id');
52
- $.ajax({
53
- type: 'POST',
54
- url: ajaxurl,
55
- data: {
56
- notice_id: notice_id,
57
- action: 'qligg_dismiss_notice',
58
- },
59
- success: function (response) {
60
- console.log(response);
61
- },
62
- });
63
- });
64
- })(jQuery);
65
- </script>
66
- <?php
67
- }
68
- }
69
-
70
function add_action_links($links) {
71
72
$links[] = '<a target="_blank" href="' . QLIGG_PURCHASE_URL . '">' . esc_html__('Premium', 'insta-gallery') . '</a>';
@@ -90,7 +31,7 @@ if (!class_exists('QLIGG_Settings')) {
90
91
<h1><?php esc_html_e('Instagram Gallery', 'insta-gallery'); ?></h1>
92
93
- <p class="about-text"><?php esc_html_e('Thanks for using Instagram Gallery! We will do our best to offer you the best and improved experience.', 'insta-gallery'); ?></p>
94
95
<p class="about-text">
96
<?php printf('<a href="%s" target="_blank">%s</a>', QLIGG_DEMO_URL, esc_html__('Check out our demo', 'insta-gallery')); ?></a>
@@ -226,8 +167,6 @@ if (!class_exists('QLIGG_Settings')) {
226
}
227
228
function init() {
229
- add_action('wp_ajax_qligg_dismiss_notice', array($this, 'ajax_dismiss_notice'));
230
- add_action('admin_notices', array($this, 'add_notices'));
231
add_action('admin_enqueue_scripts', array($this, 'add_admin_js'));
232
add_action('admin_enqueue_scripts', array($this, 'dequeue_admin_js'), 999);
233
add_action('admin_menu', array($this, 'add_menu'));
8
9
protected static $instance;
10
11
function add_action_links($links) {
12
13
$links[] = '<a target="_blank" href="' . QLIGG_PURCHASE_URL . '">' . esc_html__('Premium', 'insta-gallery') . '</a>';
31
32
<h1><?php esc_html_e('Instagram Gallery', 'insta-gallery'); ?></h1>
33
34
+ <p class="about-text"><?php esc_html_e('Thanks for using Instagram Gallery! We will do our absolute best to support you and fix all the issues.', 'insta-gallery'); ?></p>
35
36
<p class="about-text">
37
<?php printf('<a href="%s" target="_blank">%s</a>', QLIGG_DEMO_URL, esc_html__('Check out our demo', 'insta-gallery')); ?></a>
167
}
168
169
function init() {
170
add_action('admin_enqueue_scripts', array($this, 'add_admin_js'));
171
add_action('admin_enqueue_scripts', array($this, 'dequeue_admin_js'), 999);
172
add_action('admin_menu', array($this, 'add_menu'));
insta-gallery.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: WP Instagram Feed Gallery
4
* Plugin URI: https://quadlayers.com/portfolio/instagram-gallery/
5
* Description: Display beautifull and responsive galleries on your website from your Instagram feed account.
6
- * Version: 2.4.3
7
* Author: WP Instagram Feed
8
* Author URI: https://quadlayers.com
9
* License: GPL-2.0+
@@ -18,7 +18,7 @@ if (!defined('QLIGG_PLUGIN_NAME')) {
18
define('QLIGG_PLUGIN_NAME', 'Instagram Gallery');
19
}
20
if (!defined('QLIGG_PLUGIN_VERSION')) {
21
- define('QLIGG_PLUGIN_VERSION', '2.4.3');
22
}
23
if (!defined('QLIGG_PLUGIN_FILE')) {
24
define('QLIGG_PLUGIN_FILE', __FILE__);
@@ -36,7 +36,7 @@ if (!defined('QLIGG_REVIEW_URL')) {
36
define('QLIGG_REVIEW_URL', 'https://wordpress.org/support/plugin/insta-gallery/reviews/?filter=5#new-post');
37
}
38
if (!defined('QLIGG_DEMO_URL')) {
39
- define('QLIGG_DEMO_URL', 'https://quadlayers.com/portfolio/wordpress-instagram-feed/?utm_source=qligg_admin');
40
}
41
if (!defined('QLIGG_PURCHASE_URL')) {
42
define('QLIGG_PURCHASE_URL', QLIGG_DEMO_URL);
@@ -57,6 +57,65 @@ if (!class_exists('QLIGG')) {
57
58
protected static $instance;
59
60
function register_widget() {
61
register_widget('QLIGG_Widget');
62
}
@@ -89,6 +148,8 @@ if (!class_exists('QLIGG')) {
89
function init() {
90
add_action('widgets_init', array($this, 'register_widget'));
91
add_action('plugins_loaded', array($this, 'i18n'));
92
}
93
94
public static function instance() {
3
* Plugin Name: WP Instagram Feed Gallery
4
* Plugin URI: https://quadlayers.com/portfolio/instagram-gallery/
5
* Description: Display beautifull and responsive galleries on your website from your Instagram feed account.
6
+ * Version: 2.4.4
7
* Author: WP Instagram Feed
8
* Author URI: https://quadlayers.com
9
* License: GPL-2.0+
18
define('QLIGG_PLUGIN_NAME', 'Instagram Gallery');
19
}
20
if (!defined('QLIGG_PLUGIN_VERSION')) {
21
+ define('QLIGG_PLUGIN_VERSION', '2.4.4');
22
}
23
if (!defined('QLIGG_PLUGIN_FILE')) {
24
define('QLIGG_PLUGIN_FILE', __FILE__);
36
define('QLIGG_REVIEW_URL', 'https://wordpress.org/support/plugin/insta-gallery/reviews/?filter=5#new-post');
37
}
38
if (!defined('QLIGG_DEMO_URL')) {
39
+ define('QLIGG_DEMO_URL', 'https://quadlayers.com/instagram-feed/?utm_source=qligg_admin');
40
}
41
if (!defined('QLIGG_PURCHASE_URL')) {
42
define('QLIGG_PURCHASE_URL', QLIGG_DEMO_URL);
57
58
protected static $instance;
59
60
+ function ajax_dismiss_notice() {
61
+
62
+ if ($notice_id = ( isset($_POST['notice_id']) ) ? sanitize_key($_POST['notice_id']) : '') {
63
+
64
+ update_user_meta(get_current_user_id(), $notice_id, true);
65
+
66
+ wp_send_json($notice_id);
67
+ }
68
+
69
+ wp_die();
70
+ }
71
+
72
+ function add_notices() {
73
+
74
+ if (!get_transient('qligg-first-rating') && !get_user_meta(get_current_user_id(), 'qligg-user-rating', true)) {
75
+ ?>
76
+ <div id="qligg-admin-rating" class="qligg-notice notice is-dismissible" data-notice_id="qligg-user-rating">
77
+ <div class="notice-container" style="padding-top: 10px; padding-bottom: 10px; display: flex; justify-content: left; align-items: center;">
78
+ <div class="notice-image">
79
+ <img style="border-radius:50%;max-width: 90px;" src="<?php echo plugins_url('/assets/img/logo.jpg', QLIGG_PLUGIN_FILE); ?>" alt="<?php echo esc_html(QLIGG_PLUGIN_NAME); ?>>">
80
+ </div>
81
+ <div class="notice-content" style="margin-left: 15px;">
82
+ <p>
83
+ <?php printf(esc_html__('Hello! Thank you for choosing the %s plugin!', 'insta-gallery'), QLIGG_PLUGIN_NAME); ?>
84
+ <br/>
85
+ <?php esc_html_e('Could you please give it a 5-star rating on WordPress? We know its a big favor, but we\'ve worked very much and very hard to release this great product. Your feedback will boost our motivation and help us promote and continue to improve this product.', 'insta-gallery'); ?>
86
+ </p>
87
+ <a href="<?php echo esc_url(QLIGG_REVIEW_URL); ?>" class="button-primary" target="_blank">
88
+ <?php esc_html_e('Yes, of course!', 'insta-gallery'); ?>
89
+ </a>
90
+ <a href="<?php echo esc_url(QLIGG_SUPPORT_URL); ?>" class="button-secondary" target="_blank">
91
+ <?php esc_html_e('Report a bug', 'insta-gallery'); ?>
92
+ </a>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ <script>
97
+ (function ($) {
98
+ $('.qligg-notice').on('click', '.notice-dismiss', function (e) {
99
+ e.preventDefault();
100
+ var notice_id = $(e.delegateTarget).data('notice_id');
101
+ $.ajax({
102
+ type: 'POST',
103
+ url: ajaxurl,
104
+ data: {
105
+ notice_id: notice_id,
106
+ action: 'QLIGG_dismiss_notice',
107
+ },
108
+ success: function (response) {
109
+ console.log(response);
110
+ },
111
+ });
112
+ });
113
+ })(jQuery);
114
+ </script>
115
+ <?php
116
+ }
117
+ }
118
+
119
function register_widget() {
120
register_widget('QLIGG_Widget');
121
}
148
function init() {
149
add_action('widgets_init', array($this, 'register_widget'));
150
add_action('plugins_loaded', array($this, 'i18n'));
151
+ add_action('wp_ajax_qligg_dismiss_notice', array($this, 'ajax_dismiss_notice'));
152
+ add_action('admin_notices', array($this, 'add_notices'));
153
}
154
155
public static function instance() {
readme.txt CHANGED
@@ -1,67 +1,99 @@
1
=== WP Instagram Feed Gallery ===
2
Contributors: quadlayers
3
Donate link: https://quadlayers.com/portfolio/instagram-gallery/
4
- Tags: instagram, instagram feed, instagram widget, gallery widget, pictures, carousel slider, image gallery, image slider, instagram gallery, instagram pictures
5
Requires at least: 4.6
6
Tested up to: 5.2
7
Requires PHP: 5.3
8
- Stable tag: 2.4.3
9
License: GPLv2 or later
10
License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
12
- Instagram Gallery is an easy way to display your Instagram feeds pictures your website.
13
14
== Description ==
15
16
- Easy and simple way to display your Instagram Feed and Tag Gallery on your website.
17
18
- Display pictures from your Instagram account as gallery or as carousel Slider. Just press the button to generate your Instagram Access Token and configure gallery settings and display your pictures on your website.
19
20
- == Installation ==
21
22
- 1. Go to the Plugins Menu in WordPress
23
- 2. Search for "Instagram Feed Gallery"
24
- 3. Click "Install"
25
- 4. Go to Instagram Gallery / Account in your admin dashboard
26
- 5. Press the "Add new account" button and generate the access token
27
- 6. Go to Instagram Gallery / Gallery and press the "Add new gallery" button
28
- 7. Configure your gallery
29
- 8. Press "Update" button and copy & paste your shortcode
30
31
- == Frequently Asked Questions ==
32
33
- = Why my pictures are not showing on page? =
34
35
- You have to update valid Instagram access token to display user media.
36
37
= Can I display pictures from Instagram Tag? =
38
39
Yes, you can.
40
41
- = How to add gallery to Widget? =
42
43
- Go to your admin dashboard, and add new gallery, then go to widgets, add Instagram Gallery widget and select the Gallery item from the dropdown list.
44
45
= Why there are two popups on image click? =
46
47
There may be some other plugins(like: fancybox, elementor) which also uses image links to open popup. Try to disable popup images option in the setting panel of this plugin, which will allow other plugins to work.
48
49
- = Error: No working transports found =
50
51
- This error visible sometimes in PHP 7+ installations due to the missing CURL extension.
52
53
== Screenshots ==
54
55
- 1. Gallery front-end view
56
- 2. Gallery front-end view with image popup
57
- 3. Carousel Slider view
58
- 4. Plugin backend
59
- 5. Gallery Widget
60
61
== Changelog ==
62
63
= 2.4.3 =
64
- * Fix. WP Instagram Feed Gallery renamed
65
66
= 2.4.2 =
67
* Improvement. Instagram Token validation alerts
1
=== WP Instagram Feed Gallery ===
2
Contributors: quadlayers
3
Donate link: https://quadlayers.com/portfolio/instagram-gallery/
4
+ Tags: instagram, instagram feed, instagram widget, instagram gallery, instagram pictures, gallery widget, pictures, carousel slider, image gallery, image slider
5
Requires at least: 4.6
6
Tested up to: 5.2
7
Requires PHP: 5.3
8
+ Stable tag: 2.4.4
9
License: GPLv2 or later
10
License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
12
+ Instagram Feed Gallery is an easy way to display your Instagram feeds pictures your website.
13
14
== Description ==
15
16
+ [Premium](https://quadlayers.com/portfolio/wordpress-instagram-feed/) | [Demo](https://quadlayers.com/instagram-feed/) | [Community](https://www.facebook.com/groups/quadlayers/)
17
18
+ Instagram Feed Gallery is the most user-friendly Instagram plugin for Wordpress. It allows you to showcase your Instagram feed or Instagram tags on your website.
19
20
+ This Instagram Gallery plugin offers you two different layouts to display your feeds, a grid gallery or a carousel slider. It also lets you create hashtags feeds, a feature that is usually available only the premium versions of other plugins.
21
22
+ == Instagram Token setup ==
23
24
+ Unlike other plugins that require creating an app with the developer tools, our Instagram Feed plugin offers you a one-click setup.
25
26
+ All you need to display your Instagram user or hashtags pictures is clicking on the "Add New Account" button and your Instagram access token will be automatically generated and saved.
27
+
28
+ == Instagram Premium ==
29
+
30
+ Instagram Feed Gallery is a freemium plugin which allows you to include an unlimited number of user accounts and then create a separate feed for each of them.
31
+
32
+ It also includes two extra layouts and offers a lot of customization options like a ‘Load More’ button, a box mode for the feed with colors and borders, the option to display the user profile avatar image, username and custom description and a lot more.
33
+ ####Pro Features:
34
35
+ > * Multiple Instagram User Accounts
36
+ > * Masonry Instagram Gallery layout
37
+ > * Highlight Instagram Gallery layout
38
+ > * Boxed mode for your Instagram Gallery
39
+ > * Display user profile in your Instagram Gallery
40
+ > * Display Instagram Pictures in a card
41
+ > * Display user info inside Instagram Pictures popup
42
+ > * Display image caption inside Instagram Pictures popup
43
+ > * Display image likes inside Instagram Pictures popup
44
+ > * Change Instagram Pictures popup description position
45
+ > * Load more button
46
+
47
+
48
+ == Frequently Asked Questions ==
49
50
= Can I display pictures from Instagram Tag? =
51
52
Yes, you can.
53
54
+ = Can I display pictures in Instagram Widget? =
55
56
+ Yes, you can.
57
+
58
+ = Why my pictures are not showing on page? =
59
+
60
+ You have to update your Instagram access token to display user media.
61
+
62
+ = How to add Instagram Gallery to a widget? =
63
+
64
+ Go to your admin dashboard, and add new Instagram gallery, then go to widgets, add Instagram Gallery Widget and select the Gallery item from the dropdown list.
65
66
= Why there are two popups on image click? =
67
68
There may be some other plugins(like: fancybox, elementor) which also uses image links to open popup. Try to disable popup images option in the setting panel of this plugin, which will allow other plugins to work.
69
70
+ == Installation ==
71
72
+ 1. Go to the Plugins Menu in WordPress
73
+ 2. Search for "Instagram Feed Gallery"
74
+ 3. Click "Install"
75
+ 4. Go to Instagram Gallery / Account in your admin dashboard
76
+ 5. Press the "Add new account" button and generate the access token
77
+ 6. Go to Instagram Gallery / Feeds and press the "Add new gallery" button
78
+ 7. Configure your Instagram Gallery
79
+ 8. Press "Update" button and then copy & paste your shortcode
80
81
== Screenshots ==
82
83
+ 1. Instagram Gallery PRO / Account
84
+ 2. Instagram Gallery PRO / Feeds
85
+ 3. Instagram Gallery PRO / Feeds / Layouts
86
+ 4. Instagram Gallery PRO / Load more button
87
+ 5. Instagram Gallery PRO / Masonry layout
88
89
== Changelog ==
90
91
+ = 2.4.4 =
92
+ * Improvement. Instagram Feed Gallery bad spelling
93
+ * Improvement. Instagram Feed Gallery demo url
94
+
95
= 2.4.3 =
96
+ * Fix. Instagram Feed Gallery renamed
97
98
= 2.4.2 =
99
* Improvement. Instagram Token validation alerts