Instagram Feed - Version 1.1.2

Version Description

  • Fix: Fixed an issue with the maximum image width
  • Fix: Corrected a typo in the Shortcode Options table
Download this release

Release Info

Developer smashballoon
Plugin Icon 128x128 Instagram Feed
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

README.txt CHANGED
@@ -3,7 +3,7 @@ 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.1.1
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
@@ -74,6 +74,15 @@ You can also display photos from other peoples Instagram accounts. To find their
74
75
Nope. The Access Token used in the plugin is a "read only" token, which means that it could never be used maliciously to manipulate your Instagram account.
76
77
= What are the available shortcode options that I can use to customize my Instagram feed? =
78
79
The below options are available on the Instagram Feed Settings page but can also be used directly in the `[instagram-feed]` shortcode to customize individual Instagram feeds on a feed-by-feed basis.
@@ -102,6 +111,10 @@ The below options are available on the Instagram Feed Settings page but can also
102
103
== Changelog ==
104
105
= 1.1.1 =
106
* Pre-tested for the upcoming WordPress 4.0 update
107
* Fix: Fixed an uncommon issue related to the output of the Instagram content
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.1.2
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
74
75
Nope. The Access Token used in the plugin is a "read only" token, which means that it could never be used maliciously to manipulate your Instagram account.
76
77
+ = My Instagram feed isn't display. Why not!? =
78
+
79
+ There are 2 common reasons for this:
80
+
81
+ * Your Instagram account is set to private. Instagram doesn't allow photos from private Instagram accounts to be displayed publicly.
82
+ * Your website contains a JavaScript error which is preventing JavaScript from running. The plugin uses JavaScript to load the Instagram photos into your page and so needs JavaScript to be running in order to work. You would need to remove any existing JavaScript errors on your website for the plugin to be able to load in your feed.
83
+
84
+ If you're still having an issue displaying your feed then please open a ticket in the [Support forum](http://wordpress.org/support/plugin/instagram-feed 'Instagram Feed Support Forum') with a link to the page where you're trying to display the feed and, if possible, a link to your Instagram account.
85
+
86
= What are the available shortcode options that I can use to customize my Instagram feed? =
87
88
The below options are available on the Instagram Feed Settings page but can also be used directly in the `[instagram-feed]` shortcode to customize individual Instagram feeds on a feed-by-feed basis.
111
112
== Changelog ==
113
114
+ = 1.1.2 =
115
+ * Fix: Fixed an issue with the maximum image width
116
+ * Fix: Corrected a typo in the Shortcode Options table
117
+
118
= 1.1.1 =
119
* Pre-tested for the upcoming WordPress 4.0 update
120
* Fix: Fixed an uncommon issue related to the output of the Instagram content
css/sb-instagram.css CHANGED
@@ -50,6 +50,7 @@
50
float: left;
51
padding: 0 !important;
52
margin: 0 !important;
53
}
54
55
/* Cols */
50
float: left;
51
padding: 0 !important;
52
margin: 0 !important;
53
+ max-width: 100%;
54
}
55
56
/* Cols */
instagram-feed-admin.php CHANGED
@@ -323,7 +323,7 @@ function sb_instagram_settings_page() {
323
<tr>
324
<td>imagepaddingunit</td>
325
<td>The unit of the padding. 'px' or '%'</td>
326
- <td><code>[instagram-feed imagepadding=px]</code></td>
327
</tr>
328
<tr>
329
<td>background</td>
323
<tr>
324
<td>imagepaddingunit</td>
325
<td>The unit of the padding. 'px' or '%'</td>
326
+ <td><code>[instagram-feed imagepaddingunit=px]</code></td>
327
</tr>
328
<tr>
329
<td>background</td>
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.1.1
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
@@ -120,7 +120,7 @@ function display_instagram($atts, $content = null) {
120
//Enqueue stylesheet
121
add_action( 'wp_enqueue_scripts', 'sb_instagram_styles_enqueue' );
122
function sb_instagram_styles_enqueue() {
123
- wp_register_style( 'sb_instagram_styles', plugins_url('css/sb-instagram.css', __FILE__) );
124
wp_enqueue_style( 'sb_instagram_styles' );
125
}
126
@@ -128,7 +128,7 @@ function sb_instagram_styles_enqueue() {
128
add_action( 'wp_enqueue_scripts', 'sb_instagram_scripts_enqueue' );
129
function sb_instagram_scripts_enqueue() {
130
//Register the script to make it available
131
- wp_register_script( 'sb_instagram_scripts', plugins_url( '/js/sb-instagram.js?1' , __FILE__ ), array('jquery'), '1.8', true );
132
133
//Options to pass to JS file
134
$sb_instagram_settings = get_option('sb_instagram_settings');
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.1.2
7
Author: Smash Balloon
8
Author URI: http://smashballoon.com/
9
License: GPLv2 or later
120
//Enqueue stylesheet
121
add_action( 'wp_enqueue_scripts', 'sb_instagram_styles_enqueue' );
122
function sb_instagram_styles_enqueue() {
123
+ wp_register_style( 'sb_instagram_styles', plugins_url('css/sb-instagram.css?1', __FILE__) );
124
wp_enqueue_style( 'sb_instagram_styles' );
125
}
126
128
add_action( 'wp_enqueue_scripts', 'sb_instagram_scripts_enqueue' );
129
function sb_instagram_scripts_enqueue() {
130
//Register the script to make it available
131
+ wp_register_script( 'sb_instagram_scripts', plugins_url( '/js/sb-instagram.js?2' , __FILE__ ), array('jquery'), '1.8', true );
132
133
//Options to pass to JS file
134
$sb_instagram_settings = get_option('sb_instagram_settings');