Version Description
- Tweak: Added an initialize function to the plugin
- Fix: Fixed an occasional issue with the 'Sort Photos By' option being undefined
Download this release
Release Info
Developer | smashballoon |
Plugin | Instagram Feed |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.3 to 1.2.2
- README.txt +2 -5
- instagram-feed-admin.php +7 -7
- instagram-feed.php +1 -1
- js/sb-instagram.js +1 -1
README.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: smashballoon
|
3 |
Tags: Instagram, Instagram feed, Instagram photos, Instagram plugin, Instagram stream, Custom Instagram Feed, responsive Instagram, mobile Instagram, Instagram posts, Instagram wall, Instagram account
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 4.0
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -126,9 +126,6 @@ For more shortcode options, check out the [Pro version](http://smashballoon.com/
|
|
126 |
4. The Instagram Settings page. Super simple to set up and customize.
|
127 |
|
128 |
== Changelog ==
|
129 |
-
= 1.2.3 =
|
130 |
-
* Fix: Replaced the 'on' function with the 'click' function to increase compatibility with themes using older versions of jQuery
|
131 |
-
|
132 |
= 1.2.2 =
|
133 |
* Tweak: Added an initialize function to the plugin
|
134 |
* Fix: Fixed an occasional issue with the 'Sort Photos By' option being undefined
|
2 |
Contributors: smashballoon
|
3 |
Tags: Instagram, Instagram feed, Instagram photos, Instagram plugin, Instagram stream, Custom Instagram Feed, responsive Instagram, mobile Instagram, Instagram posts, Instagram wall, Instagram account
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 4.0.1
|
6 |
+
Stable tag: 1.2.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
126 |
4. The Instagram Settings page. Super simple to set up and customize.
|
127 |
|
128 |
== Changelog ==
|
|
|
|
|
|
|
129 |
= 1.2.2 =
|
130 |
* Tweak: Added an initialize function to the plugin
|
131 |
* Fix: Fixed an occasional issue with the 'Sort Photos By' option being undefined
|
instagram-feed-admin.php
CHANGED
@@ -167,7 +167,7 @@ function sb_instagram_settings_page() {
|
|
167 |
<td>
|
168 |
<input name="sb_instagram_at" id="sb_instagram_at" type="text" value="<?php esc_attr_e( $sb_instagram_at ); ?>" size="50" />
|
169 |
<a class="sbi_tooltip_link" href="JavaScript:void(0);"><?php _e("What is this?"); ?></a>
|
170 |
-
<p class="sbi_tooltip"><?php _e("In order to display your photos you need an Access Token from Instagram. To get yours, simply click the button above and log into Instagram. You can also use the button on <a href='
|
171 |
</td>
|
172 |
</tr>
|
173 |
|
@@ -189,7 +189,7 @@ function sb_instagram_settings_page() {
|
|
189 |
<input disabled type="radio" name="sb_instagram_type" id="sb_instagram_type_hashtag" value="hashtag" <?php if($sb_instagram_type == "hashtag") echo "checked"; ?> />
|
190 |
<label class="sbi_radio_label" for="sb_instagram_type_hashtag">Hashtag:</label>
|
191 |
<input readonly type="text" size="25" />
|
192 |
-
<a class="sbi_tooltip_link sbi_pro" href="JavaScript:void(0);"><?php _e("What is this?"); ?></a><span class="sbi_note"><a href="
|
193 |
<p class="sbi_tooltip"><?php _e("Display posts from a specific hashtag instead of from a user"); ?></p>
|
194 |
</span>
|
195 |
|
@@ -279,7 +279,7 @@ function sb_instagram_settings_page() {
|
|
279 |
<th scope="row"><label><?php _e("Enable Pop-up Lightbox"); ?></label></th>
|
280 |
<td>
|
281 |
<input disabled type="checkbox" />
|
282 |
-
<span class="sbi_note"><a href="
|
283 |
</td>
|
284 |
</tr>
|
285 |
<tr valign="top">
|
@@ -363,16 +363,16 @@ function sb_instagram_settings_page() {
|
|
363 |
|
364 |
<hr />
|
365 |
<h3><?php _e("Caption"); ?></h3>
|
366 |
-
<p style="padding-bottom: 18px;"><a href="
|
367 |
|
368 |
<hr />
|
369 |
<h3><?php _e("Likes & Comments"); ?></h3>
|
370 |
-
<p style="padding-bottom: 18px;"><a href="
|
371 |
|
372 |
|
373 |
<hr />
|
374 |
<h3><?php _e('Translate / Custom Text'); ?></h3>
|
375 |
-
<p style="padding-bottom: 18px;"><a href="
|
376 |
|
377 |
|
378 |
<hr />
|
@@ -585,7 +585,7 @@ function sb_instagram_settings_page() {
|
|
585 |
|
586 |
<hr />
|
587 |
|
588 |
-
<a href="
|
589 |
<img src="<?php echo plugins_url( 'img/instagram-pro-promo.png' , __FILE__ ) ?>" alt="Instagram Feed Pro">
|
590 |
</a>
|
591 |
|
167 |
<td>
|
168 |
<input name="sb_instagram_at" id="sb_instagram_at" type="text" value="<?php esc_attr_e( $sb_instagram_at ); ?>" size="50" />
|
169 |
<a class="sbi_tooltip_link" href="JavaScript:void(0);"><?php _e("What is this?"); ?></a>
|
170 |
+
<p class="sbi_tooltip"><?php _e("In order to display your photos you need an Access Token from Instagram. To get yours, simply click the button above and log into Instagram. You can also use the button on <a href='http://smashballoon.com/instagram-feed/token/' target='_blank'>this page</a>."); ?></p>
|
171 |
</td>
|
172 |
</tr>
|
173 |
|
189 |
<input disabled type="radio" name="sb_instagram_type" id="sb_instagram_type_hashtag" value="hashtag" <?php if($sb_instagram_type == "hashtag") echo "checked"; ?> />
|
190 |
<label class="sbi_radio_label" for="sb_instagram_type_hashtag">Hashtag:</label>
|
191 |
<input readonly type="text" size="25" />
|
192 |
+
<a class="sbi_tooltip_link sbi_pro" href="JavaScript:void(0);"><?php _e("What is this?"); ?></a><span class="sbi_note"><a href="http://smashballoon.com/instagram-feed/" target="_blank">- Upgrade to Pro to show posts by Hashtag</a></span>
|
193 |
<p class="sbi_tooltip"><?php _e("Display posts from a specific hashtag instead of from a user"); ?></p>
|
194 |
</span>
|
195 |
|
279 |
<th scope="row"><label><?php _e("Enable Pop-up Lightbox"); ?></label></th>
|
280 |
<td>
|
281 |
<input disabled type="checkbox" />
|
282 |
+
<span class="sbi_note"><a href="http://smashballoon.com/instagram-feed/" target="_blank"><?php _e('Upgrade to Pro to enable the Pop-up Lightbox.'); ?></a></span>
|
283 |
</td>
|
284 |
</tr>
|
285 |
<tr valign="top">
|
363 |
|
364 |
<hr />
|
365 |
<h3><?php _e("Caption"); ?></h3>
|
366 |
+
<p style="padding-bottom: 18px;"><a href="http://smashballoon.com/instagram-feed/" target="_blank">Upgrade to Pro to enable Photo Captions</a></p>
|
367 |
|
368 |
<hr />
|
369 |
<h3><?php _e("Likes & Comments"); ?></h3>
|
370 |
+
<p style="padding-bottom: 18px;"><a href="http://smashballoon.com/instagram-feed/" target="_blank">Upgrade to Pro to enable Likes & Comments</a></p>
|
371 |
|
372 |
|
373 |
<hr />
|
374 |
<h3><?php _e('Translate / Custom Text'); ?></h3>
|
375 |
+
<p style="padding-bottom: 18px;"><a href="http://smashballoon.com/instagram-feed/" target="_blank">Upgrade to Pro to enable Custom Text</a></p>
|
376 |
|
377 |
|
378 |
<hr />
|
585 |
|
586 |
<hr />
|
587 |
|
588 |
+
<a href="http://smashballoon.com/instagram-feed/demo" target="_blank" style="display: block; margin: 20px 0 0 0;">
|
589 |
<img src="<?php echo plugins_url( 'img/instagram-pro-promo.png' , __FILE__ ) ?>" alt="Instagram Feed Pro">
|
590 |
</a>
|
591 |
|
instagram-feed.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Instagram Feed
|
4 |
Plugin URI: http://smashballoon.com/instagram-feed
|
5 |
Description: Add a simple customizable Instagram feed to your website
|
6 |
-
Version: 1.2.
|
7 |
Author: Smash Balloon
|
8 |
Author URI: http://smashballoon.com/
|
9 |
License: GPLv2 or later
|
3 |
Plugin Name: Instagram Feed
|
4 |
Plugin URI: http://smashballoon.com/instagram-feed
|
5 |
Description: Add a simple customizable Instagram feed to your website
|
6 |
+
Version: 1.2.2
|
7 |
Author: Smash Balloon
|
8 |
Author URI: http://smashballoon.com/
|
9 |
License: GPLv2 or later
|
js/sb-instagram.js
CHANGED
@@ -66,7 +66,7 @@
|
|
66 |
}
|
67 |
});
|
68 |
|
69 |
-
$loadBtn.find('a').click
|
70 |
userFeed.next();
|
71 |
});
|
72 |
|
66 |
}
|
67 |
});
|
68 |
|
69 |
+
$loadBtn.find('a').on("click", function() {
|
70 |
userFeed.next();
|
71 |
});
|
72 |
|