Instagram Feed - Version 1.1.5

Version Description

  • Fix: Added a line of code which enables shortcodes to be used in widgets for themes which don't have it enabled
Download this release

Release Info

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

Code changes from version 1.1.4 to 1.1.5

Files changed (2) hide show
  1. README.txt +8 -1
  2. instagram-feed.php +4 -1
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.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -83,6 +83,10 @@ There are 2 common reasons for this:
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,6 +115,9 @@ The below options are available on the Instagram Feed Settings page but can also
111
 
112
  == Changelog ==
113
 
 
 
 
114
  = 1.1.4 =
115
  * Fix: Fixed an issue with the Access Token and User ID retrieval functionality in certain web browsers
116
 
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.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
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
+ = How do I embed my Instagram Feed directly into a WordPress page template? =
87
+
88
+ You can embed your Instagram feed directly into a template file by using the WordPress [do_shortcode](http://codex.wordpress.org/Function_Reference/do_shortcode) function: `<?php echo do_shortcode('[instagram-feed]'); ?>`.
89
+
90
  = What are the available shortcode options that I can use to customize my Instagram feed? =
91
 
92
  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.
115
 
116
  == Changelog ==
117
 
118
+ = 1.1.5 =
119
+ * Fix: Added a line of code which enables shortcodes to be used in widgets for themes which don't have it enabled
120
+
121
  = 1.1.4 =
122
  * Fix: Fixed an issue with the Access Token and User ID retrieval functionality in certain web browsers
123
 
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.4
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  License: GPLv2 or later
@@ -117,6 +117,9 @@ function display_instagram($atts, $content = null) {
117
 
118
  #############################
119
 
 
 
 
120
  //Enqueue stylesheet
121
  add_action( 'wp_enqueue_scripts', 'sb_instagram_styles_enqueue' );
122
  function sb_instagram_styles_enqueue() {
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.5
7
  Author: Smash Balloon
8
  Author URI: http://smashballoon.com/
9
  License: GPLv2 or later
117
 
118
  #############################
119
 
120
+ //Allows shortcodes in theme
121
+ add_filter('widget_text', 'do_shortcode');
122
+
123
  //Enqueue stylesheet
124
  add_action( 'wp_enqueue_scripts', 'sb_instagram_styles_enqueue' );
125
  function sb_instagram_styles_enqueue() {